git-svn-id: https://spexeah.com:8443/svn/Asuro@360 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
c2ca17dfc4
commit
e4e1e71878
@ -32,7 +32,6 @@ uses
|
|||||||
PCI,
|
PCI,
|
||||||
Terminal,
|
Terminal,
|
||||||
strings,
|
strings,
|
||||||
AHCI,
|
|
||||||
USB,
|
USB,
|
||||||
testdriver,
|
testdriver,
|
||||||
E1000;
|
E1000;
|
||||||
@ -123,28 +122,12 @@ begin
|
|||||||
console.writestringln('DRIVERS: INIT BEGIN.');
|
console.writestringln('DRIVERS: INIT BEGIN.');
|
||||||
keyboard.init(keyboard_layout);
|
keyboard.init(keyboard_layout);
|
||||||
mouse.init();
|
mouse.init();
|
||||||
AHCI.init();
|
|
||||||
testdriver.init();
|
testdriver.init();
|
||||||
E1000.init();
|
E1000.init();
|
||||||
USB.init();
|
USB.init();
|
||||||
pci.init();
|
pci.init();
|
||||||
console.writestringln('DRIVERS: INIT END.');
|
console.writestringln('DRIVERS: INIT END.');
|
||||||
|
|
||||||
{ console.writestring('AHCI TEST');
|
|
||||||
console.writestringln('A');
|
|
||||||
atmp:= puint32(kalloc(sizeof(1024*128)));
|
|
||||||
console.writestringln('B');
|
|
||||||
atmp^ := 4242;
|
|
||||||
console.writestringln('C');
|
|
||||||
AHCI.write(0, $5, $1, 32, atmp);
|
|
||||||
console.writestringln('D');
|
|
||||||
atmp^ := 365;
|
|
||||||
console.writestringln('E');
|
|
||||||
AHCI.read(0, $5, $1, 32, atmp);
|
|
||||||
console.writestringln('F');
|
|
||||||
console.writeint(atmp^);
|
|
||||||
console.writestringln('G');}
|
|
||||||
|
|
||||||
console.writestringln('');
|
console.writestringln('');
|
||||||
console.setdefaultattribute(console.combinecolors(Green, Black));
|
console.setdefaultattribute(console.combinecolors(Green, Black));
|
||||||
console.writestringln('Asuro Booted Correctly!');
|
console.writestringln('Asuro Booted Correctly!');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user