summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
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-15bitneaks anonymous randomisationMichael Shalayeff
2003-08-14better comment on the new comsMichael Shalayeff
2003-08-14attach those funky teleshare ttysMichael Shalayeff
2003-08-14attach at teleshare serial ports as well. need dsp microcode for a ↵Michael Shalayeff
functional mudem now
2003-08-14GENERIC is now safe(4)Jason Wright
2003-08-14partial proto repairsTheo de Raadt
2003-08-14add uhci based on suggestion from loki at niteshade dot netJason Wright
2003-08-13Always force a pipeline flush after a PSR change, not before. How couldMiod Vallat
this have ever worked?
2003-08-12add safe(4). Works well enough for testing at least.Jason Wright
2003-08-12add acphyMichael Shalayeff
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-11move to 3.4-betaTheo de Raadt
2003-08-11during probe there is no need to map the whole hpa space. only rom is ↵Michael Shalayeff
needed. also do not map too much of rom
2003-08-11a few strict protosMichael Shalayeff
2003-08-11better cleaningTheo de Raadt
2003-08-11ansification and knf and protosTheo de Raadt
2003-08-11wax mongooseMichael Shalayeff
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-10ansiTheo de Raadt
2003-08-10clean leftoversTheo de Raadt
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-10Define wint_t on powerpc.Miod Vallat
2003-08-10Do not trust and use uvm_useracc, but rather always check copy{in,out} forMiod Vallat
failure and act appropriately.
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-08remove scsi/raid drivers not needed on laptop floppyTheo de Raadt
2003-08-08wb no longer fitsTheo de Raadt
2003-08-08Slightly clean up cpu_fork().Miod Vallat
2003-08-08let us call COMPAT_UFS deadTheo de Raadt
2003-08-08ansiTheo de Raadt
2003-08-08put COPTS in CFLAGS; idea from miodTheo de Raadt
2003-08-08no pcmcia pccom on this floppy, sorryTheo de Raadt
2003-08-07missed one wrt intr_establishMichael Shalayeff
2003-08-07dead protoMichael Shalayeff
2003-08-07make all intr_establish take the same last arg for nameMichael Shalayeff
2003-08-07first allocate space on stack then copyout signal shits. add a DEBUG check ↵Michael Shalayeff
for a whacky user pc (as impossible due to the recent trap.c change)
2003-08-07be more careful when loading trap_tmp_save and a bit better sigcodeMichael Shalayeff
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-07better dmesg output and do some spaces; markus@ okMichael Shalayeff
2003-08-07Allow nested interrupts in the openpic interrupt controller, tested byDale Rahn
brad@ and miod@
2003-08-07watchdog driver for Geode SC1100 (e.g. in soekris net4801); ok mickey@Markus Friedl
2003-08-07do not treat traps from the syscall gate page as user codeMichael Shalayeff
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-05a180c blinks too, 715/80 supposedly tooMichael Shalayeff