summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
AgeCommit message (Collapse)Author
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-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-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-21Put a valid VID signature in the disklabel, as does mvme68k.Miod Vallat
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-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-17There is no need to assume that the compiler will swap ! and & operatorMiod Vallat
priorities because we are nice people.
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-08-13Always force a pipeline flush after a PSR change, not before. How couldMiod Vallat
this have ever worked?
2003-08-12Get rid of unused code, and KNF/ELF-sanitize the remaining code.Miod Vallat
2003-08-12Use spltty() instead of rolling our own expanded version.Miod Vallat
2003-08-12The idle loop is supposed to run with interrupts enabled, and will onlyMiod Vallat
relax the interrupt mask (i.e. spl level). However, under some unclear circumstances, it will be entered with interrupts disabled, and thus will loop forever if no process is runnable. Check the PSR and make sure that interrupts are enabled in this case. This gets rid of the random freezes, although a better fix would be preferrable...
2003-08-11Sprinkle proper use of _C_LABEL and _ASM_LABEL in the .S files (except forMiod Vallat
the _fp.S which are too scary at the moment). This will be necessary to move to ELF in the future. Use local symbols whenever possible. Attempt to use delayed branches whenever possible. Remove stupid or straightforward comments, some hardcoded values, and a few unused variables or routines.
2003-08-11Saving or restoring the process' registers to/from the pcb was usingMiod Vallat
double load/store instructions, for speed; however, these only work if the pcb structure is also 8 bytes aligned... which is not necessarily true. In this case, the lossage was compensated by the data access exception handler, which means that for every unlucky pcb operation, the kernel was happily generating a dozen of exceptions in a row... Stop the madness and change this to regular load/store operations.
2003-08-10Do not make NBPG visible in assym.hMiod Vallat
2003-08-10No need to bring <machine/psl.h> from <machine/param.h>, this adds unnecessaryMiod Vallat
pollution. Makes warnings in binutils compilation disappear...
2003-08-09New RAMDISK configuration, inspired by the mvme68k one; and the associatedMiod Vallat
fixes to get the kernel to compile without option DDB and without option DIAGNOSTIC.
2003-08-09Always install the installboot manual page.Miod Vallat
2003-08-08Fix harmless address computation buglet in pmap_collect().Miod Vallat
2003-08-08Slightly clean up cpu_fork().Miod Vallat
2003-08-07In sendsig() and sigreturn(), use the SS_xxx flags rather than the SA_xxxMiod Vallat
flags (purely cosmetic, as they have the same value). Also some minor indentation/KNF repairs.
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-08-03Resistance is futile, you will be KNF'ed.Miod Vallat
And then it will be easier to debug this mess (no functional change yet).
2003-08-01The pmap potpourri du jour, while hunting for evil bugs:Miod Vallat
- provide a simpler flush_atc_entry() in the NCPUS == 1 case - remove some can't happen tests in pmap_protect() - handle pool_get failure and PMAP_CANFAIL correctly in pmap_enter() - don't forget to initialize pv_flags in new pv_entry items - de-cretinize pmap_testbit() and pmap_page_protect()
2003-08-01Nuke uvm_useracc() call here too.Miod Vallat
2003-08-01pmap_kremove was so broken I'd rather pretend I did not write it...Miod Vallat
2003-08-01No semicolon at the end of macros supposed to be atomic statements.Miod Vallat
2003-08-01Compensate for the assym.h lossage, which defines NBPG for now (this will beMiod Vallat
cleaned up soon...)
2003-08-01Do not use hardcoded values for constants which are in fact computed from otherMiod Vallat
constants.
2003-08-01Turn flush_pipeline() in a simple macro.Miod Vallat
2003-08-01Define a more reasonable label_t size.Miod Vallat
2003-08-01Even better varargs code, inspired by and more closer to the powerpc code,Miod Vallat
necessary for proper gcc 2.95 operation.
2003-08-01Fix pcctwo locator typosMiod Vallat
2003-08-01${LIBGCC} is useless, since libgcc.a does not live in /usr/lib; instead,Miod Vallat
use gcc to get the correct location.
2003-08-01Fix the *longjmp() behaviour - it is legal to reuse a jmp_buf several times.Miod Vallat
Gets us a working perl 5.8.
2003-07-22Fix .depend generation for assym.h. Resolves PR 1154.Otto Moerbeek
ok deraadt@
2003-06-06- section reorderJason McIntyre
- new sentence, new line - some macro fixes
2003-06-04mop up some more 3/4 license issuesTheo de Raadt
2003-06-04more term 3 & 4 from various developers, with permission of courseTheo de Raadt
2003-06-04more term 3 and 4 changesTheo de Raadt
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02Relax licence by removing the 3rd clause on all files whereI was stillMiod Vallat
using a 3 clause licence.
2003-06-02snprintf here too.Miod Vallat