summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Dooley <dooleyc@google.com>2020-02-10 14:39:29 -0800
committerCraig Dooley <dooleyc@google.com>2020-02-10 14:41:55 -0800
commit8d886c7d7b57069921fe2dde8ac9a892f891da10 (patch)
tree907682d1894925e9a48f14237418a5bb3357769a
parentdff096065fbfced9f05429da19b675f5b3a89c9b (diff)
downloadaoc-ipc-8d886c7d7b57069921fe2dde8ac9a892f891da10.tar.gz
Add a text string representing the version
Change-Id: Ic89640d51b4bbc8707124d0ad0d650c094fd4155
-rw-r--r--aoc_ipc_core_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/aoc_ipc_core_internal.h b/aoc_ipc_core_internal.h
index d2b329e..f2cff3a 100644
--- a/aoc_ipc_core_internal.h
+++ b/aoc_ipc_core_internal.h
@@ -40,6 +40,7 @@ extern "C" {
#endif
#define AOC_SERVICE_NAME_LENGTH 32
+#define AOC_VERSION_LENGTH 48
#define AOC_SERVICE_FLAG_SYSTEM_MASK 0xffff0000
#define AOC_SERVICE_FLAG_RING 0x00010000
@@ -54,6 +55,8 @@ struct aoc_control_block {
u32 services;
u32 service_size;
u32 services_offset;
+ u8 fw_version_name[AOC_VERSION_LENGTH];
+ u8 hw_version_name[AOC_VERSION_LENGTH];
} __attribute__((packed, aligned(4)));
struct aoc_ipc_memory_region {