Page 8 of 20
Re: How to make a GDT?
Posted: Thu Oct 20, 2022 3:44 pm
by zap8600
nexos wrote:
Like I said in my above post, it has nothing to do with that. Try deleting kernel.o and see what that does.
I did that. I'm now getting a different error.
Code: Select all
mkdir -p /home/linuxlite/help/CCOS-new/sysroot/usr/include
cp -R --preserve=timestamps include/. /home/linuxlite/help/CCOS-new/sysroot/usr/include/.
mkdir -p /home/linuxlite/help/CCOS-new/sysroot/usr/include
cp -R --preserve=timestamps include/. /home/linuxlite/help/CCOS-new/sysroot/usr/include/.
mkdir -p /home/linuxlite/help/CCOS-new/sysroot/usr/include
cp -R --preserve=timestamps include/. /home/linuxlite/help/CCOS-new/sysroot/usr/include/.
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c stdio/printf.c -o stdio/printf.libk.o -std=gnu11 -O2 -g -ffreestanding -Wall -Wextra -D__is_libc -Iinclude -D__is_libk
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c stdio/putchar.c -o stdio/putchar.libk.o -std=gnu11 -O2 -g -ffreestanding -Wall -Wextra -D__is_libc -Iinclude -D__is_libk
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c stdio/puts.c -o stdio/puts.libk.o -std=gnu11 -O2 -g -ffreestanding -Wall -Wextra -D__is_libc -Iinclude -D__is_libk
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c stdlib/abort.c -o stdlib/abort.libk.o -std=gnu11 -O2 -g -ffreestanding -Wall -Wextra -D__is_libc -Iinclude -D__is_libk
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c string/memcmp.c -o string/memcmp.libk.o -std=gnu11 -O2 -g -ffreestanding -Wall -Wextra -D__is_libc -Iinclude -D__is_libk
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c string/memcpy.c -o string/memcpy.libk.o -std=gnu11 -O2 -g -ffreestanding -Wall -Wextra -D__is_libc -Iinclude -D__is_libk
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c string/memmove.c -o string/memmove.libk.o -std=gnu11 -O2 -g -ffreestanding -Wall -Wextra -D__is_libc -Iinclude -D__is_libk
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c string/memset.c -o string/memset.libk.o -std=gnu11 -O2 -g -ffreestanding -Wall -Wextra -D__is_libc -Iinclude -D__is_libk
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c string/strlen.c -o string/strlen.libk.o -std=gnu11 -O2 -g -ffreestanding -Wall -Wextra -D__is_libc -Iinclude -D__is_libk
x86_64-elf-ar rcs libk.a stdio/printf.libk.o stdio/putchar.libk.o stdio/puts.libk.o stdlib/abort.libk.o string/memcmp.libk.o string/memcpy.libk.o string/memmove.libk.o string/memset.libk.o string/strlen.libk.o
mkdir -p /home/linuxlite/help/CCOS-new/sysroot/usr/lib
cp libk.a /home/linuxlite/help/CCOS-new/sysroot/usr/lib
mkdir -p /home/linuxlite/help/CCOS-new/sysroot/usr/include
cp -R --preserve=timestamps include/. /home/linuxlite/help/CCOS-new/sysroot/usr/include/.
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c arch/x86_64/crti.S -o arch/x86_64/crti.o -O2 -g -Wall -Wextra -ffreestanding -mcmodel=kernel -mno-red-zone -D__is_kernel -Iinclude
OBJ=`x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -O2 -g -Wall -Wextra -ffreestanding -mcmodel=kernel -mno-red-zone -print-file-name=crtbegin.o` && cp "$OBJ" arch/x86_64/crtbegin.o
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c arch/x86_64/tty.c -o arch/x86_64/tty.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -mcmodel=kernel -mno-red-zone -D__is_kernel -Iinclude
arch/x86_64/tty.c: In function 'terminal_initialize':
arch/x86_64/tty.c:14:13: warning: assignment to 'ssfn_font_t *' from incompatible pointer type 'volatile unsigned char *' [-Wincompatible-pointer-types]
14 | ssfn_src = &_binary_unifont_sfn_start; /* the bitmap font to use */
| ^
arch/x86_64/tty.c: In function 'terminal_putchar':
arch/x86_64/tty.c:32:24: warning: passing argument 1 of 'terminal_putentryat' makes pointer from integer without a cast [-Wint-conversion]
32 | terminal_putentryat(c);
| ^
| |
| char
arch/x86_64/tty.c:23:32: note: expected 'char *' but argument is of type 'char'
23 | void terminal_putentryat(char *s) {
| ~~~~~~^
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c kernel/kernel.c -o kernel/kernel.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -mcmodel=kernel -mno-red-zone -D__is_kernel -Iinclude
x86_64-elf-ld -r -b binary -o unifont.o unifont.sfn
OBJ=`x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -O2 -g -Wall -Wextra -ffreestanding -mcmodel=kernel -mno-red-zone -print-file-name=crtend.o` && cp "$OBJ" arch/x86_64/crtend.o
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -MD -c arch/x86_64/crtn.S -o arch/x86_64/crtn.o -O2 -g -Wall -Wextra -ffreestanding -mcmodel=kernel -mno-red-zone -D__is_kernel -Iinclude
x86_64-elf-gcc --sysroot=/home/linuxlite/help/CCOS-new/sysroot -isystem=/usr/include -T arch/x86_64/linker.ld -o myos.kernel -O2 -g -Wall -Wextra -ffreestanding -mcmodel=kernel -mno-red-zone arch/x86_64/crti.o arch/x86_64/crtbegin.o arch/x86_64/tty.o kernel/kernel.o unifont.o -nostdlib -lk -lgcc arch/x86_64/crtend.o arch/x86_64/crtn.o
/home/linuxlite/opt/cross/lib/gcc/x86_64-elf/12.2.0/../../../../x86_64-elf/bin/ld: warning: myos.kernel has a LOAD segment with RWX permissions
`.eh_frame' referenced in section `.text' of arch/x86_64/crtbegin.o: defined in discarded section `.eh_frame' of arch/x86_64/crtbegin.o
`.eh_frame' referenced in section `.text' of arch/x86_64/crtbegin.o: defined in discarded section `.eh_frame' of arch/x86_64/crtbegin.o
collect2: error: ld returned 1 exit status
make: *** [Makefile:57: myos.kernel] Error 1
Re: How to make a GDT?
Posted: Thu Oct 20, 2022 3:54 pm
by nexos
What's in your linker script?
Re: How to make a GDT?
Posted: Thu Oct 20, 2022 4:28 pm
by zap8600
nexos wrote:What's in your linker script?
I'm currently using the BOOTBOOT example kernel script.
Code: Select all
/*
* mykernel/c/link.ld
*
* Copyright (C) 2017 - 2021 bzt (bztsrc@gitlab)
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy,
* modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
* This file is part of the BOOTBOOT Protocol package.
* @brief An example linker script for sample kernel
*
*/
mmio = 0xfffffffff8000000; /* these are configurable for level 2 loaders */
fb = 0xfffffffffc000000;
bootboot = 0xffffffffffe00000;
environment = 0xffffffffffe01000;
/* initstack = 1024; */
PHDRS
{
boot PT_LOAD; /* one single loadable segment */
}
SECTIONS
{
. = 0xffffffffffe02000;
.text : {
KEEP(*(.text.boot)) *(.text .text.*) /* code */
*(.rodata .rodata.*) /* data */
*(.data .data.*)
} :boot
.bss (NOLOAD) : { /* bss */
. = ALIGN(16);
*(.bss .bss.*)
*(COMMON)
} :boot
/DISCARD/ : { *(.eh_frame) *(.comment) }
}
Re: How to make a GDT?
Posted: Thu Oct 20, 2022 4:29 pm
by Octocontrabass
I would try adding "-fno-exceptions" to CFLAGS and delete crtbegin.o and crtend.o again and see if libgcc provides a version of those files that doesn't depend on having an .eh_frame section.
If that doesn't work you'll have to move *(.eh_frame) from the /DISCARD/ section to the .text section in your linker script.
Re: How to make a GDT?
Posted: Thu Oct 20, 2022 8:23 pm
by zap8600
Octocontrabass wrote:I would try adding "-fno-exceptions" to CFLAGS and delete crtbegin.o and crtend.o again and see if libgcc provides a version of those files that doesn't depend on having an .eh_frame section.
If that doesn't work you'll have to move *(.eh_frame) from the /DISCARD/ section to the .text section in your linker script.
I'll have to modify the linker script. I'm dumb, so it'll take a while. Thanks though.
Re: How to make a GDT?
Posted: Fri Oct 21, 2022 9:30 am
by zap8600
I got the kernel to build, and I built a boot image with
mkbootimg, but I keep getting the error below in QEMU.
Code: Select all
Detecting OS...
* Detecting CPU
* Enabling A20
* E820 Memory Map
* System tables
* System time
* Reading GPT
* Initrd loaded
* Gzip compressed initrd
* Environment
* Parsing ELF64
BOOTBOOT-PANIC: Kernel is too big
How do I decrease the size of the kernel?
Re: How to make a GDT?
Posted: Fri Oct 21, 2022 9:53 am
by nexos
Pass -z max-page-size=0x1000 to the linker.
And is BOOTBOOT really a sane bootloader if it places arbitrary limits on the kernel size? Just my humble opinion
Re: How to make a GDT?
Posted: Fri Oct 21, 2022 10:29 am
by zap8600
nexos wrote:Pass -z max-page-size=0x1000 to the linker.
And is BOOTBOOT really a sane bootloader if it places arbitrary limits on the kernel size? Just my humble opinion
Never mind. The problem was the font I was using. But now QEMU is boot-looping. If my OS does anything, I don't know because the machine restarts. The QEMU window also increases and decreases size for a split second before restarting. What am I doing wrong?
Re: How to make a GDT?
Posted: Fri Oct 21, 2022 11:17 am
by kzinti
zap8600 wrote:What am I doing wrong?
You keep asking us what the next step is instead of trying to do some research and figure it out on your own. Or at least that is the impression you give. What have you tried to troubleshoot this issue? What do you know and don't understand?
Re: How to make a GDT?
Posted: Fri Oct 21, 2022 11:26 am
by zap8600
kzinti wrote:You keep asking us what the next step is instead of trying to do some research and figure it out on your own. Or at least that is the impression you give. What have you tried to troubleshoot this issue? What do you know and don't understand?
I never meant to give this impression. I am researching and attempting to troubleshoot. Unfortunately, I am finding no results. I usually come here if I don't fully (or just don't at all) understand something. I find that I learn best when I am given much information to go through over a long period of time. I'm not the best at this, but I'm still trying. I'm sorry if I'm being too annoying.
Re: How to make a GDT?
Posted: Fri Oct 21, 2022 11:28 am
by kzinti
Then don't worry about it and ignore my comment above.
Re: How to make a GDT?
Posted: Fri Oct 21, 2022 11:42 am
by Octocontrabass
zap8600 wrote:What am I doing wrong?
What kind of debugging have you done so far?
Since it's rebooting, it's probably a triple fault. I suggest adding "-no-reboot" and "-d int" to your QEMU options to log the exceptions. (You might also need to add "-accel tcg" to get anything useful in the log.)
Re: How to make a GDT?
Posted: Fri Oct 21, 2022 11:44 am
by nexos
It's impossible to tell without seeing your code, but try Octo's suggestion and put the output here.
Re: How to make a GDT?
Posted: Fri Oct 21, 2022 11:55 am
by zap8600
Octocontrabass wrote:What kind of debugging have you done so far?
Since it's rebooting, it's probably a triple fault. I suggest adding "-no-reboot" and "-d int" to your QEMU options to log the exceptions. (You might also need to add "-accel tcg" to get anything useful in the log.)
I had to stop debugging because I ran out of time. Now I have the time, I've gotten the log. It services 0x70 a lot. As far as I can tell, it just ends randomly. Here is the log if you want to see it. I'm going to continue looking into it.
Code: Select all
WARNING: Image format was not specified for 'myos.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
(qemu:3992): Gtk-WARNING **: 12:47:39.481: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
SMM: enter
EAX=00000001 EBX=00000000 ECX=02000000 EDX=02000628
ESI=0000000b EDI=02000000 EBP=00014b40 ESP=00006c60
EIP=000eafe4 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= 000f6180 00000037
IDT= 000f61be 00000000
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=00000080 CCD=00000001 CCO=LOGICB
EFER=0000000000000000
SMM: after RSM
EAX=00000001 EBX=00000000 ECX=02000000 EDX=02000628
ESI=0000000b EDI=02000000 EBP=00014b40 ESP=00006c60
EIP=000eafe4 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= 000f6180 00000037
IDT= 000f61be 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
Servicing hardware INT=0x08
SMM: enter
EAX=000000b5 EBX=000f7d6b ECX=00001234 EDX=00006cff
ESI=00006cb8 EDI=07fbecc0 EBP=00006c78 ESP=00006c78
EIP=00007d6a EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =d980 000d9800 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=00000004 CCD=00006c78 CCO=EFLAGS
EFER=0000000000000000
SMM: after RSM
EAX=000000b5 EBX=000f7d6b ECX=00001234 EDX=00006cff
ESI=00006cb8 EDI=07fbecc0 EBP=00006c78 ESP=00006c78
EIP=000f7d6b 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= 000f6180 00000037
IDT= 000f61be 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=00007d85 ECX=00005678 EDX=07fa9050
ESI=000e8c80 EDI=07fbecc0 EBP=00006c78 ESP=00006c78
EIP=000f7d84 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= 000f6180 00000037
IDT= 000f61be 00000000
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=00000010 CCD=00006c64 CCO=EFLAGS
EFER=0000000000000000
SMM: after RSM
EAX=000000b5 EBX=00007d85 ECX=00005678 EDX=07fa9050
ESI=000e8c80 EDI=07fbecc0 EBP=00006c78 ESP=00006c78
EIP=00007d85 EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =d980 000d9800 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=00000004 CCD=00000001 CCO=EFLAGS
EFER=0000000000000000
Servicing hardware INT=0x08
SMM: enter
EAX=000000b5 EBX=000f7d6b ECX=00001234 EDX=000069ff
ESI=0000699e EDI=07fbecc0 EBP=0000695e ESP=0000695e
EIP=00007d6a EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =d980 000d9800 ffffffff 008f9300
CS =f000 000f0000 ffffffff 008f9b00
SS =0000 00000000 ffffffff 008f9300
DS =0000 00000000 ffffffff 008f9300
FS =0000 00000000 ffffffff 008f9300
GS =ca00 000ca000 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=0000695e CCO=EFLAGS
EFER=0000000000000000
SMM: after RSM
EAX=000000b5 EBX=000f7d6b ECX=00001234 EDX=000069ff
ESI=0000699e EDI=07fbecc0 EBP=0000695e ESP=0000695e
EIP=000f7d6b 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= 000f6180 00000037
IDT= 000f61be 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=00007d85 ECX=00005678 EDX=00000005
ESI=00000000 EDI=07fbecc0 EBP=0000695e ESP=0000695e
EIP=000f7d84 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= 000f6180 00000037
IDT= 000f61be 00000000
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=00000010 CCD=0000694a CCO=EFLAGS
EFER=0000000000000000
SMM: after RSM
EAX=000000b5 EBX=00007d85 ECX=00005678 EDX=00000005
ESI=00000000 EDI=07fbecc0 EBP=0000695e ESP=0000695e
EIP=00007d85 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =d980 000d9800 ffffffff 00809300
CS =f000 000f0000 ffffffff 00809b00
SS =0000 00000000 ffffffff 00809300
DS =0000 00000000 ffffffff 00809300
FS =0000 00000000 ffffffff 00809300
GS =ca00 000ca000 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=00000001 CCO=EFLAGS
EFER=0000000000000000
Servicing hardware INT=0x08
SMM: enter
EAX=000000b5 EBX=000f7d6b ECX=00001234 EDX=000069ff
ESI=00006998 EDI=07fbecc0 EBP=00006958 ESP=00006958
EIP=00007d6a EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =d980 000d9800 ffffffff 00809300
CS =f000 000f0000 ffffffff 00809b00
SS =0000 00000000 ffffffff 00809300
DS =0000 00000000 ffffffff 00809300
FS =0000 00000000 ffffffff 00809300
GS =ca00 000ca000 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=00006958 CCO=EFLAGS
EFER=0000000000000000
SMM: after RSM
EAX=000000b5 EBX=000f7d6b ECX=00001234 EDX=000069ff
ESI=00006998 EDI=07fbecc0 EBP=00006958 ESP=00006958
EIP=000f7d6b 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= 000f6180 00000037
IDT= 000f61be 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=00007d85 ECX=00005678 EDX=00000003
ESI=07f91420 EDI=07fbecc0 EBP=00006958 ESP=00006958
EIP=000f7d84 EFL=00000016 [----AP-] 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= 000f6180 00000037
IDT= 000f61be 00000000
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=00000014 CCD=00006944 CCO=EFLAGS
EFER=0000000000000000
SMM: after RSM
EAX=000000b5 EBX=00007d85 ECX=00005678 EDX=00000003
ESI=07f91420 EDI=07fbecc0 EBP=00006958 ESP=00006958
EIP=00007d85 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =d980 000d9800 ffffffff 00809300
CS =f000 000f0000 ffffffff 00809b00
SS =0000 00000000 ffffffff 00809300
DS =0000 00000000 ffffffff 00809300
FS =0000 00000000 ffffffff 00809300
GS =ca00 000ca000 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=00000001 CCO=EFLAGS
EFER=0000000000000000
Servicing hardware INT=0x08
SMM: enter
EAX=000000b5 EBX=000f7d6b ECX=00001234 EDX=000069ff
ESI=0000699e EDI=07fbecc0 EBP=0000695e ESP=0000695e
EIP=00007d6a EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =d980 000d9800 ffffffff 00809300
CS =f000 000f0000 ffffffff 00809b00
SS =0000 00000000 ffffffff 00809300
DS =0000 00000000 ffffffff 00809300
FS =0000 00000000 ffffffff 00809300
GS =ca00 000ca000 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=0000695e CCO=EFLAGS
EFER=0000000000000000
SMM: after RSM
EAX=000000b5 EBX=000f7d6b ECX=00001234 EDX=000069ff
ESI=0000699e EDI=07fbecc0 EBP=0000695e ESP=0000695e
EIP=000f7d6b 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= 000f6180 00000037
IDT= 000f61be 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=00007d85 ECX=00005678 EDX=00000005
ESI=00000000 EDI=07fbecc0 EBP=0000695e ESP=0000695e
EIP=000f7d84 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= 000f6180 00000037
IDT= 000f61be 00000000
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=00000010 CCD=0000694a CCO=EFLAGS
EFER=0000000000000000
SMM: after RSM
EAX=000000b5 EBX=00007d85 ECX=00005678 EDX=00000005
ESI=00000000 EDI=07fbecc0 EBP=0000695e ESP=0000695e
EIP=00007d85 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =d980 000d9800 ffffffff 00809300
CS =f000 000f0000 ffffffff 00809b00
SS =0000 00000000 ffffffff 00809300
DS =0000 00000000 ffffffff 00809300
FS =0000 00000000 ffffffff 00809300
GS =ca00 000ca000 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=00000001 CCO=EFLAGS
EFER=0000000000000000
Servicing hardware INT=0x08
SMM: enter
EAX=000000b5 EBX=000f7d6b ECX=00001234 EDX=000069ff
ESI=00006998 EDI=07fbecc0 EBP=00006958 ESP=00006958
EIP=00007d6a EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =d980 000d9800 ffffffff 00809300
CS =f000 000f0000 ffffffff 00809b00
SS =0000 00000000 ffffffff 00809300
DS =0000 00000000 ffffffff 00809300
FS =0000 00000000 ffffffff 00809300
GS =ca00 000ca000 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=00006958 CCO=EFLAGS
EFER=0000000000000000
SMM: after RSM
EAX=000000b5 EBX=000f7d6b ECX=00001234 EDX=000069ff
ESI=00006998 EDI=07fbecc0 EBP=00006958 ESP=00006958
EIP=000f7d6b 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= 000f6180 00000037
IDT= 000f61be 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=00007d85 ECX=00005678 EDX=00000003
ESI=07ef1420 EDI=07fbecc0 EBP=00006958 ESP=00006958
EIP=000f7d84 EFL=00000016 [----AP-] 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= 000f6180 00000037
IDT= 000f61be 00000000
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=00000014 CCD=00006944 CCO=EFLAGS
EFER=0000000000000000
SMM: after RSM
EAX=000000b5 EBX=00007d85 ECX=00005678 EDX=00000003
ESI=07ef1420 EDI=07fbecc0 EBP=00006958 ESP=00006958
EIP=00007d85 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =d980 000d9800 ffffffff 00809300
CS =f000 000f0000 ffffffff 00809b00
SS =0000 00000000 ffffffff 00809300
DS =0000 00000000 ffffffff 00809300
FS =0000 00000000 ffffffff 00809300
GS =ca00 000ca000 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=00000001 CCO=EFLAGS
EFER=0000000000000000
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x70
Servicing hardware INT=0x08
check_exception old: 0xffffffff new 0xd
0: v=0d e=0000 i=0 cpl=0 IP=0008:f000ff53f000ff53 pc=f000ff53f000ff53 SP=0010:0000000000000008 env->regs[R_EAX]=ffffffffffe033c8
RAX=ffffffffffe033c8 RBX=0000000000000000 RCX=00000000c0000001 RDX=0000000000000000
RSI=0000000000003c2a RDI=0000000000000000 RBP=0000000000001e91 RSP=0000000000000008
R8 =0000000000000000 R9 =0000000000000000 R10=0000000000000000 R11=0000000000000000
R12=0000000000000000 R13=0000000000000000 R14=0000000000000000 R15=0000000000000000
RIP=f000ff53f000ff53 RFL=00200046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 0000000000000000 0fffffff 00809300 DPL=0 DS [-WA]
CS =0008 0000000000000000 0000ffff 00209800 DPL=0 CS64 [---]
SS =0010 0000000000000000 0fffffff 00809300 DPL=0 DS [-WA]
DS =0010 0000000000000000 0fffffff 00809300 DPL=0 DS [-WA]
FS =0010 0000000000000000 0fffffff 00809300 DPL=0 DS [-WA]
GS =0010 0000000000000000 0fffffff 00809300 DPL=0 DS [-WA]
LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT
TR =0000 0000000000000000 0000ffff 00008b00 DPL=0 TSS64-busy
GDT= 0000000000003220 00000027
IDT= 0000000000000000 000003ff
CR0=c0000011 CR2=0000000000000000 CR3=000000000000a000 CR4=00000368
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=ffffffffffe033c8 CCD=0000000000000000 CCO=SUBQ
EFER=0000000000000500
check_exception old: 0xd new 0xd
1: v=08 e=0000 i=0 cpl=0 IP=0008:f000ff53f000ff53 pc=f000ff53f000ff53 SP=0010:0000000000000008 env->regs[R_EAX]=ffffffffffe033c8
RAX=ffffffffffe033c8 RBX=0000000000000000 RCX=00000000c0000001 RDX=0000000000000000
RSI=0000000000003c2a RDI=0000000000000000 RBP=0000000000001e91 RSP=0000000000000008
R8 =0000000000000000 R9 =0000000000000000 R10=0000000000000000 R11=0000000000000000
R12=0000000000000000 R13=0000000000000000 R14=0000000000000000 R15=0000000000000000
RIP=f000ff53f000ff53 RFL=00200046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 0000000000000000 0fffffff 00809300 DPL=0 DS [-WA]
CS =0008 0000000000000000 0000ffff 00209800 DPL=0 CS64 [---]
SS =0010 0000000000000000 0fffffff 00809300 DPL=0 DS [-WA]
DS =0010 0000000000000000 0fffffff 00809300 DPL=0 DS [-WA]
FS =0010 0000000000000000 0fffffff 00809300 DPL=0 DS [-WA]
GS =0010 0000000000000000 0fffffff 00809300 DPL=0 DS [-WA]
LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT
TR =0000 0000000000000000 0000ffff 00008b00 DPL=0 TSS64-busy
GDT= 0000000000003220 00000027
IDT= 0000000000000000 000003ff
CR0=c0000011 CR2=0000000000000000 CR3=000000000000a000 CR4=00000368
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=ffffffffffe033c8 CCD=0000000000000000 CCO=SUBQ
EFER=0000000000000500
check_exception old: 0x8 new 0xd
Re: How to make a GDT?
Posted: Fri Oct 21, 2022 11:57 am
by zap8600
nexos wrote:It's impossible to tell without seeing your code, but try Octo's suggestion and put the output here.
Just so you know, I have put my code on Github again. If you need to see the code, you can look at it
here.