dd 0x0000FFFF, 0x00CFF200 ; 20 PL3 Data
dd 0, 0 ; Double Fault TSS
times MAX_CPUS dd 0, 0
dd 0x0000FFFF, 0x00CFF200 ; 20 PL3 Data
dd 0, 0 ; Double Fault TSS
times MAX_CPUS dd 0, 0
- mov WORD [_gIDT + %1*8+6], ax
- mov ax, WORD [_gIDT + %1*8 + 4]
+ mov WORD [gIDT + %1*8+6], ax
+ mov ax, WORD [gIDT + %1*8 + 4]
; --------------------------
; Common System Call Handler
; --------------------------
; --------------------------
; Common System Call Handler
; --------------------------
mov eax, [esp+12*4] ; CPU Number
push eax ; Pus as argument
mov eax, [esp+12*4] ; CPU Number
push eax ; Pus as argument