git-svn-id: https://spexeah.com:8443/svn/Asuro@462 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
150454da0a
commit
bce58215eb
@ -17,8 +17,6 @@ uses
|
||||
console,
|
||||
terminal,
|
||||
drivermanagement,
|
||||
vmemorymanager,
|
||||
lmemorymanager,
|
||||
strings;
|
||||
|
||||
type
|
||||
@ -34,8 +32,8 @@ type
|
||||
sName : pchar;
|
||||
writeCallback : PPIOHook;
|
||||
readCallback : PPIOHook;
|
||||
createCallback : PPCreateHook;
|
||||
detectCallback : PPDetectHook;
|
||||
createCallback : uint32;
|
||||
detectCallback : uint32;
|
||||
end;
|
||||
|
||||
TStorage_Volume = record
|
||||
@ -44,7 +42,7 @@ type
|
||||
sectorSize : uint32;
|
||||
filesystem : TFilesystem;
|
||||
end;
|
||||
APStorage_Volume = array[0..255] of PStorage_volume;
|
||||
APStorage_Volume = array[0..10] of PStorage_volume;
|
||||
|
||||
TStorage_Device = record
|
||||
idx : uint8;
|
||||
@ -59,8 +57,8 @@ type
|
||||
|
||||
|
||||
var
|
||||
storageDevices : array[0..255] of TStorage_Device; //index in this array is global drive id
|
||||
fileSystems : array[0..31] of TFilesystem;
|
||||
storageDevices : array[0..25] of PStorage_Device; //index in this array is global drive id
|
||||
fileSystems : array[0..31] of PFilesystem;
|
||||
|
||||
procedure init();
|
||||
|
||||
|
@ -93,7 +93,6 @@ begin
|
||||
console.init();
|
||||
console.writestringln('A');
|
||||
|
||||
|
||||
terminal.init();
|
||||
|
||||
console.writestringln('B');
|
||||
@ -104,6 +103,9 @@ begin
|
||||
|
||||
console.writestringln('Booting Asuro...');
|
||||
|
||||
while true do begin
|
||||
end;
|
||||
|
||||
if (multibootmagic <> MULTIBOOT_BOOTLOADER_MAGIC) then begin
|
||||
console.setdefaultattribute(console.combinecolors(Red, Black));
|
||||
console.outputln('KERNEL', 'Multiboot Compliant Boot-Loader Needed!');
|
||||
@ -135,7 +137,7 @@ begin
|
||||
bios_data_area.init();
|
||||
|
||||
drivermanagement.init();
|
||||
//storagemanagement.init();
|
||||
storagemanagement.init();
|
||||
|
||||
//asm INT 13 end;
|
||||
STI;
|
||||
|
Loading…
x
Reference in New Issue
Block a user