Consts.
git-svn-id: https://spexeah.com:8443/svn/Asuro@38 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
220d6d8071
commit
4eb5012a8d
@ -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.
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user