1
0
This commit is contained in:
Mark 2025-02-25 19:28:18 -08:00
parent 8bed1288ac
commit 58825f6ae0
Signed by: Mark
GPG Key ID: C6D63995FE72FD80

View File

@ -1,6 +1,6 @@
SECTION .text ; cannot use .data SECTION .text ; cannot use .data
struc GDTEntry ; spell:disable:line struc GDTEntry ; spell:disable-line
.limitl resw 1 .limitl resw 1
.basel resw 1 .basel resw 1
.basem resb 1 .basem resb 1
@ -26,21 +26,21 @@ gdt_attr:
.accessed equ 1 << 0 .accessed equ 1 << 0
;system ;system
; legacy ; legacy
.tssAvailabe16 equ 0x1 ; spell:disable:line .tssAvailabe16 equ 0x1 ; spell:disable-line
.ldt equ 0x2 .ldt equ 0x2
.tssBusy16 equ 0x3 .tssBusy16 equ 0x3
.call16 equ 0x4 .call16 equ 0x4
.task equ 0x5 .task equ 0x5
.interrupt16 equ 0x6 .interrupt16 equ 0x6
.trap16 equ 0x7 .trap16 equ 0x7
.tssAvailabe32 equ 0x9 ; spell:disable:line .tssAvailabe32 equ 0x9 ; spell:disable-line
.tssBusy32 equ 0xB .tssBusy32 equ 0xB
.call32 equ 0xC .call32 equ 0xC
.interrupt32 equ 0xE .interrupt32 equ 0xE
.trap32 equ 0xF .trap32 equ 0xF
; long mode ; long mode
.ldt32 equ 0x2 .ldt32 equ 0x2
.tssAvailabe64 equ 0x9 ; spell:disable:line .tssAvailabe64 equ 0x9 ; spell:disable-line
.tssBusy64 equ 0xB .tssBusy64 equ 0xB
.call64 equ 0xC .call64 equ 0xC
.interrupt64 equ 0xE .interrupt64 equ 0xE