F00D Key Ring Controller

From Vita Development Wiki
Revision as of 16:51, 27 February 2018 by Proxima (talk | contribs) (Created page with " Key Ring Controller is at 0xE0030000: <pre> +0x00 = EEP_DATA0 +0x04 = EEP_DATA1 +0x08 = EEP_DATA2 +0x0C = EEP_DATA3 +0x10 = EEP_DATA4 +0x14 = EEP_DATA5 +0x18 = ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
  +0x24 = EEP_SET_PROTECTION
  +0x28 = EEP_GET_PROTECTION_REQ
  +0x2C = EEP_GET_PROTECTION_RESP

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.