[kernel] Move 'table' includes to j6/tables

Move all table-style include files that are part of the public kernel
interface to the j6/tables include path
This commit is contained in:
Justin C. Miller
2021-01-28 18:42:42 -08:00
parent 3aa909b917
commit c3dd65457d
15 changed files with 10 additions and 43 deletions

View File

@@ -8,7 +8,7 @@ struct cpu_state;
enum class syscall : uint64_t
{
#define SYSCALL(id, name, ...) name = id,
#include "syscalls.inc"
#include "j6/tables/syscalls.inc"
#undef SYSCALL
// Maximum syscall id. If you change this, also change
@@ -21,6 +21,6 @@ void syscall_enable();
namespace syscalls
{
#define SYSCALL(id, name, ...) j6_status_t name (__VA_ARGS__);
#include "syscalls.inc"
#include "j6/tables/syscalls.inc"
#undef SYSCALL
}