summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-09-21sync with netbsd defines. no functional changes.Federico G. Schwindt
ok markus deraadt
2003-09-21document and declare 64-bit function/macros. ok millert@ deraadt@Federico G. Schwindt
2003-09-21"exp" is a reserved symbol under gcc3/posix. mcbride okJun-ichiro itojun Hagino
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-19Disable USB_USE_SOFTINTR until we have generic support for soft interrupts.Anil Madhavapeddy
Solves a number of hangs on ohci (and possibly uhci) machines. Found by me prodding around, and drahn@ more cluefully ok pvalchev@, nate@
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-19Put in a couple of sanity checks to ensure that the AN_DEFAULT_*Anil Madhavapeddy
variables arent defined too large. itojun@ ok
2003-09-18comment spelling, from jonathon grayTed Unangst
2003-09-18spacing;Jason McIntyre
ok deraadt@
2003-09-18typo in error;Jason McIntyre
from Brian Poole
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-15tree unlock, as we move to 3.4-currentTheo de Raadt
PLEASE NOTE: the tree is unlocking early for developers who were involved in the release process. for other developers the tree is NOT UNLOCKED YET. the following people are unlocked: beck, tdeval, nick, krw, pb, fries, matthieu, marcm, cedric, mdw, drahn, sturm, millert, andreas, markus, jason, avsm, wim, frantzen, fgs, henning, mcbride, hugh, tedu, nate, weingart, canacar, nordin, miod, danh, wilfried, deraadt, itojun, mickey, miod, deraadt Other developers are not unlocked. If I missed anyone, talk to me. Sorry, but our development process is oriented around "hack for 5 months, then do 1 month of release engineering. If a developer hacks for 5 months and then does not show up to help with release engineering, then we take that to mean they are less serious, and can give a bit of pause to the serious developers who now want to get things into the tree post-unlock.
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-09fix potential int overflow found by blexim at hush.com. restrict root toTed Unangst
setting max sems to sane values. ok deraadt@
2003-09-09Remove DDB conditionals and always define T_KDB_*Miod Vallat
2003-09-09CMI can do mu-law encoding, don't use software emulation mode.Kevin Lo
deraadt@, jason@, mickey@ ok
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-08fix pr 3442 - make all AFS ioctl's for XFS come from the xfs/xfs_pioctl.hBob Beck
file from the kernel - this makes the kerberosV/kafs.h file include that, as well as the kafs.h used in afs (hiding in the afs sources). this needs more drastic gutting post release, but at least this now all uses the same ioctl's.
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-07RegenMiod Vallat
2003-09-07No COMPAT_10 SYSVSHM syscalls on sparc64; ok deraadt@Miod Vallat
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-06A couple of hppa-only changes, allowing siop to work on pci hppaKenneth R Westerback
machines. Align siop_xfer on 128 byte boundary, and don't use on-board RAM. Aligning siop_xfer will be made general, post-3.4. From mickey@. ok deraadt@ mickey@.
2003-09-06Add wi_detach, use it in pcmcia so that the shutdownhook is properly removed.Dale Rahn
ok miod@ millert@ deraadt@
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-04remove an unneccessary (and incorrectly sized) bzeroAnil Madhavapeddy
fix suggested by tedu@, ok deraadt@, fgsch@
2003-09-04bzero the full malloced space, not the sizeof the pointerAnil Madhavapeddy
ok tedu fgsch deraadt
2003-09-04correct sizeof for bzero/bcopyAnil Madhavapeddy
ok tedu krw fgsch deraadt