Now working on a new paging system
This commit is contained in:
parent
6785767528
commit
675063840f
|
@ -75,3 +75,4 @@ SECTIONS {
|
|||
|
||||
kernelEnd = .;
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -22,6 +22,7 @@ enum
|
|||
#define RAM_MAX 32
|
||||
#define NB_4K 150
|
||||
// * 2 MB
|
||||
#define USERSPACE 0x40000000
|
||||
|
||||
//-----------
|
||||
|
||||
|
|
Loading…
Reference in New Issue