Implement syscalls, hello world from userspace
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
#include "pic.h"
|
||||
#include "apic.h"
|
||||
#include "pit.h"
|
||||
#include "syscall.h"
|
||||
|
||||
void hal_init(void) {
|
||||
if (!serial_init()) {
|
||||
@ -32,6 +33,7 @@ void hal_init_withmalloc(void) {
|
||||
pit_init();
|
||||
ioapic_setentry(IOAPIC, acpi_remapirq(0x00), INTR_TIMER);
|
||||
hal_intr_disable();
|
||||
hal_syscall_init();
|
||||
}
|
||||
|
||||
void hal_wait(uint32_t ms) {
|
||||
|
Reference in New Issue
Block a user