mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
cpu_init removed
This commit is contained in:
parent
949200cd3e
commit
5e0489dcc0
10 changed files with 34 additions and 52 deletions
|
|
@ -636,12 +636,9 @@ void arm_load_exec(const arm_exec_object& elf)
|
|||
const u32 stack_size = proc_param->sceUserMainThreadStackSize ? proc_param->sceUserMainThreadStackSize->value() : 256 * 1024;
|
||||
const u32 priority = proc_param->sceUserMainThreadPriority ? proc_param->sceUserMainThreadPriority->value() : 160;
|
||||
|
||||
auto thread = idm::make_ptr<ARMv7Thread>(thread_name);
|
||||
auto thread = idm::make_ptr<ARMv7Thread>(thread_name, priority, stack_size);
|
||||
|
||||
thread->PC = entry_point;
|
||||
thread->stack_size = stack_size;
|
||||
thread->prio = priority;
|
||||
thread->cpu_init();
|
||||
thread->write_pc(entry_point, 0);
|
||||
thread->TLS = fxm::make_always<arm_tls_manager>(tls_faddr + start_addr, tls_fsize, tls_vsize)->alloc();
|
||||
|
||||
// Initialize args
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue