summaryrefslogtreecommitdiffstats
path: root/sys/arch/i386/include/frame.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reorder trapframe/intrframe to put %ebp next to %eip and make itbluhm2018-06-151-5/+5
| | | | | | behave like a real call frame, thus vastly simplifying the ddb back trace logic. from hshoexer@; initially from guenther@; OK deraadt@
* More steps for i386 Meltdown fix:bluhm2018-04-111-1/+42
| | | | | | | | | | | | | | - provide struct cpu_info_full - prepare K-U sections - reorganize interrupt, trap, syscall entry to use K-U trampoline - prepare pmap for entering special mappings, the mappings are not setup yet This code will already trigger performance issues. We do more tlb flushes, but we do not unmap the kernel yet. The latter will be needed to prevent Meltdown. from hshoexer@; input guenther@; OK mlarkin@ deraadt@
* Rename and move x86 calllframe definitions in <machine/frame.h> to usempi2016-02-261-1/+7
| | | | | | it in MI code. ok mlarkin@, visa@
* Make the kernel responsible for saving the FPU state before runningkettenis2010-07-031-2/+1
| | | | | | | | signal handlers. Breaks ABI for applications that copy around struct sigcontext to implement cooperative threading. Other applications shoouldn't notice the difference. ok guenther@, deraadt@
* Make context switching much more MI:art2007-10-101-2/+1
| | | | | | | | | | | | | | | | | | | | - Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok
* commit vesabios for matthieu@gwk2006-11-271-1/+4
| | | | ok deraadt, "slap it in" miod@
* save/restore fpu for the signal handler call in the trampoline.mickey2005-07-181-1/+2
| | | | modeled after sparc together w/ deraadt@; deraadt@ ok
* Maintain %f and %gs over traps. Mostly from NetBSD. Preparation for SMPniklas2004-07-021-1/+5
| | | | speedups.
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* $OpenBSD$niklas2000-08-051-0/+1
|
* More siginfo implementations (alpha and mips might even work)deraadt1997-02-031-2/+1
| | | | | move "siginfo_t *" to 2nd arg of signal handler as 1003.1b requires. I really wish I had 1003.1b documentation.
* i386 part of siginfoderaadt1997-01-271-0/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+122