diff --git a/Syscalls.md b/Syscalls.md new file mode 100644 index 0000000..378aadd --- /dev/null +++ b/Syscalls.md @@ -0,0 +1,81 @@ +# MTGos Syscalls +MTGos Syscalls is the method of requesting system resources under MTGos. +## Basics +It is based around C++ Objects and a set of Syscalls can be expressed as one Object. +## List of Objects +| Name | Object ID | Description | +|-----------|------------|---------------------| +| ScreenOut | 0 | interface to various screen-based output functions | +| Keyboard | 1 | interface to both raw and translated Keyboard input | +| Serial | 2 | i/o interface for a serial interface | +| Disk | 3 | Raw disk i/o interface. Dangerous. | +| MM | 4 | interface to request memory from the system | + +More objects may be added as MTGos evolves + +### ScreenOut + class ScreenOut { + public: + ScreenOut(bool err); + auto operator <<(string) -> Screen &; // puts(char *) + auto clrscr() -> Screen &; + auto setColor(BGColor, FGColor) -> Screen &; + ~ScreenOut(); + }; +Notes: The output function is not ANSI-Escape-Sequence compatible. + +### Keyboard + class Keyboard { + public: + Keyboard(); + auto operator >>(char &) -> Screen &; // getc() + auto operator >>(string &) -> Screen &; // gets an entire line + auto getKeyCode() -> uint32_t; // gets a RAW keycode + ~Keyboard(); + }; +Note: RAW keycodes might be different per-model and per-architecture. + +### Serial + class Serial { + public: + Serial(); + auto operator <<(string) -> Screen &; // puts(char *) + auto operator >>(char &) -> Screen &; // getc() + auto operator >>(string &) -> Screen &; // gets an entire line + ~Serial(); + }; + +Note: The serial connection might silently fail. If no new character is got after 500 attempts, '\0' is returned. + +### Disk + class Disk { + public: + Disk(char * diskName); + auto readSector(uint64_t sectorNum, uint8_t buf[512]) -> Disk &; + auto writeSector(uint64_t sectorNum, uint8_t buf[512]) -> Disk &; + ~Disk(); + }; +Note: A sector is 512 bytes in size. + +### MM + class MM { + public: + MM(); + auto getPage() -> void *; + auto freePage(void*) -> void; + ~MM(); + }; +Note: A page is 4KiB in size. + +## Calling Convention +The first register is the syscall number. The syscall number is an at least 32-bit big register built the following way: + + OOOO OOOO OOOO OOOO SSSS SSSS SSSS SSSS +where O is the object number and S the subnumber. + +The subnumber is the function number in the given object. The constructor is always 0x0000 and the deconstructor always 0xFFFF. + +* All arguments are pushed onto the stack. +* All return values replace the value of the first register. +* The second register contains the "Handle" returned from the constructor syscall. +* The constructor syscall ignores the Handle register and will not change it. diff --git a/err b/err deleted file mode 100644 index b5746ae..0000000 --- a/err +++ /dev/null @@ -1,878 +0,0 @@ -SMM: enter -EAX=00000001 EBX=0000000b ECX=02000000 EDX=02000628 -ESI=00000000 EDI=02000000 EBP=07fac630 ESP=00006d6c -EIP=000ef136 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00007113 CCD=00000001 CCO=LOGICB -EFER=0000000000000000 -SMM: after RSM -EAX=00000001 EBX=0000000b ECX=02000000 EDX=02000628 -ESI=00000000 EDI=02000000 EBP=07fac630 ESP=00006d6c -EIP=000ef136 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 -SMM: enter -EAX=000000b5 EBX=000f8fac ECX=00001234 EDX=0000df00 -ESI=07fbded1 EDI=00006cb0 EBP=00006c70 ESP=00006c70 -EIP=00008fab EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =df00 000df000 ffffffff 008f9300 -CS =f000 000f0000 ffffffff 008f9b00 -SS =0000 00000000 ffffffff 008f9300 -DS =0000 00000000 ffffffff 008f9300 -FS =0000 00000000 ffffffff 008f9300 -GS =0000 00000000 ffffffff 008f9300 -LDT=0000 00000000 0000ffff 00008200 -TR =0000 00000000 0000ffff 00008b00 -GDT= 00000000 00000000 -IDT= 00000000 000003ff -CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00006c70 CCO=EFLAGS -EFER=0000000000000000 -SMM: after RSM -EAX=000000b5 EBX=000f8fac ECX=00001234 EDX=0000df00 -ESI=07fbded1 EDI=00006cb0 EBP=00006c70 ESP=00006c70 -EIP=000f8fac EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 -SMM: enter -EAX=000000b5 EBX=00008fc6 ECX=00005678 EDX=000edfa0 -ESI=07fbded1 EDI=000edfa0 EBP=00006c70 ESP=00006c70 -EIP=000f8fc5 EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000004 CCD=00006c5c CCO=EFLAGS -EFER=0000000000000000 -SMM: after RSM -EAX=000000b5 EBX=00008fc6 ECX=00005678 EDX=000edfa0 -ESI=07fbded1 EDI=000edfa0 EBP=00006c70 ESP=00006c70 -EIP=00008fc6 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =df00 000df000 ffffffff 00809300 -CS =f000 000f0000 ffffffff 00809b00 -SS =0000 00000000 ffffffff 00809300 -DS =0000 00000000 ffffffff 00809300 -FS =0000 00000000 ffffffff 00809300 -GS =0000 00000000 ffffffff 00809300 -LDT=0000 00000000 0000ffff 00008200 -TR =0000 00000000 0000ffff 00008b00 -GDT= 00000000 00000000 -IDT= 00000000 000003ff -CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 -SMM: enter -EAX=000000b5 EBX=000f8fac ECX=00001234 EDX=0000df00 -ESI=07fbded1 EDI=00006992 EBP=00006952 ESP=00006952 -EIP=00008fab EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =df00 000df000 ffffffff 008f9300 -CS =f000 000f0000 ffffffff 008f9b00 -SS =0000 00000000 ffffffff 008f9300 -DS =0000 00000000 ffffffff 008f9300 -FS =0000 00000000 ffffffff 008f9300 -GS =c980 000c9800 ffffffff 008f9300 -LDT=0000 00000000 0000ffff 00008200 -TR =0000 00000000 0000ffff 00008b00 -GDT= 00000000 00000000 -IDT= 00000000 000003ff -CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00006952 CCO=EFLAGS -EFER=0000000000000000 -SMM: after RSM -EAX=000000b5 EBX=000f8fac ECX=00001234 EDX=0000df00 -ESI=07fbded1 EDI=00006992 EBP=00006952 ESP=00006952 -EIP=000f8fac EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 -SMM: enter -EAX=000000b5 EBX=00008fc6 ECX=00005678 EDX=00000000 -ESI=07fbded1 EDI=00000000 EBP=00006952 ESP=00006952 -EIP=000f8fc5 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=0000693e CCO=EFLAGS -EFER=0000000000000000 -SMM: after RSM -EAX=000000b5 EBX=00008fc6 ECX=00005678 EDX=00000000 -ESI=07fbded1 EDI=00000000 EBP=00006952 ESP=00006952 -EIP=00008fc6 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =df00 000df000 ffffffff 00809300 -CS =f000 000f0000 ffffffff 00809b00 -SS =0000 00000000 ffffffff 00809300 -DS =0000 00000000 ffffffff 00809300 -FS =0000 00000000 ffffffff 00809300 -GS =c980 000c9800 ffffffff 00809300 -LDT=0000 00000000 0000ffff 00008200 -TR =0000 00000000 0000ffff 00008b00 -GDT= 00000000 00000000 -IDT= 00000000 000003ff -CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 -SMM: enter -EAX=000000b5 EBX=000f8fac ECX=00001234 EDX=0000df00 -ESI=07fbded1 EDI=0000698c EBP=0000694c ESP=0000694c -EIP=00008fab EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =df00 000df000 ffffffff 00809300 -CS =f000 000f0000 ffffffff 00809b00 -SS =0000 00000000 ffffffff 00809300 -DS =0000 00000000 ffffffff 00809300 -FS =0000 00000000 ffffffff 00809300 -GS =c980 000c9800 ffffffff 00809300 -LDT=0000 00000000 0000ffff 00008200 -TR =0000 00000000 0000ffff 00008b00 -GDT= 00000000 00000000 -IDT= 00000000 000003ff -CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=0000694c CCO=EFLAGS -EFER=0000000000000000 -SMM: after RSM -EAX=000000b5 EBX=000f8fac ECX=00001234 EDX=0000df00 -ESI=07fbded1 EDI=0000698c EBP=0000694c ESP=0000694c -EIP=000f8fac EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 -SMM: enter -EAX=000000b5 EBX=00008fc6 ECX=00005678 EDX=07f945d0 -ESI=07fbded1 EDI=07f945d0 EBP=0000694c ESP=0000694c -EIP=000f8fc5 EFL=00000012 [----A--] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000010 CCD=00006938 CCO=EFLAGS -EFER=0000000000000000 -SMM: after RSM -EAX=000000b5 EBX=00008fc6 ECX=00005678 EDX=07f945d0 -ESI=07fbded1 EDI=07f945d0 EBP=0000694c ESP=0000694c -EIP=00008fc6 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =df00 000df000 ffffffff 00809300 -CS =f000 000f0000 ffffffff 00809b00 -SS =0000 00000000 ffffffff 00809300 -DS =0000 00000000 ffffffff 00809300 -FS =0000 00000000 ffffffff 00809300 -GS =c980 000c9800 ffffffff 00809300 -LDT=0000 00000000 0000ffff 00008200 -TR =0000 00000000 0000ffff 00008b00 -GDT= 00000000 00000000 -IDT= 00000000 000003ff -CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 -SMM: enter -EAX=000000b5 EBX=000f8fac ECX=00001234 EDX=0000df00 -ESI=07fbded1 EDI=00006992 EBP=00006952 ESP=00006952 -EIP=00008fab EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =df00 000df000 ffffffff 00809300 -CS =f000 000f0000 ffffffff 00809b00 -SS =0000 00000000 ffffffff 00809300 -DS =0000 00000000 ffffffff 00809300 -FS =0000 00000000 ffffffff 00809300 -GS =c980 000c9800 ffffffff 00809300 -LDT=0000 00000000 0000ffff 00008200 -TR =0000 00000000 0000ffff 00008b00 -GDT= 00000000 00000000 -IDT= 00000000 000003ff -CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00006952 CCO=EFLAGS -EFER=0000000000000000 -SMM: after RSM -EAX=000000b5 EBX=000f8fac ECX=00001234 EDX=0000df00 -ESI=07fbded1 EDI=00006992 EBP=00006952 ESP=00006952 -EIP=000f8fac EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 -SMM: enter -EAX=000000b5 EBX=00008fc6 ECX=00005678 EDX=00000000 -ESI=07fbded1 EDI=00000000 EBP=00006952 ESP=00006952 -EIP=000f8fc5 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=0000693e CCO=EFLAGS -EFER=0000000000000000 -SMM: after RSM -EAX=000000b5 EBX=00008fc6 ECX=00005678 EDX=00000000 -ESI=07fbded1 EDI=00000000 EBP=00006952 ESP=00006952 -EIP=00008fc6 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =df00 000df000 ffffffff 00809300 -CS =f000 000f0000 ffffffff 00809b00 -SS =0000 00000000 ffffffff 00809300 -DS =0000 00000000 ffffffff 00809300 -FS =0000 00000000 ffffffff 00809300 -GS =c980 000c9800 ffffffff 00809300 -LDT=0000 00000000 0000ffff 00008200 -TR =0000 00000000 0000ffff 00008b00 -GDT= 00000000 00000000 -IDT= 00000000 000003ff -CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 -SMM: enter -EAX=000000b5 EBX=000f8fac ECX=00001234 EDX=0000df00 -ESI=07fbded1 EDI=0000698c EBP=0000694c ESP=0000694c -EIP=00008fab EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =df00 000df000 ffffffff 00809300 -CS =f000 000f0000 ffffffff 00809b00 -SS =0000 00000000 ffffffff 00809300 -DS =0000 00000000 ffffffff 00809300 -FS =0000 00000000 ffffffff 00809300 -GS =c980 000c9800 ffffffff 00809300 -LDT=0000 00000000 0000ffff 00008200 -TR =0000 00000000 0000ffff 00008b00 -GDT= 00000000 00000000 -IDT= 00000000 000003ff -CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=0000694c CCO=EFLAGS -EFER=0000000000000000 -SMM: after RSM -EAX=000000b5 EBX=000f8fac ECX=00001234 EDX=0000df00 -ESI=07fbded1 EDI=0000698c EBP=0000694c ESP=0000694c -EIP=000f8fac EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 -SMM: enter -EAX=000000b5 EBX=00008fc6 ECX=00005678 EDX=07ef45d0 -ESI=07fbded1 EDI=07ef45d0 EBP=0000694c ESP=0000694c -EIP=000f8fc5 EFL=00000012 [----A--] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] -SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy -GDT= 000f71a0 00000037 -IDT= 000f71de 00000000 -CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000010 CCD=00006938 CCO=EFLAGS -EFER=0000000000000000 -SMM: after RSM -EAX=000000b5 EBX=00008fc6 ECX=00005678 EDX=07ef45d0 -ESI=07fbded1 EDI=07ef45d0 EBP=0000694c ESP=0000694c -EIP=00008fc6 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =df00 000df000 ffffffff 00809300 -CS =f000 000f0000 ffffffff 00809b00 -SS =0000 00000000 ffffffff 00809300 -DS =0000 00000000 ffffffff 00809300 -FS =0000 00000000 ffffffff 00809300 -GS =c980 000c9800 ffffffff 00809300 -LDT=0000 00000000 0000ffff 00008200 -TR =0000 00000000 0000ffff 00008b00 -GDT= 00000000 00000000 -IDT= 00000000 000003ff -CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000000 CCO=EFLAGS -EFER=0000000000000000 - 0: v=20 e=0000 i=0 cpl=0 IP=0008:0000000000104047 pc=0000000000104047 SP=0010:000000000010a014 env->regs[R_EAX]=0000000000000000 -EAX=00000000 EBX=00009500 ECX=0010a004 EDX=00000000 -ESI=00000000 EDI=00131000 EBP=0010a03c ESP=0010a014 -EIP=00104047 EFL=00000206 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=00000000 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000004 CCD=0010a014 CCO=EFLAGS -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xd - 1: v=0d e=0000 i=0 cpl=0 IP=0008:0000000000103272 pc=0000000000103272 SP=0010:0000000000800ff8 env->regs[R_EAX]=0000000000000000 -EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00000000 ESP=00800ff8 -EIP=00103272 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0023 00000000 ffffffff 00cff300 DPL=3 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0023 00000000 ffffffff 00cff300 DPL=3 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=00000000 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000008 CCD=00800ff8 CCO=ADDL -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 2: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800f34 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800f4c ESP=00800f34 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 3: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800e70 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800e88 ESP=00800e70 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 4: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800dac CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800dc4 ESP=00800dac -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 5: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800ce8 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800d00 ESP=00800ce8 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 6: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800c24 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800c3c ESP=00800c24 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 7: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800b60 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800b78 ESP=00800b60 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 8: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800a9c CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800ab4 ESP=00800a9c -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 9: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:00000000008009d8 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=008009f0 ESP=008009d8 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 10: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800914 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=0080092c ESP=00800914 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 11: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800850 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800868 ESP=00800850 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 12: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:000000000080078c CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=008007a4 ESP=0080078c -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 13: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:00000000008006c8 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=008006e0 ESP=008006c8 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 14: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800604 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=0080061c ESP=00800604 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 15: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800540 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800558 ESP=00800540 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 16: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:000000000080047c CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800494 ESP=0080047c -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 17: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:00000000008003b8 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=008003d0 ESP=008003b8 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 18: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:00000000008002f4 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=0080030c ESP=008002f4 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 19: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:0000000000800230 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800248 ESP=00800230 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 20: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:000000000080016c CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=00800184 ESP=0080016c -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 21: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:00000000008000a8 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=008000c0 ESP=008000a8 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -check_exception old: 0xffffffff new 0xe - 22: v=0e e=0009 i=0 cpl=0 IP=0008:000000000010155d pc=000000000010155d SP=0010:00000000007fffe4 CR2=00000000f000ff53 -EAX=f000ff53 EBX=f000ff53 ECX=00000000 EDX=00000000 -ESI=00000000 EDI=00000000 EBP=007ffffc ESP=007fffe4 -EIP=0010155d EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 -ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-] -SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] -LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT -TR =0028 0010e940 00000080 0000e900 DPL=3 TSS32-avl -GDT= 0010e900 00000037 -IDT= 0010a0e0 000007ff -CR0=80000011 CR2=f000ff53 CR3=00005000 CR4=00000010 -DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 -DR6=00000000ffff0ff0 DR7=0000000000000400 -CCS=00000000 CCD=00000053 CCO=LOGICB -EFER=0000000000000000 -qemu-system-x86_64: terminating on signal 2