Started implementing the virtual file system

- The FAT command is no longer available
- At Startup the FileSystem initialise funciton
is called, it should execute the same code as the FAT command did.
- ACPI::initialise is commented out because it causes a Exception
This commit is contained in:
2023-02-17 21:52:03 +01:00
parent 133c16cae7
commit 490529099b
10 changed files with 429 additions and 237 deletions

View File

@ -14,11 +14,11 @@ extern "C"{
#include "drivers/pci/pci.h"
#include "drivers/pit/pit.h"
#include "drivers/acpi/acpi.h"
#include "drivers/ide/ide.h"
#include "i386/processor.h"
#include "terminal/kterm.h"
#include "interrupts/idt.h"
#include "serial.h"
#include "vfs/VFS.h"
extern "C" void LoadGlobalDescriptorTable();
extern "C" void jump_usermode();
@ -54,17 +54,13 @@ extern "C" void kernel ()
// Enable interrupts
asm volatile("STI");
initHeap();
pit_initialise();
// ACPI::initialize();
// ACPI::initialize(); // FIXME: improper reading of bios memory
PCI::Scan();
//TestIDEController();
processor::initialize();
FileSystem::initialize();
printf("Enable Protected mode and jump to kernel main\n");