F00D Key Ring Controller

From Vita Development Wiki
Revision as of 22:02, 6 January 2019 by Yifan Lu (talk | contribs) (Yifan Lu moved page Private:Key Ring Controller to F00D Key Ring Controller without leaving a redirect)
Jump to navigation Jump to search

Key Ring Controller is at 0xE0030000:

  +0x00 = EEP_DATA0
  +0x04 = EEP_DATA1
  +0x08 = EEP_DATA2
  +0x0C = EEP_DATA3
  +0x10 = EEP_DATA4
  +0x14 = EEP_DATA5
  +0x18 = EEP_DATA6
  +0x1C = EEP_DATA7
  +0x20 = EEP_LINE

Writing line_id to EEP_LINE will trigger writing the EEP_DATA registers into said line.

Writing ((prot<<16)|line_id) to EEP_SET_PROTECTION protects a line. prot is a bit mask, 0x1000 makes reads from f00d return 0.

Writing line_id to EEP_GET_PROTECTION_REQ returns current prot in EEP_GET_PROTECTION_RESP.

This device is mapped to ScePervasiveResetReg +0x190 for controlling reset and enabling mask writing.