summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2004-09-22Bring some enhancements and fixes to fdc(4) from NetBSD:Miod Vallat
- better state machine, will prevent "eject fd0" with an empty drive to spin. - will not attach fd children to fdc if no floppy drive is present (though the PROM usually finds this for us). - use biowait() in fdformat() instead of rolling our own. - drop 5"1/4 formats table. - cope with non 512 bytes per sector formats.
2004-09-22Bring in libsa code for proper %llx printf display; necessary for /boot.Miod Vallat
ok deraadt@
2004-09-22infrastructure for central, fhc(mainbus/central), and clock@fhcJason Wright
2004-09-22firehose controller driver (not quite working) for the e4500 (and others)Jason Wright
2004-09-22driver for the "central" controller on the E4500 (and others) [fhc and ↵Jason Wright
others to follow]
2004-09-22Add systrace support.Miod Vallat
2004-09-22Remove unused option CPU.Alexander Yurchenko
ok deraadt@
2004-09-22On single SCSI slot O2's the first disk is numbered 2 (the slot number)Per Fogelstrom
by the ARCS Bios. To make the kernel pick up the right sd number offset the slots if the CPU is a R10K or larger. R10K's and up are those with single disk slots. A more correct solution would be to dig down and check the SCSI ID's, but right now this solutions works OK.
2004-09-22Partially revert 1.9, the new mod/ref accounting has issues with mmap().Miod Vallat
2004-09-21change sbus0 to sbus* for consistency, miod@Dale Rahn
2004-09-21Allow for multiple sbus host bridges. eg, on e4500. from jason, ok miodDale Rahn
2004-09-21nswbuf is long dead; also silence debug printf unless option DEBUG.Miod Vallat
2004-09-21trap() should return a 64 bit value now.Miod Vallat
2004-09-21Make RM7K get L3 cache from config reg. cleanupPer Fogelstrom
2004-09-21$OpenBSD$ tagAlexander Yurchenko
2004-09-21/dev/ptm support for sgi.Miod Vallat
2004-09-21Previous commit removed proper caching when growing segmaps by mistake;Miod Vallat
spotted by pefo@
2004-09-21Nuke commons.Miod Vallat
2004-09-20Move <machine/pte.h> to mips64 land.Miod Vallat
2004-09-20addres -> addressMiod Vallat
2004-09-20There was one CF_5_xx constant left in the 52xx code, change it to CF_52_xxMiod Vallat
(purely cosmetic, as these constant share the same values).
2004-09-20// is not valid in asm. doh...Per Fogelstrom
2004-09-20Some cleanups for RM52x0 cpus.Per Fogelstrom
2004-09-20Homogeneize with other platforms' Makefiles; mainly adds the ability toMiod Vallat
compile a kernel with propolice disabled, and only disable the log() and printf() gcc builtins.
2004-09-20splraise can be inlined or not by definePer Fogelstrom
2004-09-20Add support for R10K cpu classPer Fogelstrom
2004-09-20Add support for R10K cpu classPer Fogelstrom
2004-09-20R10K cpu class cache supportPer Fogelstrom
2004-09-19constify speedtabs and make ttspeedtab() take a const struct speedtab *Michael Shalayeff
2004-09-19nop missing in bd slotPer Fogelstrom
2004-09-19do not blindly assume console has been mappedMichael Shalayeff
2004-09-19turn totalphysmem into physmem and name old physmem into smth it really isMichael Shalayeff
2004-09-18hierarchy is spelled hierarchy, from Jonathan GrayTed Unangst
2004-09-18for unconfigured devices also print model numberMichael Shalayeff
2004-09-18use ret0 instead of r28 to match how it's done later in the codeMichael Shalayeff
2004-09-18add puc; ok miodPeter Valchev
2004-09-18do not match on elroy and mercury bridgesMichael Shalayeff
2004-09-18map rodata rdonly in case it gets pushed out of the text batcMichael Shalayeff
2004-09-18fix typo in puc(4) line comment (universial->universal)Peter Valchev
2004-09-18oopsMichael Shalayeff
2004-09-17In vmapbuf(), pass VM_PROT_READ | VM_PROT_WRITE as flags hints too.Miod Vallat
2004-09-17Now that we can check for pmap_extract() failure properly, do so.Miod Vallat
2004-09-17Long-due mips pmap potpourri:Miod Vallat
- un-__P()ee. - remove splimp() protection. - allow pmap_extract() to return FALSE, dammit! XXX some code under arch/mips64 considers pa == 0 as failure, instead of checking the return value of pmap_extract(). Free commits. - do not peek at uvm vm_page flags for ref/mod accounting, but use real MD flags in pv lists, and implement pmap_is_* and pmap_clear_*, so uvm (which knows better) does the right thing. - debug code #ifdef PMAPDEBUG, not #ifdef DIAGNOSTIC. - merge pmap_init() and pmap_pinit(), pmap_destroy() and pmap_release(), and update comments. - better pmap_enter() logic, from NetBSD. - do not use IS_VM_PHYSADDR() to know if we can use PHYS_TO_VM_PAGE() unchecked. Instead, compute PHYS_TO_VM_PAGE(), and check it against NULL. Saves a vm_physseg_find() call each time. - pass vm_page_t to internal function whenever possible, rather than paddr_t, so that PHYS_TO_VM_PAGE() needs not be computed again. - in the same way, do not compute PHYS_TO_KSEG0(foo) several times in a row (though PHYS_TO_KSEG0 is trivial). - allow userspace address to cross 0x80000000 (may be useful in the future). - implement PMAP_CANFAIL. As a bonus: - switch from HAVE_PMAP_PHYSSEG to HAVE_VM_PAGE_MD. - remove dead (pre-pmap_pv_pool) code. - KNF fixes.
2004-09-17Crank MSIZE and NMBCLUSTERS, per other 64bit arches.Miod Vallat
2004-09-17Properly setup register ra in sendsig() in 64bit world.Miod Vallat
2004-09-17Kill an assembler warning.Miod Vallat
2004-09-17Remove option EON from kernel and options(4)Mathieu Sauve-Frankel
ok henning@
2004-09-16Remove remnants of dale's debugled() code, and quiet early boot process more.Miod Vallat
ok drahn@
2004-09-16Correctly read the symbol table pointers passed by the boot code.Miod Vallat
2004-09-16Only one script text is necessary...Miod Vallat