freebsd-nq/sys/i386
Konstantin Belousov a9c53bbb24 Kernel entry from vm86 mode, where PCB_VM86CALL pcb flag is not set,
is executed on the right stack already.  No copy from the entry stack
to the kstack must be performed for vm86 bios call code to function.

To access the pcb flags on kernel entry, unconditionally switch to
kernel address space if vm86 mode is detected.

This fixes very early vm86 bios calls, typically done when boot is
performed by boot2 without loader, and kernel falls back to BIOS calls
to get SMAP.

Reported by:	bde
Sponsored by:	The FreeBSD Foundation
2018-05-12 11:06:59 +00:00
..
acpica Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
bios
cloudabi32
conf Retire ixgb(4) 2018-05-02 15:59:15 +00:00
i386 On return from exception or interrupt, returns to vm86 mode with 2018-05-12 11:02:39 +00:00
ibcs2 Fix kernel memory disclosure in ibcs2_getdents 2018-03-21 23:26:42 +00:00
include Kernel entry from vm86 mode, where PCB_VM86CALL pcb flag is not set, 2018-05-12 11:06:59 +00:00
linux Fix futexes on i386 after the 4/4G split. 2018-04-24 12:50:21 +00:00
pci Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
Makefile