Editing Program Vender Id

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 1: Line 1:
Temp name was Vendor ID. Official name is program_vender_id.
For some reason it was named program_vendor_id.


== PS3 ==
== PS3 ==
Line 5: Line 5:
In geohot's makeself it was used as: <code>set_u32(&(output_self_info_header.i_magic), 0x01000002);</code>.
In geohot's makeself it was used as: <code>set_u32(&(output_self_info_header.i_magic), 0x01000002);</code>.


Not directly related to [[Authority ID]], but for PS3, it seems to have many similarities with it (program_vender_id = 2nd-9th bytes of program_authority_id). It seems also related to [[Hypervisor_Reverse_Engineering#Active_System_Managers_in_HV_dump_3.15|SM ; LPAR's]] and their order suggests hierarchy/permission from high (can do everything) to low (lesser abilities).
Not directly related to [[Authority ID]], but seems to have many similarities with it (vendorid = 2nd-9th bytes of authid). It seems also related to [[Hypervisor_Reverse_Engineering#Active_System_Managers_in_HV_dump_3.15|SM ; LPAR's]] and their order suggests hierarchy/permission from high (can do everything) to low (lesser abilities).


{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
! program_vender_id !! Count !! File type
! VendorID !! count !! filetype
|-
|-
| 0x00000000 || ? || lv0 / lv1 only before SDK 060
| 0x00000000 || ? || lv0 / lv1 only before SDK 060
Line 33: Line 33:


<source lang="C">
<source lang="C">
typedef struct program_vender_id {
typedef struct program_vendor_id {
   uint16_t territory;
   uint16_t territory;
   uint16_t guest_os_id;
   uint16_t guest_os_id;
} program_vender_id;
} program_vendor_id;
</source>
</source>


Note: first byte is territory value, last byte is guest_os_id. ?because of endianness that struct would be wrong then?
Note: first byte is territory value, last byte is guest_os_id.


=== Territory ===
=== Territory ===
To document.


=== Guest OS ID ===
=== Guest OS ID ===
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)