summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2003-09-26Add majors and devsw entries for the missing scsi devices on mvme*8k.Miod Vallat
2003-09-26regenMichael Shalayeff
2003-09-26better mtd comment; from form@Michael Shalayeff
2003-09-26dmamap_syncing the loaded mbufs is whacky trip per physaddrsMichael Shalayeff
2003-09-26typos in tlb stats vars' exportMichael Shalayeff
2003-09-25j2x0 do not like our fiddling over th led port; testing by pb@Michael Shalayeff
2003-09-25some pcxl2 do not report fpus -- assume it's thereMichael Shalayeff
2003-09-25provide a function to enable accel io on pcxl2 and use it on the fbMichael Shalayeff
2003-09-25define pcxl2's mioc regs and devise l2 cache size on pcxl2 from thereMichael Shalayeff
2003-09-25a copule more regs present on pcxl2Michael Shalayeff
2003-09-24Compile after poll changes...Miod Vallat
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-09-22Off-by-ones, from aaron@Miod Vallat
2003-09-20Cleanup uses of intstack and interrupt_stack[] - also makes time % in topMiod Vallat
more realistic.
2003-09-20move the checks after we fixed the hd info.Federico G. Schwindt
from Thorsten Glaser <tg-v2003 at netcologne dot de> via toby@.
2003-09-19In pmap_changebit(), do not flush tlb entries unless really necessary.Miod Vallat
2003-09-19Let boot -b return to debugger before invoking the kernels entry point, likeMiod Vallat
mvme88k does.
2003-09-19- some bios return a valid geometry for inexistent hd's so beforeFederico G. Schwindt
getting the geometry check the number of attached drives from the bios area at 40:75. - bump version. from toby@. we want people to test this, specially those with ghost drives showing up.
2003-09-19add debug info around #41; toby@ ok.Federico G. Schwindt
2003-09-18- move checks earlier to catch inexistent devices before testing for edd.Federico G. Schwindt
- bump version. toby@ ok.
2003-09-18- pass the correct device to bios_getdisklabel().Federico G. Schwindt
- don't blindly return but check whether bios_getdisklabel() failed and act according. this fixes (at some extent) booting from a floppy if it wasn't inserted during floppyprobe(). toby@ ok.
2003-09-17More cleaning of the exception handling code, and collateral damage:Miod Vallat
- always give C routines invoked by the assembly code some breathing room on the stack - merge error and reset exception handlers -- gets us rid of error_fault() and error_reset(). - remove all references to SR0 and "threads" inherited from Mach. In fact, we do not use SR0 at all now. - only use double load and stores instructions when we are 200% sure we are accessing a correctly aligned area. I am not fond of unaligned kernel accesses, and forcing every pgb to be aligned on an 8 byte boundary is gross.
2003-09-16Do not use | !FOO to mention undesirable flags, but rather & ~FOO - hopefullyMiod Vallat
this had no side effects...
2003-09-16Remove unused material from include files, as well as the annoying U() macroMiod Vallat
which is only used to obfuscate things. Doing this points out that the BUG memory is not at the same address on 187 and 197 (the 197 BUG is inside obio), so provide distinct constants, and treat 187 and 197 slightly differently in pmap_bootstrap(). However, we now need to map the 197 flash memory as well... While there, simplify and constify pmap_table_build() and its associated data.
2003-09-16Clean <machine/db_machdep.h> of unused material. Also, let this file beMiod Vallat
includable even without option DDB, in which case it will only define the PC_REGS(), inst_return() and inst_call() macros; this removes the need to declare them a second time in trap.c.
2003-09-16Provide more information about the CPU/CMMU configuration in the dmesgMiod Vallat
output. Also, if the board configuration parameter area is invalid, warn the user and assume safe values - this is likely caused by a dead NVRAM battery.
2003-09-16document extension support bitmap definition; requested by deraadt@.Federico G. Schwindt
toby@ ok.
2003-09-11permit ramdisks to buildTheo de Raadt
2003-09-11support new via c3 AES instruction; written by jasonTheo de Raadt
2003-09-11handle case where bios EDD support only supports a subset; from fgsch,Theo de Raadt
ok toby, and now tested for lots of machines
2003-09-09Remove DDB conditionals and always define T_KDB_*Miod Vallat
2003-09-08match size of fpreg w/ the save87 structs as figured in discussion w/ jason ↵Michael Shalayeff
two months ago and the rediscovered by grange@ and then probably by some more other people in mongolia who had no inet to report it unfortunately; this also fixes problem w/ catching sigsegv after recent bcopy(,,sizeof) fixes; deraadt@ ok
2003-09-08Revert the changes reordering the data access exception processing in theMiod Vallat
context of a regular exception. This was probably a good move, but it eventually causes issues when uptimes grows towards infinity... Of course, diagnosing such an issue at the same time that the disk drive is dying and causes problems on his own, is not exactly easy...
2003-09-07Oops, use the local MVMEPROM_CALL(), rather than the one which used to beMiod Vallat
in <machine/prom.h> -- code in stand/ does not need a specific context to invoke the BUG functions.
2003-09-07The PTE bit used to flag wiring is zeroed behind our back on 88110, soMiod Vallat
switch to another, safe, unused bit. From the MC88110UM via deraadt@
2003-09-07Fix system hangs some i386 machines experienced when booting with theKenneth R Westerback
'-a' option. Closes PR #2122 and #3437. From Thorsten Glaser. ok deraadt@ henning@ weingart@.
2003-09-07Narrow a conditional in non-88110 area...Miod Vallat
2003-09-07Get rid of PREP2's SSBR parameter, since it does not have sense for 88110.Miod Vallat
2003-09-06Fix boot -a, add protected cnpollc(). ok deraadt@Dale Rahn
2003-09-06Large cleaning of exception handling:Miod Vallat
- faster code paths in eh.S, especially for 88110 cpus - do not service data access exceptions more than one time; also, be sure that interrupts are disabled while servicing them. - cleanup the 88110 trap handler in the same way the 88100 flavour has been cleaned recently. This spotted two bugs, which are fixed there as well: - add systrace support to the 88110 syscall code - add emulation support to the 88100 syscall code
2003-09-05Never enable interrupts just before processing data exceptions, but ratherMiod Vallat
afterwards... and only if this is a wise thing to do!
2003-09-05Do not drop the user into DDB without a really, really good reason.Miod Vallat
2003-09-04What I blamed on a specific CMMU fault pecularity turned out to be, in fact,Miod Vallat
a nice bug preventing signals to be delivered to process faulting in some conditions...
2003-09-04a better cpu identification; testing by miodMichael Shalayeff
2003-09-04correct sizeof for bzero/bcopyAnil Madhavapeddy
ok tedu krw fgsch deraadt
2003-09-03I'm walking on very, very thin ice here. Still trying to get the ``special''Miod Vallat
DAE to pass; the first fix was too brutal, the second one too shy; this third one is apparently just in the middle to make everything happy so far...
2003-09-03Use symbolic constants for pbus fault codes.Miod Vallat
2003-09-03Be more cautious in the previous fix - we don't want to skip valid data accessMiod Vallat
exceptions by mistake.
2003-09-02User mode page faults for page zero require special treatment to preventMiod Vallat
a recursive DAE. Scientists say this is proof that there's a ``strange attractor'' in the m88k processors. What is certain, though, is that the processors' documentation contains black holes.
2003-09-02indent audio comment properlyDavid Krause
ok deraadt@