[TOOLCHAIN] Making musl portable

This commit is contained in:
2017-02-09 19:47:07 +01:00
parent a7d2b24a79
commit 8d1e693884
10 changed files with 207 additions and 6 deletions

View File

@@ -4,6 +4,7 @@
#include <msr.h>
#include <gdt.h>
#include <registers.h>
#include "../../libc/syscall_num.h"
extern void syscall_entry();
@@ -52,7 +53,7 @@ void syscall_init()
syscall_installed = 1;
memset(syscall_handlers, 0, 1024*sizeof(syscall_handler_t));
SYSCALL_REGISTER(debug, 0x3FF);
SYSCALL_REGISTER(debug, SYS_DEBUG);
}
}