git-svn-id: https://spexeah.com:8443/svn/Asuro@468 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
904588d072
commit
64dc31279d
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.
@ -104,6 +104,7 @@ begin
|
|||||||
console.setdefaultattribute(console.combinecolors(Red, Black));
|
console.setdefaultattribute(console.combinecolors(Red, Black));
|
||||||
console.outputln('KERNEL', 'Multiboot Compliant Boot-Loader Needed!');
|
console.outputln('KERNEL', 'Multiboot Compliant Boot-Loader Needed!');
|
||||||
console.outputln('KERNEL', 'HALTING.');
|
console.outputln('KERNEL', 'HALTING.');
|
||||||
|
BSOD('Multiboot Error', 'Multiboot Compliant Boot-Loader Needed!');
|
||||||
util.halt_and_catch_fire;
|
util.halt_and_catch_fire;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -116,7 +117,7 @@ begin
|
|||||||
end else begin
|
end else begin
|
||||||
console.outputln('KERNEL', 'GDT: LOAD FAIL.');
|
console.outputln('KERNEL', 'GDT: LOAD FAIL.');
|
||||||
console.outputln('KERNEL', 'HALTING.');
|
console.outputln('KERNEL', 'HALTING.');
|
||||||
halt_and_catch_fire;
|
BSOD('GDT', 'Failed to load the GDT correctly.');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
idt.init();
|
idt.init();
|
||||||
@ -133,25 +134,29 @@ begin
|
|||||||
drivermanagement.init();
|
drivermanagement.init();
|
||||||
storagemanagement.init();
|
storagemanagement.init();
|
||||||
|
|
||||||
//asm INT 13 end;
|
|
||||||
STI;
|
STI;
|
||||||
isr32.hook(uint32(@bios_data_area.tick_update));
|
isr32.hook(uint32(@bios_data_area.tick_update));
|
||||||
|
|
||||||
//drivers
|
//Device Drivers
|
||||||
console.outputln('KERNEL', 'DRIVERS: INIT BEGIN.');
|
console.outputln('KERNEL', 'DEVICE DRIVERS: INIT BEGIN.');
|
||||||
keyboard.init(keyboard_layout);
|
keyboard.init(keyboard_layout);
|
||||||
mouse.init();
|
mouse.init();
|
||||||
testdriver.init();
|
testdriver.init();
|
||||||
E1000.init();
|
E1000.init();
|
||||||
//IDE.init();
|
//IDE.init();
|
||||||
|
console.outputln('KERNEL', 'DEVICE DRIVERS: INIT END.');
|
||||||
|
|
||||||
//Nothing beyond here
|
//Bus Drivers
|
||||||
|
console.outputln('KERNEL', 'BUS DRIVERS: INIT BEGIN.');
|
||||||
USB.init();
|
USB.init();
|
||||||
pci.init();
|
pci.init();
|
||||||
console.outputln('KERNEL', 'DRIVERS: INIT END.');
|
console.outputln('KERNEL', 'BUS DRIVERS: INIT END.');
|
||||||
|
|
||||||
|
|
||||||
//ipv4.register();
|
//Network Stack
|
||||||
|
ipv4.register();
|
||||||
|
|
||||||
|
//End of Boot
|
||||||
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