summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Dooley <dooleyc@google.com>2020-06-10 15:18:16 -0700
committerCraig Dooley <dooleyc@google.com>2020-06-10 15:18:16 -0700
commitc5d5bbcc175521ebf37fc9a5ab912ba1846f47cc (patch)
treec190c68738a757ac112f0e32473ee27260854be7
parent17e0e79a2b4c9a446636b0ba2765a4a3b330539e (diff)
downloadaoc-c5d5bbcc175521ebf37fc9a5ab912ba1846f47cc.tar.gz
Update aoc interface to match 6573538
Change-Id: Id1e16ef99a3951ed605064ff0de385ce0427cd26
-rw-r--r--aoc-interface.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/aoc-interface.h b/aoc-interface.h
index 18f6bfc..478a79f 100644
--- a/aoc-interface.h
+++ b/aoc-interface.h
@@ -18,7 +18,7 @@
* Autogenerated AoC interface matching AoC source code
* associated with the following source code:
*
- * hash: f1d8bf3195d99a8906ed998162bc50b64b197639
+ * hash: 281454d541054dade40d826a1836ad537eeca023
*
* DO NOT MODIFY THIS FILE
*
@@ -80,6 +80,7 @@ enum AOC_COMMAND {
CMD_DBG_IPC_CHANNELS_ID = 36, /* -> struct CMD_CORE_GENERIC */
CMD_DBG_MEM_SET_ID = 37, /* -> struct CMD_DBG_MEM_SET */
CMD_DBG_MEM_DUMP_ID = 38, /* -> struct CMD_DBG_MEM_DUMP */
+ CMD_MEM_MAP_REGION_ID = 43, /* -> struct CMD_MEM_MAP_REGION */
CMD_IPC_NOTIF_ENABLE_ID = 100, /* -> struct CMD_IPC_NOTIF_ENABLE */
CMD_AUDIO_OUTPUT_SINK_ID = 200, /* -> struct CMD_AUDIO_OUTPUT_SINK */
CMD_DIAG_CORE_POWER_ID = 200, /* -> struct CMD_DIAG_CORE_POWER */
@@ -424,6 +425,19 @@ struct CMD_DBG_MEM_DUMP {
uint32_t size;
} __attribute__((packed));
+/**
+ * Structure associated with the following commands:
+ *
+ * CMD_MEM_MAP_REGION_ID, UUID: 6fb53cb69db0955c4eeebe869e588b0a
+ */
+struct CMD_MEM_MAP_REGION {
+ struct CMD_CORE_GENERIC parent;
+ uint32_t handle;
+ uint32_t base;
+ uint32_t size;
+ uint8_t mapped;
+} __attribute__((packed));
+
enum BTDecoderOutputIndex {
BT_MODEM_OUTPUT_INDEX = 0,
BT_AP_OUTPUT_INDEX,
@@ -592,12 +606,13 @@ enum EntrypointMode {
ENTRYPOINT_MODE_HAPTICS,
ENTRYPOINT_MODE_DECODE_OFFLOAD,
ENTRYPOINT_MODE_SIGGEN,
+ ENTRYPOINT_MODE_BT_RX,
};
/**
* Structure associated with the following commands:
*
- * CMD_AUDIO_OUTPUT_SOURCE_ID, UUID: f85277fb09319ffd8d3081edce3bf2d8
+ * CMD_AUDIO_OUTPUT_SOURCE_ID, UUID: f65aadc40894176f912aa64c16d2f3f1
*/
struct CMD_AUDIO_OUTPUT_SOURCE {
struct CMD_HDR parent;
@@ -948,7 +963,7 @@ static inline void AocCmdHdrSet(struct CMD_HDR * cmd, uint16_t id, uint16_t leng
/**
* Total number of UUID strings to check against the FW image.
*/
-#define AOC_UUID_ENTRIES (85)
+#define AOC_UUID_ENTRIES (86)
/**
* UUID entry size.
@@ -1001,6 +1016,7 @@ inline int AocInterfaceCheck(const void * addr, int size) {
{ 0x6b, 0xdc, 0x28, 0x39, 0x84, 0xc7, 0x7a, 0xad, 0x03, 0x29, 0x0d, 0x6f, 0xa9, 0x72, 0xb5, 0xe1},
{ 0x6d, 0xaf, 0xca, 0x1b, 0x50, 0xff, 0x4f, 0x7a, 0xac, 0xc4, 0x00, 0x6c, 0x0e, 0x10, 0x4b, 0x7e},
{ 0x6f, 0x28, 0xfd, 0x11, 0x18, 0x83, 0x21, 0xfc, 0xb9, 0x52, 0x7b, 0x10, 0x74, 0xba, 0xf1, 0xce},
+ { 0x6f, 0xb5, 0x3c, 0xb6, 0x9d, 0xb0, 0x95, 0x5c, 0x4e, 0xee, 0xbe, 0x86, 0x9e, 0x58, 0x8b, 0x0a},
{ 0x6f, 0xf8, 0xa9, 0xe0, 0x24, 0x99, 0x04, 0xd2, 0x05, 0x9b, 0xb0, 0x69, 0xdf, 0xcd, 0x53, 0x57},
{ 0x71, 0x88, 0x02, 0x9a, 0x1f, 0xbb, 0x34, 0x6b, 0xc5, 0x32, 0x25, 0xb3, 0xaf, 0xe5, 0xb0, 0x30},
{ 0x71, 0xbc, 0x54, 0x8e, 0x4d, 0x11, 0x01, 0x6c, 0x86, 0xef, 0x26, 0x7c, 0x16, 0xa1, 0x61, 0xd9},
@@ -1047,8 +1063,8 @@ inline int AocInterfaceCheck(const void * addr, int size) {
{ 0xea, 0x10, 0xbd, 0xf9, 0xc5, 0x6e, 0x30, 0x3a, 0x65, 0x87, 0x6f, 0xa5, 0x1b, 0x06, 0x81, 0xc4},
{ 0xec, 0x3f, 0x82, 0xe3, 0x6a, 0x54, 0x92, 0xba, 0x8e, 0xde, 0xc5, 0xee, 0x7d, 0xd2, 0x87, 0xc2},
{ 0xf5, 0xa3, 0x64, 0x79, 0x63, 0x76, 0x21, 0x19, 0xf5, 0x07, 0x66, 0x49, 0xd7, 0x63, 0x12, 0x51},
+ { 0xf6, 0x5a, 0xad, 0xc4, 0x08, 0x94, 0x17, 0x6f, 0x91, 0x2a, 0xa6, 0x4c, 0x16, 0xd2, 0xf3, 0xf1},
{ 0xf7, 0xe3, 0x4f, 0x17, 0xde, 0x0d, 0x45, 0x67, 0x48, 0x18, 0xcf, 0x59, 0xe1, 0xee, 0x45, 0xd1},
- { 0xf8, 0x52, 0x77, 0xfb, 0x09, 0x31, 0x9f, 0xfd, 0x8d, 0x30, 0x81, 0xed, 0xce, 0x3b, 0xf2, 0xd8},
{ 0xf8, 0x92, 0x39, 0x96, 0x3c, 0x88, 0x14, 0x25, 0xd9, 0x19, 0x52, 0x74, 0x52, 0xee, 0xdc, 0xc7},
{ 0xfb, 0xb5, 0x37, 0x08, 0x5a, 0xce, 0x74, 0x93, 0xc9, 0xee, 0x32, 0x08, 0xce, 0xaf, 0x8b, 0xdb},
};