summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sgx/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/sgx/defines.h')
-rw-r--r--tools/testing/selftests/sgx/defines.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/testing/selftests/sgx/defines.h b/tools/testing/selftests/sgx/defines.h
index 6ff95a766287..9ea0c7882dfb 100644
--- a/tools/testing/selftests/sgx/defines.h
+++ b/tools/testing/selftests/sgx/defines.h
@@ -19,8 +19,8 @@
#include "../../../../arch/x86/include/uapi/asm/sgx.h"
enum encl_op_type {
- ENCL_OP_PUT,
- ENCL_OP_GET,
+ ENCL_OP_PUT_TO_BUFFER,
+ ENCL_OP_GET_FROM_BUFFER,
ENCL_OP_MAX,
};
@@ -28,12 +28,12 @@ struct encl_op_header {
uint64_t type;
};
-struct encl_op_put {
+struct encl_op_put_to_buf {
struct encl_op_header header;
uint64_t value;
};
-struct encl_op_get {
+struct encl_op_get_from_buf {
struct encl_op_header header;
uint64_t value;
};