mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
Kernel+LibC: Implement pthread_create
for AArch64
Instead of storing x86_64 register names in `SC_create_thread_params`, let the Kernel figure out how to pass the parameters to `pthread_create_helper`.
This commit is contained in:
parent
9b9cc76b1d
commit
d205814da6
3 changed files with 20 additions and 22 deletions
|
@ -370,12 +370,8 @@ struct SC_create_thread_params {
|
|||
unsigned int reported_guard_page_size = 0; // The lie we tell callers
|
||||
unsigned int stack_size = 1 * MiB; // Equal to Thread::default_userspace_stack_size
|
||||
void* stack_location; // nullptr means any, o.w. process virtual address
|
||||
# if ARCH(X86_64)
|
||||
FlatPtr rdi;
|
||||
FlatPtr rsi;
|
||||
FlatPtr rcx;
|
||||
FlatPtr rdx;
|
||||
# endif
|
||||
void* (*entry)(void*);
|
||||
void* entry_argument;
|
||||
};
|
||||
|
||||
struct SC_realpath_params {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue