syscall test

This commit is contained in:
2025-11-26 08:24:31 +01:00
parent 3808f494af
commit da3f961edb
6 changed files with 51 additions and 28 deletions

View File

@@ -5,6 +5,7 @@
#include "./device/serialstream.h"
#include "./types.h" // This is actually used
#include "arch/core_interrupt.h"
#include "syscall/handler.h"
SerialStream sout;
#include "./device/textstream.h"
@@ -53,6 +54,8 @@ extern "C" int main() {
// Activate Keyboard
PS2Controller::init();
Syscall::init();
// Enter Level 1/2
Guarded g = Guard::enter();
@@ -73,7 +76,7 @@ extern "C" int main() {
* Therefore activate the LAPIC timer in level 1/2 after initialization
* (just before schedule())
*/
LAPIC::Timer::activate();
//LAPIC::Timer::activate();
DBG_VERBOSE << "Schedule..." << endl;
// Schedule first app