mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 18:39:16 +00:00
kernel: add aarch64 architecture support
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -25,6 +25,10 @@ using namespace vfs;
|
||||
|
||||
nsa void cmd_panic(const char *)
|
||||
{
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
asmv("int $0x0");
|
||||
#elif defined(__aarch64__)
|
||||
asmv("brk #0");
|
||||
#endif
|
||||
__unreachable;
|
||||
}
|
||||
|
Reference in New Issue
Block a user