summaryrefslogtreecommitdiffstats
path: root/sys/mips
Commit message (Collapse)AuthorAgeFilesLines
* It appears that none of the contents of this file are necessary, soimp2009-02-151-101/+1
| | | | replace the amd64-ish version with a blank version.
* Remove stray __P()imp2009-02-151-1/+1
|
* Rewrite get_pv_entry() to match expectations of the rest of theimp2009-02-121-11/+78
| | | | | | | | | | kernel. Rather than just kick off the page daemon, we actively retire more mappings. The inner loop now looks a lot like the inner loop of pmap_remove_all. Also, get_pv_entry can't return NULL now, so remove panic if it did. Reviewed by: alc@
* pmap_kenrel() was recently deleted from pmap.h. It was still usedimp2009-02-121-2/+2
| | | | | here, but inconsistently. Change all instances of it to kernel_pmap to match rest of code.
* Eliminate an unused definition.alc2009-02-101-1/+0
|
* - Fix in_cksum for big-endian MIPS: use correct compile-time check.gonzo2009-02-081-1/+1
|
* Retire NO_DMA completely.imp2009-02-081-7/+0
|
* Eliminate the PMAP_INLINE macro. It isn't really used here. If weimp2009-01-161-8/+2
| | | | need to bring it back, we can.
* Remove unused variable.imp2009-01-161-14/+4
| | | | Minor style nits.
* - pmap_track_modified was retired in r178606. Reintroducing it was a mistake.gonzo2009-01-151-21/+1
| | | | Spotted by: alc@
* Reduce diffs to p4 that were the result of a mismerge on my part.imp2009-01-151-2/+5
|
* MFp4:gonzo2009-01-152-19/+37
| | | | | | | | | - Add debug output - Fix pmap_zero_page and related places: use uncached segments and invalidate cache after zeroing memory. - Do not test for modified bit if it's not neccessary (merged from mips-juniper p4 branch) - Some #includes reorganization
* MFp4:imp2009-01-151-7/+2
| | | | | Remove Maxmem. It isn't used elsewhere in the system at this point... realmem is used instead.
* Call platform_reset() instead of looping forever on reboot.imp2009-01-151-3/+3
| | | | | # We likely need to have a default one of these that jumps to the rom boot # address that's defined in the MIPS ISA.
* Reverse order of dumpsys and cpu_idle_wakeup to reduce diffs to p4.imp2009-01-151-6/+6
|
* MFp4:imp2009-01-151-117/+0
| | | | Remove #if'd 0 code. It is interfering with other diffs.
* o Code cleanup, remove unused fields of idtpci_softcgonzo2009-01-141-7/+0
|
* o Simplify code: trade 15 lines of case for one multiplicationgonzo2009-01-141-15/+1
|
* o Make debug output conditionalgonzo2009-01-141-6/+12
|
* o NO_DMA is no longer required as bug with PIIX4 emulation has been fixed in ↵gonzo2009-01-141-2/+0
| | | | GXEmul
* o Move $FreeBSD$ from comment to __FBSDID macrogonzo2009-01-141-1/+5
| | | | | o Be a bit more verbose about CPU type during boot process (print manufacturer, chip info, MMU and cache parameters)
* First pass at 64-bit elf supportimp2008-12-311-0/+117
|
* Make gpart the default partitioning class on all platforms.marcel2008-12-171-2/+2
| | | | | | | Both ia64 and powerpc were using gpart exclusively already so there's no change for those two. Discussed on: arch@
* AT_DEBUG and AT_BRK were OBE like 10 years ago, so retire them.imp2008-12-171-12/+0
| | | | Reviewed by: peter
* Start to clean up the MIPS elf machine dependent file.imp2008-12-161-6/+58
| | | | | | | | o Add support for compiling elf64 for this file (the rest of the changes are coming later) o Fill in some misssing relocation types. We need to support these in elf_machdep.c's relocation routines eventually, but that's future work too.
* Mips never had /usr/libexec/ld-elf.so.1, so remove it. We don't haveimp2008-12-161-16/+0
| | | | any binaries that need it. This was moved before FreeBSD 5.x.
* Remove redundant assignment.imp2008-12-111-3/+0
|
* Switch to ath hal source code. Note this removes the ath_halsam2008-12-012-2/+4
| | | | | | | | | | | | | | | | | module; the ath module now brings in the hal support. Kernel config files are almost backwards compatible; supplying device ath_hal gives you the same chip support that the binary hal did but you must also include options AH_SUPPORT_AR5416 to enable the extended format descriptors used by 11n parts. It is now possible to control the chip support included in a build by specifying exactly which chips are to be supported in the config file; consult ath_hal(4) for information.
* On FreeBSD, printing the version is centralized, so no need to repeatimp2008-11-301-2/+0
| | | | it here. I think that gonzo@ has also made this change to p4.
* Unbreak mips build by taking first WAG at mb(), wmb() and rmb(). Theimp2008-11-291-0/+4
| | | | latter two are likely pessimal...
* Add sv_flags field to struct sysentvec with intention to provide descriptionkib2008-11-221-1/+2
| | | | | | | | of the ABI of the currently executing image. Change some places to test the flags instead of explicit comparing with address of known sysentvec structures to determine ABI features. Discussed with: dchagin, imp, jhb, peter
* Remove cardbus attachment. It likely was a cut-n-paste left over fromimp2008-11-021-1/+0
| | | | | | | whatever template was used to create this driver. It is not necessary, and wouldn't work anyway since (a) this device will never be in a cardbus tin-can and (b) the driver isn't even PCI, but instead a built-in NIC on the IDT RC32434 on its internal bus.
* Add mips/conf/DEFAULTS and populate it with:marcel2008-10-236-13/+13
| | | | | | | | | | | | machine arm device mem device uart_ns8250 options GEOM_BSD options GEOM_MBR Remove the first three from all kernel configuration files (sometimes commented-out) and change geom_bsd and geom_mbr from standard to optional.
* Point this config at the required linker script.bms2008-10-131-0/+2
|
* opt_msgbuf.h is needed for MSGBUF_SIZE overrides, if any.imp2008-10-122-1/+3
| | | | Submitted by: alc@
* Remove critical_enter() and critical_exit(): pmap_growkernel is calledimp2008-10-011-4/+2
| | | | | | | | | with kernel_map->system_mtx held so these aren't needed. Add an assertion to make sure this is the case. Also, fix a minor style(9) nit. Reviewed by: alc@
* Catch up with svn r96606 (cvs rev 1.127 2002/05/14 20:35:29) ofimp2008-09-281-43/+4
| | | | | | | | | | | | sys/param.h and move the MI numbers out of here. Also move the MI defines. Also remove a couple defines not in use (not sure if it is age, or OpenBSD origins for thse). Note the current values that are overrides that appear to be odd in some way. More cleanup could be done here: NBPG appears to be spelled PAGE_SIZE these days. There's new ways to spell PGOFSET and PGSHIFT too, I think. These constants duplicate the MI constants and are sprinkled into the mips code only. Further investigation is needed.
* Remove ipi_all() and ipi_self() as the former hasn't been used atmarius2008-09-282-22/+0
| | | | | | | | | | | all to date and the latter also is only used in ia64 and powerpc code which no longer serves a real purpose after bring-up and just can be removed as well. Note that architectures like sun4u also provide no means of implementing IPI'ing a CPU itself natively in the first place. Suggested by: jhb Reviewed by: arch, grehan, jhb
* Fix comments to relate to FreeBSD's current interrupt blockingimp2008-09-281-3/+2
| | | | functionality, as opposed to the legacy spl means.
* Fix comment about needing to call something from splnet, which doesn'timp2008-09-281-1/+1
| | | | exist in freebsd.
* Remove stale comment. splhigh -> critical_enter transition happendimp2008-09-281-6/+0
| | | | some time ago, and no longer needs special attention.
* Replace all calls to minor() with dev2unit().ed2008-09-271-2/+2
| | | | | | | | | | | | | | | After I removed all the unit2minor()/minor2unit() calls from the kernel yesterday, I realised calling minor() everywhere is quite confusing. Character devices now only have the ability to store a unit number, not a minor number. Remove the confusion by using dev2unit() everywhere. This commit could also be considered as a bug fix. A lot of drivers call minor(), while they should actually be calling dev2unit(). In -CURRENT this isn't a problem, but it turns out we never had any problem reports related to that issue in the past. I suspect not many people connect more than 256 pieces of the same hardware. Reviewed by: kib
* Remove reference to machine/tlb.h. It no longer exists, and isn'timp2008-09-261-1/+0
| | | | needed as this compiles fine w/o it.
* Change the static struct sysentvec and struct Elf_Brandinfo initializerskib2008-09-241-44/+47
| | | | | | | | | | | to the C99 style. At least, it is easier to read sysent definitions that way, and search for the actual instances of sigcode etc. Explicitely initialize sysentvec.sv_maxssiz that was missed in most sysvecs. No objection from: jhb MFC after: 1 month
* The kernel implemented 'memcmp' is an alias for 'bcmp'. However, memcmpobrien2008-09-231-2/+0
| | | | | | | | | | | and bcmp are not the same thing. 'man bcmp' states that the return is "non-zero" if the two byte strings are not identical. Where as, 'man memcmp' states that the return is the "difference between the first two differing bytes (treated as unsigned char values" if the two byte strings are not identical. So provide a proper memcmp(9), but it is a C implementation not a tuned assembly implementation. Therefore bcmp(9) should be preferred over memcmp(9).
* MFp4: Merge interrupt code from p4imp2008-09-192-37/+15
| | | | Submitted by: gonzo@
* MFp4: Update the interrupt code from perforce.imp2008-09-192-52/+11
| | | | Submitted by: gonzo@
* Merge from p4: add bpfimp2008-09-191-0/+2
|
* Catch up with intr_event_create() API changes.obrien2008-09-181-2/+2
|
* Catch up with intr_event_create() API changes.obrien2008-09-181-1/+1
|
OpenPOWER on IntegriCloud