Added paging support

This commit is contained in:
Morten Delenk 2016-05-21 18:18:20 +00:00
parent 224d840cc9
commit bcf1875165
11 changed files with 943 additions and 7 deletions

878
err Normal file
View file

@ -0,0 +1,878 @@
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

View file

@ -19,6 +19,19 @@ loadIDT:
mov 0x4(%esp), %eax
lidt (%eax)
ret
.global enterPaging
//void _stdcall enterPaging(uint32** pd);
enterPaging:
mov 0x4(%esp), %eax
mov %eax, %cr3
mov %cr4, %eax
or $0x10, %eax
mov %eax, %cr4
mov %cr0, %eax
or $0x80000000, %eax
mov %eax, %cr0
mov (%esp), %eax
ret
//Handle interrupts
.macro intr_stub nr

View file

@ -12,7 +12,7 @@ namespace MTGosHAL {
class Multitasking;
class BlockDevice;
class Task;
class PMM;
class VMM3;
enum class BG_color: uint16_t;
enum class FG_color: uint16_t;
extern Serial debug;
@ -23,6 +23,6 @@ namespace MTGosHAL {
extern IDT idt;
extern Multitasking tasks;
extern BlockDevice disk;
extern PMM mm;
extern VMM3 mm;
}
#endif

View file

@ -12,8 +12,8 @@ struct malloc_t {
class PMM {
private:
malloc_t *head;
PMM2 pmm2;
public:
PMM2 pmm2;
PMM();
auto init(struct multiboot_info*) -> void;
auto alloc(uint32_t length) -> void *;

View file

@ -0,0 +1,17 @@
#include <pmm.hpp>
#include <multiboot.h>
#define virtualptr *
#define physicalptr *
// This is the class that activates paging and does general handling of pages
namespace MTGosHAL {
class VMM3 {
private:
uint32_t **pd;
public:
PMM pmm;
VMM3();
auto init(struct multiboot_info*) -> void;
auto alloc(uint32_t length) -> void*;
auto free(void* ptr) -> bool;
};
}

View file

@ -3,7 +3,7 @@
#include <Multitasking.hpp>
#include <serial.hpp>
#include <blockdev.hpp>
#include <pmm.hpp>
#include <vmm3.hpp>
auto schedule(struct cpu_state* cpu) -> struct cpu_state* {
return MTGosHAL::tasks.schedule(cpu);
}
@ -27,7 +27,9 @@ Multitasking::Multitasking(): curr_task(nullptr), first_task(nullptr)
}
auto Multitasking::initTask(void(* entry)()) -> struct cpu_state*
{
uint8_t *stack=(uint8_t*)mm.alloc(4096), *user_stack=(uint8_t*)mm.alloc(4096);
void* tmp1, *tmp2;
mm.pmm.pmm2 >> tmp1 >> tmp2;
uint8_t *stack=(uint8_t*)tmp1, *user_stack=(uint8_t*)tmp2;
struct cpu_state new_state = {
0, //EAX
0, //EBX

View file

@ -8,7 +8,7 @@
#include <Multitasking.hpp>
#include <multiboot.h>
#include <blockdev.hpp>
#include <pmm.hpp>
#include <vmm3.hpp>
extern "C" void intr_stub_0(void);
void main(void ** programs);
namespace MTGosHAL {
@ -20,7 +20,7 @@ namespace MTGosHAL {
GDT gdt;
Multitasking tasks;
BlockDevice disk;
PMM mm;
VMM3 mm;
void main(int eax, struct multiboot_info* ebx) {
out << BG_color::BLACK << FG_color::WHITE << "Loading MTGos...\n";
err << BG_color::BLACK << FG_color::RED;

View file

@ -1,5 +1,6 @@
#include <base.hpp>
#include <pmm.hpp>
#include <vmm3.hpp>
extern "C" const int kernel_start;
extern "C" const int kernel_end; //those are voids actually
void *operator new(size_t size) {

View file

@ -0,0 +1,25 @@
#include <vmm3.hpp>
#include <base.hpp>
extern "C" void enterPaging(uint32_t **pd);
namespace MTGosHAL {
VMM3::VMM3(): pmm() {
}
auto VMM3::init(struct multiboot_info* mb_info) -> void {
pmm.init(mb_info);
void* tmp;
pmm.pmm2 >> tmp;
pd=(uint32_t**)tmp;
uint32_t ent=0x87;
for(int i=0;i<1024;i++) {
pd[i]=(uint32_t*)ent;
ent+=0x1000*1024;
}
enterPaging(pd);
}
auto VMM3::alloc(uint32_t length) -> void* {
return pmm.alloc(length);
}
auto VMM3::free(void* ptr) -> bool {
return pmm.free(ptr);
}
}

BIN
mtgos.old

Binary file not shown.

BIN
test.elf

Binary file not shown.