Advertisement
Guest User

PS3 CXR Syscon EEPROM temp control region

a guest
Jan 13th, 2020
668
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.03 KB | None | 0 0
  1. struct fan_table_old {
  2.     u8 duties[0xA];
  3.     u16 TempU[0xA];
  4.     u16 TempD[0xA];
  5.     u8 minduty;
  6.     u8 maxduty;
  7.     u8 policy;
  8.     u8 select;
  9.     u8 active;
  10.     u8 reserved[0x9];
  11. }; // 0x40
  12.  
  13. struct fan_table_new {
  14.     u8 duty[0x14];
  15.     u16 tempu[0x14];
  16.     u16 tempd[0x14];
  17.     u8 minduty;
  18.     u8 maxduty;
  19.     u8 policy;
  20.     u8 select;
  21.     u8 active;
  22.     u8 reserved[0x17];
  23. }; // 0x80
  24.  
  25. struct special_section  {
  26.     u16 thermal_shutdown_time;
  27.     u8  unknown0;  // ?
  28.     u8  initial_fan_duty;
  29.     u8  initial_fan_time;
  30.     u8  unknown1[0xB]; // ?
  31.     u16 ini_trp_cell;
  32.     u16 shutdown_temp_cell;
  33.     u16 ini_hyst_cell;
  34.     u16 ini_trp_rsx;
  35.     u16 shutdown_temp_rsx;
  36.     u16 ini_hyst_rsx;
  37.     u16 ini_trp_zone2;
  38.     u16 shutdown_temp_zone2;
  39.     u16 ini_hyst_zone2;
  40.     u16 ini_trp_bevr;
  41.     u16 shutdown_temp_bevr;
  42.     u16 ini_hyst_bevr;
  43.     u16 ini_trp_zone4:
  44.     u16 shutdown_temp_zone4;
  45.     u16 ini_hyst_zone4;
  46.     u8  unknown2; // ?
  47.     u8  reserved[0x4F];
  48. }; // 0x7E
  49.  
  50. struct tmp_ctrl {
  51. #ifdef COK
  52.     fan_table_old tables[6];
  53. #else
  54.     fan_table_new tables[3];
  55. #endif
  56.     special_section misc;
  57.     u16 checksum;
  58. }; // 0x200
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement