git-svn-id: https://spexeah.com:8443/svn/Asuro@301 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
fc3f2f1998
commit
6b3c4fb634
@ -213,24 +213,24 @@ var
|
||||
|
||||
procedure init();
|
||||
procedure check_ports();
|
||||
procedure enable_cmd(port : uint8);
|
||||
procedure disable_cmd(port : uint8);
|
||||
function load(ptr:void): boolean;
|
||||
|
||||
implementation
|
||||
|
||||
procedure init();
|
||||
var
|
||||
count : uint16;
|
||||
devID : TDeviceIdentifier;
|
||||
begin
|
||||
console.writestringln('AHCI: STARTING INIT');
|
||||
//PCI_Devices := PCI.getDeviceInfo(1, 6, 0, count);
|
||||
devID.bus:= biPCI;
|
||||
devID.id0:= idANY;
|
||||
devID.id1:= $00000001;
|
||||
devID.id2:= $00000006;
|
||||
devID.id3:= 0;
|
||||
devID.id3:= $00000001;
|
||||
devID.ex:= nil;
|
||||
drivermanagement.register_driver(@devID, @load)
|
||||
drivermanagement.register_driver('AHCI Controller', @devID, @load)
|
||||
end;
|
||||
|
||||
function load(ptr : void) : boolean;
|
||||
@ -265,5 +265,13 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure enable_cmd(port : uint8);
|
||||
begin
|
||||
//while hba^.ports[port].
|
||||
end;
|
||||
|
||||
procedure disable_cmd(port : uint8);
|
||||
begin end;
|
||||
|
||||
|
||||
end.
|
Loading…
x
Reference in New Issue
Block a user