1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
This commit is contained in:
julianb0 2019-06-18 22:58:19 +02:00
parent 7afa2439bb
commit af9b87cc49
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62

View File

@ -30,19 +30,24 @@ cpudev_test:
mov ax1, 1 mov ax1, 1
call IDT.AddHandler call IDT.AddHandler
trap 0
trap 0 trap 0
ret ret
trap0_test: trap0_test:
mov rsp, 0x300000 mov rsp, 0x300000
mov nx7, rax
mov ax0, .msg mov ax0, .msg
call print call print
mov ax0, nx7
call IDT.DoneHandling
iret iret
.msg = "Handling TRAP #0 !" .msg = "Handling TRAP #0 !\n"
showoff: showoff:
call ramdev_test call ramdev_test