summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2004-02-11Keep using the BUG as the console device until autoconf is over, ratherMiod Vallat
than switching early.
2004-02-11Defining __HAVE_DEVICE_REGISTER and an empty device_register() function isMiod Vallat
just plain silly; remove them. ok drahn@
2004-02-11Remove duplicates with <sys/conf.h>; ok drahn@Miod Vallat
2004-02-11Return ENOTTY on unhandled ioctls; ok drahn@Miod Vallat
2004-02-11permit installboot to at least compile... remove some crudTheo de Raadt
2004-02-10Relocation types, used by ld.soDale Rahn
2004-02-10Check for the device existence in cnprobe() as done in match(), to be sureMiod Vallat
we don't try to attach a phantom console. It seems that some late 187 models do not have cl0 at the expected address...
2004-02-10Fix cnprobe() and cninit() prototypes.Miod Vallat
Also, provide a better test for bugtty attachment.
2004-02-10Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETTodd C. Miller
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many.
2004-02-10Make debug_init void debug_init(void), like nearly all of the otherTom Cosgrove
functions that machdep() calls. ok deraadt@
2004-02-10Enable interrupts before halt when we error out. Allows use ofTom Cosgrove
Ctl-Alt-Del to reboot in case of failure. Much testing nick@; thanks. ok weingart@, deraadt@.
2004-02-09remove debugging printfMichael Shalayeff
2004-02-09repair cpu dmesg print a bitMichael Shalayeff
2004-02-09this is mixed sized eelf nlist version and thus cannot check sizes against ↵Michael Shalayeff
SIZE_T_MAX; deraadt@ ok
2004-02-09init the clock before autoconf start for delay() to be truly usable; i moved ↵Michael Shalayeff
it to after while debugging clocks in the early days
2004-02-09duh. there are two syscall entry points and both have to preserve rdx. also ↵Michael Shalayeff
make sure child process gets 1 in rdx as libc expects
2004-02-09preserve high word of return value like other archs doMichael Shalayeff
2004-02-08for the via c3 use software aes keys, thereby permitting 192 and 256.Theo de Raadt
this also speed things up substantially. ipsec tested by markus
2004-02-08minimum CPPFLAGSTheo de Raadt
2004-02-08ignore RAMDISK_CD tooTheo de Raadt
2004-02-08better one; from mickeyTheo de Raadt
2004-02-08ramdisk; from mickeyTheo de Raadt
2004-02-08correct ramdisk supportTheo de Raadt
2004-02-08restored & repaired wcookie support; kettenis@chello.nlTheo de Raadt
2004-02-07Be sure to flag pte constants as UL, and cope with this in locore.Miod Vallat
ok deraadt@
2004-02-07pass correct argument count to ktrsyscall(); now ktrace & kdump workTheo de Raadt
2004-02-06No SUBDIRs here.Dale Rahn
2004-02-06fix machine/machine_arch, machine_arch should be arm for all arm systemsDale Rahn
and machine needs to be not set by arch/arm, but by cats.
2004-02-06some cpus start to have a NX oriented PGEX_ITheo de Raadt
2004-02-05xlint compatible headers. (non-gcc)Dale Rahn
2004-02-052 new cpuid ecx features in prescottTheo de Raadt
2004-02-05correct size of registers written outTheo de Raadt
2004-02-04Print a warning about disabling TSC.Alexander Yurchenko
ok deraadt@
2004-02-04Pegasos II support, works around new northbridge config odditiesDale Rahn
and other artifacts found on pegII.
2004-02-04support wi@usb on pegasos.Dale Rahn
2004-02-03Make sure option NO_PROPOLICE only adds the -fno-stack-protector option.Miod Vallat
2004-02-03Use the correct type for time_t.Dale Rahn
2004-02-03remove non-CBC modes from the VIA code; it is all that is used at the momentTheo de Raadt
2004-02-03Use the same values on other openbsd 32 bit archs for these for now.Dale Rahn
These agree with the values used by the compiler.
2004-02-03Remove debug print.Dale Rahn
2004-02-03das boot; das cloned das from das i386Michael Shalayeff
2004-02-03move VIA xcrypt-* options to specialreg.hTheo de Raadt
2004-02-02PSL_XCRYPT is 0x40000000Theo de Raadt
2004-02-02I think there is no reason to splhigh around the VIA crypto stuffTheo de Raadt
anymore; also, indicate to userland that it may now safely use the instructions
2004-02-01More work in attempt to get interrupts working reliably:Miod Vallat
- do not update 8259 masks after every modification, but let the code responsible for the changes update it at the most appropriate time. - be sure to correctly acknowledge interrupts on the 8259. - and various cleaning. This still fails when interrupts come too fast, at the moment.
2004-02-01set i386_has_xcrypt at the right place, which exposes itself asTheo de Raadt
sysctl machdep.xcrypt Do not enabled yet..
2004-02-01Use "pushfl; popfl" sequence before each xcrypt-* instruction. AccordingTheo de Raadt
to the manual, any load into the EFLAGS register clears bit 30, resulting in key reload. This is the mechanism that permits multi-process use of the xcrypt-* instruction..
2004-02-01use VIA xstore-rng and xcrypt-* instructions, now that gas groks themTheo de Raadt
2004-02-01via crypto code no longer needs to temporarily enable FSXR -- it isTheo de Raadt
now always on.
2004-02-01Merge many freebsd diffsTheo de Raadt
add VIA c3 crypto instructions add fxsave, fxrstor