mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
Kernel: Add more stubs needed for Thread.cpp
This commit is contained in:
parent
1e3edb3b76
commit
69efded562
4 changed files with 27 additions and 0 deletions
|
@ -101,6 +101,8 @@ Thread::Thread(NonnullLockRefPtr<Process> process, NonnullOwnPtr<Memory::Region>
|
|||
m_regs.cs = GDT_SELECTOR_CODE0;
|
||||
else
|
||||
m_regs.cs = GDT_SELECTOR_CODE3 | 3;
|
||||
#elif ARCH(AARCH64)
|
||||
TODO_AARCH64();
|
||||
#else
|
||||
# error Unknown architecture
|
||||
#endif
|
||||
|
@ -1153,6 +1155,9 @@ DispatchSignalResult Thread::dispatch_signal(u8 signal)
|
|||
constexpr static FlatPtr thread_red_zone_size = 0;
|
||||
#elif ARCH(X86_64)
|
||||
constexpr static FlatPtr thread_red_zone_size = 128;
|
||||
#elif ARCH(AARCH64)
|
||||
constexpr static FlatPtr thread_red_zone_size = 0; // FIXME
|
||||
TODO_AARCH64();
|
||||
#else
|
||||
# error Unknown architecture in dispatch_signal
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue