2011-08-27 20:08:59 +00:00
|
|
|
BITS 64
|
2011-02-21 11:23:58 +00:00
|
|
|
section .text
|
|
|
|
|
2012-05-17 09:33:34 +00:00
|
|
|
;global gdt_flush
|
|
|
|
;extern g_GDTPointer
|
2011-02-21 11:23:58 +00:00
|
|
|
|
2012-05-17 09:33:34 +00:00
|
|
|
;gdt_flush:
|
|
|
|
; lgdt [g_GDTPointer]
|
|
|
|
; mov ax, 0x20
|
|
|
|
; mov ds, ax
|
|
|
|
; mov es, ax
|
|
|
|
; mov fs, ax
|
|
|
|
; mov gs, ax
|
|
|
|
; mov ss, ax
|
|
|
|
;
|
|
|
|
; ret
|