Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Auto-generate libc / kernel header files, as in granary1 #30

Open
pgoodman opened this issue Sep 12, 2014 · 2 comments
Open

Auto-generate libc / kernel header files, as in granary1 #30

pgoodman opened this issue Sep 12, 2014 · 2 comments

Comments

@pgoodman
Copy link
Member

I think it will be necessary to do something similar to what the make types and make types KERNEL=0 steps of granary1 did and auto-generate a header file that defines all macros in libc/the kernel, as well as gives type definitions for every structure. This can then be included as #include <os.h> or something, in the same way that granary clients do #include <granary.h>.

@pgoodman
Copy link
Member Author

This is partially done. For user space it works, but there are issues with kernel-space compatibility.

@pgoodman
Copy link
Member Author

So this was done for user space some time ago. For kernel space I hit some funny issues related to compilation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant