From cd04a5f1aadc8e2ec4e787f5ba4cc8c38a579314 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Tue, 18 Nov 2014 23:27:26 +0100 Subject: hwstub/qeditor: add support for atomic read/writes The current code assumed that READ/WRITE would produce atomic read/writes for 8/16/32-bit words, which in turned put assumption on the memcpy function. Since some memcpy implementation do not always guarantee such strong assumption, introduce two new operation READ/WRITE_ATOMIC which provide the necessary tools to do correct read and write to register in a single memory access. Change-Id: I37451bd5057bb0dcaf5a800d8aef8791c792a090 --- utils/hwstub/stub/protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/hwstub/stub/protocol.h') diff --git a/utils/hwstub/stub/protocol.h b/utils/hwstub/stub/protocol.h index e358bb0a36..d551342d4b 100644 --- a/utils/hwstub/stub/protocol.h +++ b/utils/hwstub/stub/protocol.h @@ -1,3 +1,3 @@ #include "../hwstub_protocol.h" -#define HWSTUB_VERSION_REV 1 \ No newline at end of file +#define HWSTUB_VERSION_REV 0 \ No newline at end of file -- cgit v1.2.3