git-svn-id: https://spexeah.com:8443/svn/Asuro@254 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c

This commit is contained in:
aaron 2017-10-25 19:39:23 +00:00
parent e3df25ce27
commit 63d08b59f0
2 changed files with 9 additions and 1 deletions

View File

@ -50,11 +50,15 @@ var
procedure init(_controller : TPCI_device);
procedure read(address : uint32);
procedure write(address : uint32);
procedure callback(data : void);
implementation
procedure init(_controller : TPCI_device);
begin
isr76.hook(uint32(@callback));
controller := _controller;
devices[0].primary := true;
devices[0].Command_Register := controller.address4;
@ -63,5 +67,10 @@ begin
end;
procedure callback(data : void);
begin
end;
end.

View File

@ -111,7 +111,6 @@ begin
//drivers
console.writestringln('DRIVERS: INIT BEGIN.');
pci.init();
ata.init();
keyboard.init(keyboard_layout);
keyboard.hook(@temphook);
mouse.init();