mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 14:35:17 -04:00
Loader: Save process->is_64_bit as prep for ldr:ro
This commit is contained in:
parent
ea609e68d3
commit
82d9728372
3 changed files with 11 additions and 3 deletions
|
@ -25,6 +25,7 @@ class Registration {
|
|||
|
||||
struct Process {
|
||||
bool in_use;
|
||||
bool is_64_bit;
|
||||
u64 index;
|
||||
u64 process_id;
|
||||
u64 title_id_min;
|
||||
|
@ -44,7 +45,7 @@ class Registration {
|
|||
static Result get_registered_tid_sid(u64 index, Registration::TidSid *out);
|
||||
static bool register_tid_sid(const TidSid *tid_sid, u64 *out_index);
|
||||
static bool unregister_index(u64 index);
|
||||
static void set_process_id_and_tid_min(u64 index, u64 process_id, u64 tid_min);
|
||||
static void set_process_id_tid_min_and_is_64_bit(u64 index, u64 process_id, u64 tid_min, bool is_64_bit);
|
||||
static void add_nso_info(u64 index, u64 base_address, u64 size, const unsigned char *build_id);
|
||||
static Result get_nso_infos_for_process_id(NsoInfo *out, u32 max_out, u64 process_id, u32 *num_written);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue