Kernel: Replace raw asm functions with naked ones

This commit is contained in:
Hendiadyoin1 2021-07-05 15:34:07 +02:00 committed by Gunnar Beutner
commit 9b7e48c6bd
Notes: sideshowbarker 2024-07-18 10:23:12 +09:00
7 changed files with 203 additions and 202 deletions

View file

@ -32,6 +32,11 @@ struct ProcessorMessageEntry;
struct TrapFrame;
class ProcessorInfo;
// FIXME: Find a better place for these
extern "C" void thread_context_first_enter(void);
extern "C" void exit_kernel_thread(void);
extern "C" void do_assume_context(Thread* thread, u32 flags);
struct [[gnu::aligned(16)]] FPUState
{
u8 buffer[512];