git-svn-id: https://spexeah.com:8443/svn/Asuro@254 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
e3df25ce27
commit
63d08b59f0
@ -50,11 +50,15 @@ var
|
|||||||
procedure init(_controller : TPCI_device);
|
procedure init(_controller : TPCI_device);
|
||||||
procedure read(address : uint32);
|
procedure read(address : uint32);
|
||||||
procedure write(address : uint32);
|
procedure write(address : uint32);
|
||||||
|
procedure callback(data : void);
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
procedure init(_controller : TPCI_device);
|
procedure init(_controller : TPCI_device);
|
||||||
begin
|
begin
|
||||||
|
|
||||||
|
isr76.hook(uint32(@callback));
|
||||||
|
|
||||||
controller := _controller;
|
controller := _controller;
|
||||||
devices[0].primary := true;
|
devices[0].primary := true;
|
||||||
devices[0].Command_Register := controller.address4;
|
devices[0].Command_Register := controller.address4;
|
||||||
@ -63,5 +67,10 @@ begin
|
|||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure callback(data : void);
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
end.
|
end.
|
@ -111,7 +111,6 @@ begin
|
|||||||
//drivers
|
//drivers
|
||||||
console.writestringln('DRIVERS: INIT BEGIN.');
|
console.writestringln('DRIVERS: INIT BEGIN.');
|
||||||
pci.init();
|
pci.init();
|
||||||
ata.init();
|
|
||||||
keyboard.init(keyboard_layout);
|
keyboard.init(keyboard_layout);
|
||||||
keyboard.hook(@temphook);
|
keyboard.hook(@temphook);
|
||||||
mouse.init();
|
mouse.init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user