summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2003-09-02There is a weird problems related to interrupts - we need to enable them tooMiod Vallat
early for the console to be reliable, so revert to the bug console for boot -a.
2003-09-02Revert the last change since both Pentium 4 and Mobile Pentium 4Alexander Yurchenko
can be with model = 2. Better cpu ident will be after 3.4. Problem noted by Wouter Clarie <rimshot@pandora.be>. ok deraadt@
2003-09-02just like mvme68k; miod okTheo de Raadt
2003-09-02Our extent implementation relies on the fact that extents all have distinctMiod Vallat
names. However, the tsp code uses one global extent, which both device instances want to reinitialize and use for themselves (whether this is a genuine bug or not is left to the reader). Solve the problem by putting the extents into the tsp softc, and change the pci_bwx_bus code to handle variable extent names. This makes DS20 systems with tsp0 and tsp1 work again. ok deraadt@
2003-09-02zap more driversTheo de Raadt
2003-09-02Cleanup and simplify data and instruction fault trap handling for 88100.Miod Vallat
2003-09-01The most harmful bugs are always so blatant it takes hours to spot them...Miod Vallat
Correctly setup the vector table for T_SIGSYS and T_SIGTRAP traps, and handle T_SIGSYS userland traps. This passes a complete usertrap regression test now.
2003-09-01Be sure to always provide a nonzero number in PREP() and PREP2() for softwareMiod Vallat
traps not tied to a particular vector, in order to correctly process data access faults whenever necessary, before servicing the trap.
2003-09-01Prevent userland from invoking BUG system calls, by saving the initial BUGMiod Vallat
trap vector contents, putting the bugtrap() stub in place, and switching back and forth between them when the kernel needs to invoke BUG functions.
2003-09-01Do not let userland programs enter DDB at will - it's a BAD thing.Miod Vallat
Also, fix a logic error in m88100_syscall() which prevented ERESTART and EJUSTRETURN to be returned (gasp!)
2003-09-01Correctly map the message buffer.Miod Vallat
2003-09-01remove unused sc_echobug code; ok fgs, mickeyMarkus Friedl
2003-08-31Upon returning from m18*_ext_int(), do not invoke data_access_emulation()Miod Vallat
if trap(T_DATAFLT) has been able to correct the issue. This is, in fact, really a can't-happen situation, anyways.
2003-08-31pdc_model needs to be visible from cpu.cMiod Vallat
2003-08-30Compile kernels with -mno-check-zero-division. Saves two pages, and thingsMiod Vallat
will go wrong anyway, should the kernel divide by zero...
2003-08-28from NetBSD via Tim Weiss, tim at zetaflops dot net: deal with FS block ↵Jason Wright
sizes larger than 8K testing: krw
2003-08-28b180 wink-winkMichael Shalayeff
2003-08-27Enable 'Snag' boot on newer Apple machines.Dale Rahn
2003-08-26fix for dinode rename, this broke the forth bootblock.s ok jason@ tedu@Dale Rahn
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
way for some future work. no function changes yet. help testing otto@ and markus@
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
way for some future work. no function changes yet. help testing otto@ and markus@
2003-08-23unifiy with mvme88kTheo de Raadt
2003-08-23unify with mvme88k; miod okTheo de Raadt
2003-08-22regenMichael Shalayeff
2003-08-22rework cpu identificationMichael Shalayeff
2003-08-22To workaround an early 88100 models problem, gcc explicitely adds checks forMiod Vallat
division by zero in the generated code, and will trap to vector #503 in this case. Make sure that this vector gets handled as the regular divide-by-zero vector.
2003-08-21Bounds checking, prevents ioctls to non-existing dart devices from panic'ingMiod Vallat
the kernel; fixes a ttyflags botch reported by Luke Th. Bullock
2003-08-21Be less verbose in the MVME187 probe, as its CMMU configuration is knownMiod Vallat
2003-08-21Use constants rather than hardcoded values for IPL levels.Miod Vallat
2003-08-21De-obfuscate get_target().Miod Vallat
2003-08-21These files were intended for X11 support, but serve no purpose nowadays,Miod Vallat
as sparc* do not use Xsun-compatible event interface anymore, and alpha only used this for Xtga which we do not ship anymore. Discussed long ago with matthieu@
2003-08-21better guess on dual-card (not dual-head cards) rom adress guessing; miod@ ↵Michael Shalayeff
testing
2003-08-21Put a valid VID signature in the disklabel, as does mvme68k.Miod Vallat
2003-08-21regenMichael Shalayeff
2003-08-21a bunch of better descriptions and missing board names from weissmanndudeMichael Shalayeff
2003-08-21fix symbol name error in mcount functionality in a.out->ELF transition.Dale Rahn
This changes the real definition to __mcount, but with a weak mcount for compat. On the next major bump the weak alias should be removed. Without this diff the compiler symbol mcount conflicts with the user mcount() function.
2003-08-20regenMichael Shalayeff
2003-08-20be consistant w/ machdep.c on cpu names as suggested by paul weissmannMichael Shalayeff
2003-08-20devise the power reg address as hpa for the power device and thus avoid ↵Michael Shalayeff
manual offset printing. add some code for interrupt-driven power-fail
2003-08-20support systems where power service is available from pdc and implement a ↵Michael Shalayeff
cold hook as well thus do not powerleash lasi should we have cold_hook already set
2003-08-20allow powerless kernelsMichael Shalayeff
2003-08-20do not attach coms at harmony but gsc now; commented out siop@mainbusMichael Shalayeff
2003-08-20handle power button (on 712 for now)Michael Shalayeff
2003-08-20A bunch of 88110 band-aid:Miod Vallat
- the 88410 handling code is not working correctly. Check whether we are operating with 88410's, and only invoke these routines if necessary. - force serial mode execution in the PSR for the moment (hopefully only temporary) - disable branch prediction and data matching in the PSR, the 88110 errata is simply too scary about them. - a better pipeline flush after changing the ictl control register. These changes let 197LE (but not 197SP/DP) boot up to autoconf. Userland process do not work at the moment.
2003-08-20print hv for unconfigured devices as wellMichael Shalayeff
2003-08-20No need to build installboot and the bootblocks at -O0 anymore.Miod Vallat
2003-08-20Fix the write status test for the 88110 kluge in m88k_protection() [oops]Miod Vallat
2003-08-20Revert the flust_atc_entry() shortcut if NCPUS == 1 - it will not work onMiod Vallat
multiprocessor boards where the master cpu is not the first one.
2003-08-20regenMichael Shalayeff
2003-08-20tornado is really a 7200/pcxt'; from weissmanndudeMichael Shalayeff