Implement Panic() stub.

This commit is contained in:
Michael Scire committed 2018-02-27 19:43:07 -08:00
1 parent fba3d1c2d9
commit 66b3b3a706
6 files changed
+59 -9

No files matched your search

+2 -2
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) {