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

This commit is contained in:
aaron 2018-04-05 09:05:48 +00:00
parent 9c0884e4a1
commit c324afcb30

View File

@ -220,10 +220,17 @@ implementation
procedure init(); procedure init();
var var
count : uint16; count : uint16;
devID : TDeviceIdentifier;
begin begin
console.writestringln('AHCI: STARTING INIT'); console.writestringln('AHCI: STARTING INIT');
//PCI_Devices := PCI.getDeviceInfo(1, 6, 0, count); //PCI_Devices := PCI.getDeviceInfo(1, 6, 0, count);
drivermanagement.register_driver($010600, @load) devID.bus:= biPCI;
devID.id0:= idANY;
devID.id1:= $00000001;
devID.id2:= $00000006;
devID.id3:= 0;
devID.ex:= nil;
drivermanagement.register_driver(@devID, @load)
end; end;
function load(ptr : void) : boolean; function load(ptr : void) : boolean;