Changeset View
Changeset View
Standalone View
Standalone View
head/sys/i386/i386/vm86bios.s
Show All 23 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#include <machine/asmacros.h> /* miscellaneous asm macros */ | #include <machine/asmacros.h> /* miscellaneous asm macros */ | ||||
#include <machine/trap.h> | #include <machine/trap.h> | ||||
#include "assym.s" | #include "assym.inc" | ||||
#define SCR_NEWPTD PCB_ESI /* readability macros */ | #define SCR_NEWPTD PCB_ESI /* readability macros */ | ||||
#define SCR_VMFRAME PCB_EBP /* see vm86.c for explanation */ | #define SCR_VMFRAME PCB_EBP /* see vm86.c for explanation */ | ||||
#define SCR_STACK PCB_ESP | #define SCR_STACK PCB_ESP | ||||
#define SCR_PGTABLE PCB_EBX | #define SCR_PGTABLE PCB_EBX | ||||
#define SCR_ARGFRAME PCB_EIP | #define SCR_ARGFRAME PCB_EIP | ||||
#define SCR_TSS0 PCB_VM86 | #define SCR_TSS0 PCB_VM86 | ||||
#define SCR_TSS1 (PCB_VM86+4) | #define SCR_TSS1 (PCB_VM86+4) | ||||
▲ Show 20 Lines • Show All 133 Lines • Show Last 20 Lines |