Created
January 28, 2018 08:26
-
-
Save puppykitten/ca2a7e00aee9c8cf7a2d0caba56ccc3f 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 message types/event types of the system. */ | |
typedef enum { | |
MSG_NULL = 0, // Used for initializing state machines | |
/***************/ | |
MSG_RQ = 1, /**< Request; client -> server; */ | |
MSG_RS = 2, /**< Response; server -> client */ | |
MSG_RD = 3, /**< Ready; server -> IPCH */ | |
MSG_NOT = 4, /**< Notification; client -> IPCH; */ | |
MSG_CLOSE_TRUSTLET = 5, /**< Close Trustlet; MSH -> IPCH; IPCH -> all servers */ | |
MSG_CLOSE_TRUSTLET_ACK = 6, /**< Close Trustlet Ack; servers -> IPCH */ | |
MSG_MAP = 7, /**< Map; driver <-> IPCH; */ | |
MSG_ERR_NOT = 8, /**< Error Notification; EXCH/SIQH -> IPCH; */ | |
MSG_CLOSE_DRIVER = 9, /**< Close driver; MSH -> IPCH; IPCH -> driver */ | |
MSG_CLOSE_DRIVER_ACK = 10, /**< Close driver Ack; driver -> IPCH; IPCH -> MSH */ | |
MSG_GET_DRIVER_VERSION = 11, /**< GetDriverVersion; client <--> IPCH */ | |
MSG_GET_DRAPI_VERSION = 12, /**< GetDrApiVersion; driver <--> IPCH */ | |
MSG_SET_NOTIFICATION_HANDLER = 13, // Driver <-> IPCH | |
MSG_DRV_NOT = 15, // Driver -> Trustlet | |
MSG_SET_FASTCALL_HANDLER = 16, // Driver <-> IPCH | |
MSG_GET_CLIENT_ROOT_AND_SP_ID = 17, // Driver <-> IPCH | |
MSG_CALL_FASTCALL = 25, // DRIVER -> IPCH -> Kernel | |
MSG_GET_CLI_UUID = 26, // Driver <-> IPCH | |
MSG_RQ_2 = 27, // Client -> Server | |
MSG_MAP_VA_DIRECT = 31, // DRIVER <-> IPCH | |
MSG_MAP_PY_DIRECT = 32, // DRIVER <-> IPCH | |
MSG_UNMAP_PY_DIRECT = 33, // DRIVER <-> IPCH | |
MSG_GET_MEM_TYPE = 34, // DRIVER <-> IPCH | |
MSG_UNMAP_VA_DIRECT = 35 // DRIVER <-> IPCH | |
} message_t; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment