[libj6] Move remaining j6 headers out of src/include
This means the kernel now depends on libj6. I've added the macro definition __j6kernel when building for the kernel target, so I can remove parts with #ifdefs.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
// The kernel depends on libj6 for some shared code,
|
||||
// but should not include the user-specific code.
|
||||
#ifndef __j6kernel
|
||||
|
||||
#include <stdint.h>
|
||||
#include <j6/init.h>
|
||||
#include <j6/types.h>
|
||||
@@ -39,3 +43,5 @@ _init_libj6(uint64_t *rsp)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif // __j6kernel
|
||||
|
||||
Reference in New Issue
Block a user