ahci progress
This commit is contained in:
1 parent
b2ecbe58da
commit
6a3ebf1387
7 files changed
+503
-354
No files matched your search
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
+4
-2
@@ -57,7 +57,8 @@ uses
|
||||
base64,
|
||||
rand,
|
||||
terminal,
|
||||
hashmap, vfs;
|
||||
hashmap, vfs,
|
||||
AHCI;
|
||||
|
||||
procedure kmain(mbinfo: Pmultiboot_info_t; mbmagic: uint32); stdcall;
|
||||
|
||||
@@ -228,7 +229,8 @@ begin
|
||||
mouse.init();
|
||||
testdriver.init();
|
||||
E1000.init();
|
||||
IDE.init();
|
||||
// IDE.init();
|
||||
AHCI.init();
|
||||
console.outputln('KERNEL', 'DEVICE DRIVERS: INIT END.');
|
||||
|
||||
{ Bus Drivers }
|
||||
|
||||
@@ -57,6 +57,7 @@ var
|
||||
|
||||
procedure init;
|
||||
function kalloc(size : uint32) : void;
|
||||
function kalloc(size : uint32; isPersistent : boolean) : void;
|
||||
function klalloc(size : uint32) : void;
|
||||
procedure klfree(size : uint32); //Todo ??? Profit?
|
||||
function kpalloc(address : uint32) : void;
|
||||
@@ -217,6 +218,11 @@ begin
|
||||
//pop_trace;
|
||||
end;
|
||||
|
||||
function kalloc(size : uint32; isPersistent : boolean) : void;
|
||||
begin
|
||||
kalloc:= kalloc(size);
|
||||
end;
|
||||
|
||||
procedure kfree(area : void);
|
||||
var
|
||||
hp : PHeapPage;
|
||||
|
||||
Reference in new issue
Block a user