summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/vm86.h
Commit message (Collapse)AuthorAgeFilesLines
* Some reorganization of sysarch() interface:luoqi1999-09-021-5/+0
| | | | | | | | | | 1. Move definitions of struct i386_*_args to the header file sysarch.h, since they are part of the sysarch API. struct i386_get_ldt_args and i386_set_ldt_args were identical, therefore make them into one struct i386_ldt_args. Libc should use these definitions as well. 2. Return a more sensible EOPNOTSUPP for unknown operations. Reviewed by: marcel
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Unifdef VM86.jlemon1999-06-011-2/+3
| | | | Reviewed by: silence on on -current
* Enable vmspace sharing on SMP. Major changes are,luoqi1999-04-281-1/+2
| | | | | | | | | | | | | | | | | - %fs register is added to trapframe and saved/restored upon kernel entry/exit. - Per-cpu pages are no longer mapped at the same virtual address. - Each cpu now has a separate gdt selector table. A new segment selector is added to point to per-cpu pages, per-cpu global variables are now accessed through this new selector (%fs). The selectors in gdt table are rearranged for cache line optimization. - fask_vfork is now on as default for both UP and SMP. - Some aio code cleanup. Reviewed by: Alan Cox <alc@cs.rice.edu> John Dyson <dyson@iquest.net> Julian Elischer <julian@whistel.com> Bruce Evans <bde@zeta.org.au> David Greenman <dg@root.com>
* Change the vm86_datacall interface so that callers are now responsiblejlemon1999-03-181-3/+21
| | | | | | | | | for passing in their own data space and associated page table information. Update the support files so that any pages in the vm86 page table are mapped, rather than just one page. Restore the E820 memory probe, and have it use the new interface.
* Don't pretend to support ix86's with 16-bit ints by using longs justbde1998-09-291-3/+3
| | | | to ensure 32-bit variables. Doing so broke ix86's with 64-bit longs.
* Add missing register name defines.msmith1998-07-141-1/+7
|
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-081-3/+3
| | | | | | | or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)).
* Add the ability to make real-mode BIOS calls from the kernel. Currently,jlemon1998-03-231-32/+63
| | | | | | | | | | | everything is contained inside #ifdef VM86, so this option must be present in the config file to use this functionality. Thanks to Tor Egge, these changes should work on SMP machines. However, it may not be throughly SMP-safe. Currently, the only BIOS calls made are memory-sizing routines at bootup, these replace reading the RTC values.
* Avoid passing some more `retval's.bde1997-11-201-2/+2
|
* Remove the vm86 support as an LKM, and link it directly into the kerneljlemon1997-08-281-3/+3
| | | | | if 'options "VM86"' is in the config file. The LKM was really for development, and has probably outlived its usefulness.
* Add forward declaration for struct proc.jlemon1997-08-201-1/+2
|
* A couple of missing doscmd header files. Messed up again. Now candyson1997-08-091-0/+111
compile the kernel!!! Submitted by: Jonathan Lemon <jlemon@americantv.com>
OpenPOWER on IntegriCloud