Some more multiple address space stuff
This page-faults. This is because the memory where the ELF should be is all zeroes, which the CPU tries to interpret.
This commit is contained in:
parent
bb7887a29d
commit
cdb73836b0
@ -87,10 +87,6 @@ extern "C" void _start()
|
|||||||
PIC::enable_master(0b11111100); // enable keyboard and PIT
|
PIC::enable_master(0b11111100); // enable keyboard and PIT
|
||||||
PIC::enable_slave(0b11111111);
|
PIC::enable_slave(0b11111111);
|
||||||
|
|
||||||
kinfoln("Prepared PIC");
|
|
||||||
|
|
||||||
Interrupts::enable(); // Task switching commences here
|
|
||||||
|
|
||||||
kinfoln("Interrupts enabled");
|
kinfoln("Interrupts enabled");
|
||||||
|
|
||||||
PCI::scan([](PCI::Device& dev) {
|
PCI::scan([](PCI::Device& dev) {
|
||||||
|
Loading…
Reference in New Issue
Block a user