ISO Testing
git-svn-id: https://spexeah.com:8443/svn/Asuro@281 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
db618bd802
commit
44b2ad018b
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -5,7 +5,9 @@ interface
|
||||
uses
|
||||
Console,
|
||||
PCI,
|
||||
drivertypes;
|
||||
drivertypes,
|
||||
pmemorymanager,
|
||||
vmemorymanager;
|
||||
|
||||
procedure init;
|
||||
|
||||
@ -16,6 +18,7 @@ var
|
||||
devices : TDeviceArray;
|
||||
count : uint32;
|
||||
i : uint32;
|
||||
block : uint32;
|
||||
|
||||
begin
|
||||
console.writestringln('USB: INIT BEGIN.');
|
||||
@ -51,6 +54,9 @@ begin
|
||||
console.writehex(devices[i].vendor_id);
|
||||
console.writestring(' ');
|
||||
console.writehexln(devices[i].prog_if);
|
||||
block:= devices[i].address0 SHR 22;
|
||||
force_alloc_block(block, 0);
|
||||
map_page(block, block);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
@ -27,6 +27,7 @@ type
|
||||
|
||||
procedure init;
|
||||
function alloc_block(block : uint16; caller : uint32) : boolean;
|
||||
procedure force_alloc_block(block : uint16; caller : uint32);
|
||||
function new_block(caller : uint32) : uint16;
|
||||
procedure free_block(block : uint16; caller : uint32);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user