Nyanix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit f8666e3fcf4a5a0fd567efaa30053050466b6a89
parent 05ad17d873d24586ef97f224a531d1ae18ef7205
Author: k4m1 <k4m1@proton.intra.silverskin.com>
Date:   Fri,  6 Jul 2018 13:40:54 +0300

Cleaned

Diffstat:
src/gdt32table.s | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/gdt32table.s b/src/gdt32table.s @@ -2,10 +2,11 @@ %ifndef GDT_32_H %define GDT_32_H 1 -; GDT start +; Global Descriptor Table & ptrs for that. + __null: dq 0 -; GDT code segment (0x9a) +; code segment (0x9a) __code: dw 0xffff dw 0 @@ -13,7 +14,7 @@ __code: db 10011010b db 11001111b db 0 -; GDT data segment (0x92) +; data segment (0x92) __data: dw 0xffff dw 0 @@ -26,7 +27,7 @@ __end: GDT_32_PTR: dw __end - __null - 1 ; See amd system programmers manual dd __null -GDT_32_CODE equ __code - __null ; Calculate GDT32 code & data +GDT_32_CODE equ __code - __null GDT_32_DATA equ __data - __null %endif