git-svn-id: https://spexeah.com:8443/svn/Asuro@38 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2017-05-17 11:40:52 +00:00
parent 220d6d8071
commit 4eb5012a8d
2 changed files with 7 additions and 1 deletions

View File

@ -25,7 +25,7 @@ end;
procedure init(); procedure init();
begin begin
idt.set_gate(0, uint32(@isr0), $08, $8E); idt.set_gate(0, uint32(@isr0), $08, ISR_RING_0);
end; end;
end. end.

View File

@ -2,6 +2,12 @@ unit system;
interface interface
const
ISR_RING_0 = $8E;
ISR_RING_1 = $AE;
ISR_RING_2 = $CE;
ISR_RING_3 = $EE;
type type
//internal types //internal types
cardinal = 0..$FFFFFFFF; cardinal = 0..$FFFFFFFF;