Reorganize libmsl
This commit is contained in:
1
libmsl/.gitignore
vendored
1
libmsl/.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
*.o
|
||||
*.json
|
||||
docs/
|
||||
.cache/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <liballoc.h>
|
||||
#include <m/system.h>
|
||||
#include <stdint.h>
|
||||
#include <system.h>
|
||||
|
||||
extern volatile uint8_t __bss_start[];
|
||||
extern volatile uint8_t __bss_end[];
|
||||
|
||||
1
libmsl/m/.gitignore
vendored
1
libmsl/m/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
*.o
|
||||
@@ -1,3 +0,0 @@
|
||||
c += m/system.c
|
||||
|
||||
o += m/system.o
|
||||
@@ -1,3 +1,6 @@
|
||||
include $(platform)/src.mk
|
||||
include init/src.mk
|
||||
include m/src.mk
|
||||
|
||||
c += system.c
|
||||
|
||||
o += system.o
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <m/syscall.h>
|
||||
#include <m/system.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <syscall.h>
|
||||
#include <system.h>
|
||||
|
||||
#define do_syscall1(id, a1, a2, a3, a4, a5, a6, ...) \
|
||||
syscall (id, (uintptr_t)a1, (uintptr_t)a2, (uintptr_t)a3, (uintptr_t)a4, (uintptr_t)a5, \
|
||||
Reference in New Issue
Block a user