iBoot (Enums)

From The iPhone Wiki
Revision as of 07:22, 7 November 2009 by Posixninja (talk | contribs)
Jump to: navigation, search

USB

FFFFFFFF ; enum bState_Types
FFFFFFFF DFU_STATE_IDLE   EQU 0
FFFFFFFF DFU_STATE_WAITING_FOR_RESET  EQU 1
FFFFFFFF DFU_STATE_WAITING_FOR_REQ  EQU 2
FFFFFFFF DFU_STATE_WAITING_FOR_GETSTATUS  EQU 3
FFFFFFFF DFU_STATE_DOWNLOADING  EQU 4
FFFFFFFF DFU_STATE_PROCESSING_DOWNLOAD_OP  EQU 5
FFFFFFFF DFU_STATE_WAITING_FOR_GETSTATUS_RECEIPT  EQU 6
FFFFFFFF DFU_STATE_WAITING_FOR_MANIFESTATION  EQU 7
FFFFFFFF DFU_STATE_WAITING_FOR_POWER_RESET  EQU 8
FFFFFFFF DFU_STATE_PROCESSING_UPLOAD_OP  EQU 9
FFFFFFFF DFU_STATE_ERROR  EQU 0xA

Hardware

FFFFFFFF ; enum AES_TYPE
FFFFFFFF Regular          EQU 0
FFFFFFFF GID              EQU 1
FFFFFFFF UID              EQU 2
FFFFFFFF ; enum PROCESSOR_MODES
FFFFFFFF NORMAL           EQU 0x10
FFFFFFFF FIQ              EQU 0x11
FFFFFFFF IRQ              EQU 0x12
FFFFFFFF SUPERVISOR       EQU 0x13
FFFFFFFF ABORT            EQU 0x17
FFFFFFFF UNDEFINED        EQU 0x1B
FFFFFFFF PRIViLEDGED      EQU 0x1F
FFFFFFFF ; enum ERROR_CODES
FFFFFFFF NOT_DIAGNOSTIC_DEVICE  EQU 1
FFFFFFFF CRYPT_FAIL       EQU 5
FFFFFFFF MALLOC_FAIL      EQU 0xC
FFFFFFFF GENERIC_ERROR    EQU 0x16
FFFFFFFF ; enum AESSize
FFFFFFFF AES128           EQU 0x80
FFFFFFFF AES192           EQU 0xC0
FFFFFFFF AES256           EQU 0x100
FFFFFFF ; enum CryptOption
FFFFFFFF Encrypt          EQU 0x10
FFFFFFFF Decrypt          EQU 0x11