OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f709758
)
nanohub HAL: define magic value for nanoapp
author
Alexey Polyudov
<apolyudov@google.com>
Thu, 28 Apr 2016 23:07:30 +0000
(16:07 -0700)
committer
Alexey Polyudov
<apolyudov@google.com>
Thu, 28 Apr 2016 23:09:54 +0000
(16:09 -0700)
Bug:
28265099
Change-Id: Ifd8082aa7a72af9a02e9ad6bc66100e465f46ec0
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
include/hardware/context_hub.h
patch
|
blob
|
history
diff --git
a/include/hardware/context_hub.h
b/include/hardware/context_hub.h
index
4b47b64
..
e4d50ef
100644
(file)
--- a/
include/hardware/context_hub.h
+++ b/
include/hardware/context_hub.h
@@
-121,6
+121,7
@@
struct mem_range_t {
#define NANOAPP_SIGNED_FLAG 0x1
#define NANOAPP_ENCRYPTED_FLAG 0x2
+#define NANOAPP_MAGIC (((uint32_t)'N' << 0) | ((uint32_t)'A' << 8) | ((uint32_t)'N' << 16) | ((uint32_t)'O' << 24))
// The binary format below is in little endian format
struct nano_app_binary_t {