diff options
author | Nathan Ringo <nathan@remexre.com> | 2024-11-18 00:34:23 -0600 |
---|---|---|
committer | Nathan Ringo <nathan@remexre.com> | 2024-11-18 00:34:23 -0600 |
commit | 943a6597b2bcd1b3ed208458a5cba61ad5b4051c (patch) | |
tree | d0acf34996941417aca241f5f01e399aaa90af39 /src/platform.h | |
parent | 57331ba9756df043b5c665aa4952a0a7b38799e5 (diff) |
...
Diffstat (limited to 'src/platform.h')
-rw-r--r-- | src/platform.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/platform.h b/src/platform.h new file mode 100644 index 0000000..2dbfd26 --- /dev/null +++ b/src/platform.h @@ -0,0 +1,13 @@ +#ifndef IMB3_PLATFORM_H +#define IMB3_PLATFORM_H + +#include <stddef.h> +#include <stdnoreturn.h> + +size_t get_l1d_size(void); +size_t get_l3_size(void); + +void panic_begin(void); +noreturn void panic_end(void); + +#endif // IMB3_PLATFORM_H |