Now working on a new paging system

This commit is contained in:
Adrien Bourmault 2020-01-09 00:31:22 +01:00
parent 6785767528
commit 675063840f
3 changed files with 8 additions and 8 deletions

View File

@ -75,3 +75,4 @@ SECTIONS {
kernelEnd = .;
}

View File

@ -62,21 +62,19 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
// Memory
MmInitMemoryMap();
MmInitPaging();
MmInitHeap();
MmInitGdt();
MmInitHeap();
MmInitPaging();
// Basics for interrupts
// IDT
KeSetupIDT();
KeEnableIRQs();
// Interrupt handlers
MmActivatePageHandler();
KeEnableRTC();
KeEnablePIT();
KeGetCpuInfos();
// Memory (2)
MmActivatePageHandler();
// Drivers
IoEnableKeyb();
// Command line (kernel mode)

View File

@ -22,6 +22,7 @@ enum
#define RAM_MAX 32
#define NB_4K 150
// * 2 MB
#define USERSPACE 0x40000000
//-----------