summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/pcb.h
AgeCommit message (Collapse)Author
2004-07-02Maintain %f and %gs over traps. Mostly from NetBSD. Preparation for SMPNiklas Hallqvist
speedups.
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-02-01Enable FXSR all the time, and cope with NPX/FXSR conversions; from netbsd.Theo de Raadt
Pass SSE/SSE2/XCRYPT flags out via syctl, and prepare for being able to do xcrypt-* in userland; ok naddy, tested a lot by pvalchev and jolan, also works on amd64 in 32bit mode
2004-02-01Sync user ldt code with NetBSD:Alexander Yurchenko
- finally remove it from pcb, it's a pmap thing only - more sanity checks - better lockin - may be something else Fixes panics when using apps requiring it (mplayer-win32 e.g.). Problem found and test espie@. OKs from miod@ (sshhh, don't tell anyone) and art@.
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-02when flipping the code descriptors also update cs in theMichael Shalayeff
tss and not only in the frame since we might be returning that way too. add a heuristic for detecting an exec protection fault: iff we get a read protection fault (which we normally never get due to our segments being always readable) we assume that it was an exec protection indeed and go to page fault routine which will decide the rest for us (including sending a signal should that be needed). problem found by drahn@ and testing by many ppl.
2001-03-24Remove an #ifdef PMAP_NEW so userland (specifically ps) doesn'tTodd C. Miller
have to define PMAP_NEW all over the place. This means there is an unused entry in struct pcb for pmap.old but that's going away (and it doesn't hurt anything).
2001-03-22Merge in NetBSD's PMAP_NEW, still disabledNiklas Hallqvist
2000-08-05$OpenBSD$Niklas Hallqvist
2000-05-24Add an extra byte to the end of struct pcb and make sure that it is set toBrandon Creighton
0xff. Intel (vol1 section 9.5.2) says that there must be a byte inside the TSS after the iomap because it always reads two bytes when checking permissions for io accesses. before this, bits 1016-1023 were ignored. This means that the entire pcb_iomap (and i386_*_ioperm) are accurate; pr#1190 fixed
1996-08-27Add:Jason Downs
* GPL_MATH_EMULATE: fpemul * ALWAYS_MATH_EMULATE: causes npx probe to always fail. * better fp context in struct pcb.
1996-01-11from netbsd; VM86 support, by John Kohl, touched up a bit by charlesTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt