test memory info
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "./debug/output.h"
|
||||
#include "./types.h" // This is actually used
|
||||
#include "arch/core_interrupt.h"
|
||||
#include "memory/pageframealloc.h"
|
||||
#include "syscall/handler.h"
|
||||
|
||||
#include "./device/textstream.h"
|
||||
@@ -22,6 +23,7 @@ OutputStream* copyout = ©stream;
|
||||
#include "./arch/ioapic.h"
|
||||
#include "./device/ps2controller.h"
|
||||
#include "./interrupt/guard.h"
|
||||
#include "./boot/multiboot/data.h"
|
||||
#include "./sync/semaphore.h"
|
||||
#include "./thread/thread.h"
|
||||
//Semaphore koutsem(1);
|
||||
@@ -38,6 +40,8 @@ static KeyboardApplication kapp;
|
||||
|
||||
// Main function
|
||||
extern "C" int main() {
|
||||
PageFrameAllocator::init();
|
||||
|
||||
tout.reset();
|
||||
tout.setPos(33, 0);
|
||||
tout << OS_NAME << " (2.x)" << flush;
|
||||
|
||||
Reference in New Issue
Block a user