Editing Loaders
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 8: | Line 8: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Loader !! Location !! Type | ! Loader !! Location !! Type !! Remarks | ||
|- | |- | ||
| bootldr || [[Flash]] || Boot Loader | | bootldr || [[Flash]] || Boot Loader || primary loader from chain of trust | ||
|- | |- | ||
| metldr || [[Flash]] || Meta Loader | | metldr || [[Flash]] || Meta Loader || aka asecure_loader. Loads other loaders | ||
|- | |- | ||
| appldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Application Loader | | appldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Application Loader || loads userspace [f]selfs e.g. [[VSH|vsh.self]], videoplayer_plugin.sprx, disc EBOOT.BINs, NPDRM EBOOT.BINs | ||
|- | |- | ||
| isoldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Isolation Loader | | isoldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Isolation Loader || loading [[Iso module|isolated SPU modules]] | ||
|- | |- | ||
| lv1ldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Hypervisor Loader | | lv1ldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Hypervisor Loader || loads [[lv1.self]] ([[Hypervisor_Reverse_Engineering|Hypervisor]]) | ||
|- | |- | ||
| lv2ldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Supervisor Loader | | lv2ldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Supervisor Loader || loads lv2_kernel.self (Supervisor kernel) | ||
|- | |- | ||
|} | |} | ||
Line 156: | Line 156: | ||
=== appldr === | === appldr === | ||
Used to verify and decrypt | Used to verify and decrypt userland program/data segments (system libraries, vsh and its modules, games, edat and sdat files) | ||
==== LS Parameters layout ==== | ==== LS Parameters layout ==== | ||
Line 166: | Line 165: | ||
| 0x3E000 || Wait flag || If (flag==0){wait;} // use 0xFF00000000ULL | | 0x3E000 || Wait flag || If (flag==0){wait;} // use 0xFF00000000ULL | ||
|- | |- | ||
| 0x3E400 || EID0 || | | 0x3E400 || EID0 || | ||
|- | |- | ||
| 0x3E800 || Arguments || | | 0x3E800 || Arguments || | ||
|- | |- | ||
| 0x3EC00 || QA-Flag Info|| u64 qaflag_exist_flag //If existed, set to 0, otherwise -1<BR>u64 unk0 //always 0<BR>u8[0x50] qa_token<BR>u8[0x2A] qa_token_signature<BR>u8[0x6] padding | | 0x3EC00 || QA-Flag Info|| u64 qaflag_exist_flag //If existed, set to 0, otherwise -1<BR>u64 unk0 //always 0<BR>u8[0x50] qa_token<BR>u8[0x2A] qa_token_signature<BR>u8[0x6] padding | ||
Line 176: | Line 175: | ||
| 0x3F000 || Program revoke list || | | 0x3F000 || Program revoke list || | ||
|} | |} | ||
==== Arguments ==== | ==== Arguments ==== | ||
Line 208: | Line 208: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Size !! Name !! | ! Size !! Name !! Offset | ||
|- | |- | ||
|u64 || | |u64 || unk0 || 0 | ||
|- | |- | ||
|u64 || | |u64 || unk1 || 8 | ||
|- | |- | ||
| || || | |u64 || unk2 || 0x10 | ||
|- | |- | ||
|u64 || | |u64 || self_header_addr || 0x18 | ||
|- | |- | ||
| || || | | || || | ||
|- | |- | ||
| | |u8[0x10] || npdrm_license_key || 0x60 | ||
|- | |- | ||
| | | || || | ||
|} | |} | ||