mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:57:44 +00:00
Kernel/riscv64: Make the kernel compile
This commits inserts TODOs into all necessary places to make the kernel compile on riscv64!
This commit is contained in:
parent
b6ac2ed34d
commit
da88d766b2
37 changed files with 633 additions and 5 deletions
|
@ -258,6 +258,9 @@ ErrorOr<FlatPtr> Thread::peek_debug_register(u32 register_index)
|
|||
#elif ARCH(AARCH64)
|
||||
(void)register_index;
|
||||
TODO_AARCH64();
|
||||
#elif ARCH(RISCV64)
|
||||
(void)register_index;
|
||||
TODO_RISCV64();
|
||||
#else
|
||||
# error "Unknown architecture"
|
||||
#endif
|
||||
|
@ -290,6 +293,10 @@ ErrorOr<void> Thread::poke_debug_register(u32 register_index, FlatPtr data)
|
|||
(void)register_index;
|
||||
(void)data;
|
||||
TODO_AARCH64();
|
||||
#elif ARCH(RISCV64)
|
||||
(void)register_index;
|
||||
(void)data;
|
||||
TODO_RISCV64();
|
||||
#else
|
||||
# error "Unknown architecture"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue