1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:17:35 +00:00

Kernel: Use FlatPtr for register-sized values

This commit is contained in:
Gunnar Beutner 2021-06-28 17:05:38 +02:00 committed by Andreas Kling
parent b5aad1c81d
commit a8587fbfb9
4 changed files with 5 additions and 5 deletions

View file

@ -437,7 +437,7 @@ public:
[[noreturn]] void initialize_context_switching(Thread& initial_thread);
NEVER_INLINE void switch_context(Thread*& from_thread, Thread*& to_thread);
[[noreturn]] static void assume_context(Thread& thread, FlatPtr flags);
u32 init_context(Thread& thread, bool leave_crit);
FlatPtr init_context(Thread& thread, bool leave_crit);
static Vector<FlatPtr> capture_stack_trace(Thread& thread, size_t max_frames = 0);
String platform_string() const;