mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-12 05:58:15 -04:00
Try long mode
This commit is contained in:
parent
d71f2d4abc
commit
ec8213c424
@ -49,6 +49,8 @@ _start:
|
||||
|
||||
pm_start:
|
||||
|
||||
jmp $
|
||||
|
||||
; Update segments
|
||||
mov ax, DATA_SELECTOR-GDT64
|
||||
mov ds, ax
|
||||
@ -107,6 +109,8 @@ lm_start:
|
||||
kernel_header_1 db 'Welcome to Thor OS!', 0
|
||||
kernel_header_2 db '******************************', 0
|
||||
|
||||
; Global Descriptors Table
|
||||
|
||||
GDT64:
|
||||
NULL_SELECTOR:
|
||||
dw GDT_LENGTH ; limit of GDT
|
||||
|
Loading…
x
Reference in New Issue
Block a user