Implement Panic() stub.

This commit is contained in:
Michael Scire 2018-02-27 19:43:07 -08:00
parent fba3d1c2d9
commit 66b3b3a706
6 changed files with 59 additions and 9 deletions

View file

@ -13,8 +13,8 @@
#define ALINLINE __attribute__((always_inline))
void panic(uint32_t code);
void generic_panic(void);
__attribute__ ((noreturn)) void panic(uint32_t code);
__attribute__ ((noreturn)) void generic_panic(void);
bool overlaps(uint64_t as, uint64_t ae, uint64_t bs, uint64_t be);
static inline uintptr_t get_physical_address(const void *vaddr) {