Created
January 25, 2018 16:11
-
-
Save puppykitten/fbe81b97bec1018b71eb4750454b71ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Possible MCP Command IDs | |
* Command ID must be between 0 and 0x7FFFFFFF. | |
*/ | |
enum cmd_id { | |
/** Invalid command ID */ | |
MC_MCP_CMD_ID_INVALID = 0x00, | |
/** Open a session */ | |
MC_MCP_CMD_OPEN_SESSION = 0x01, | |
/** Close an existing session */ | |
MC_MCP_CMD_CLOSE_SESSION = 0x03, | |
/** Map WSM to session */ | |
MC_MCP_CMD_MAP = 0x04, | |
/** Unmap WSM from session */ | |
MC_MCP_CMD_UNMAP = 0x05, | |
/** Prepare for suspend */ | |
MC_MCP_CMD_SUSPEND = 0x06, | |
/** Resume from suspension */ | |
MC_MCP_CMD_RESUME = 0x07, | |
/** Get MobiCore version information */ | |
MC_MCP_CMD_GET_MOBICORE_VERSION = 0x09, | |
/** Close MCP and unmap MCI */ | |
MC_MCP_CMD_CLOSE_MCP = 0x0A, | |
/** Load token for device attestation */ | |
MC_MCP_CMD_LOAD_TOKEN = 0x0B, | |
/** Check that TA can be loaded */ | |
MC_MCP_CMD_CHECK_LOAD_TA = 0x0C, | |
/** Map multiple WSMs to session */ | |
MC_MCP_CMD_MULTIMAP = 0x0D, | |
/** Unmap multiple WSMs to session */ | |
MC_MCP_CMD_MULTIUNMAP = 0x0E, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment