forked from PoliEcho-holding-org/kern
16 lines
145 B
NASM
16 lines
145 B
NASM
[bits 32]
|
|
[global _start]
|
|
|
|
[extern main]
|
|
[extern idtp]
|
|
|
|
_start:
|
|
call main
|
|
cli
|
|
hlt
|
|
|
|
[global idtLoad]
|
|
idtLoad:
|
|
lidt [idtp]
|
|
ret
|