securemsm-kernel: smcinvoke: Move TZ min buf size to header file

Move SMCINVOKE_TZ_MIN_BUF_SIZE to header file so that it can
be used by userspace modules.

Change-Id: I1f690c2507c6694175c317fe14fcca21cc907714
此提交包含在:
Anmolpreet Kaur
2023-03-06 22:21:43 +05:30
提交者 Gerrit - the friendly Code Review server
父節點 b56eed703e
當前提交 50fd822191
共有 2 個檔案被更改,包括 1 行新增1 行删除

查看文件

@@ -11,6 +11,7 @@
#define SMCINVOKE_USERSPACE_OBJ_NULL -1
#define DEFAULT_CB_OBJ_THREAD_CNT 4
#define SMCINVOKE_TZ_MIN_BUF_SIZE 4096
struct smcinvoke_buf {
__u64 addr;

查看文件

@@ -47,7 +47,6 @@
#define SMCINVOKE_DEV "smcinvoke"
#define SMCINVOKE_TZ_ROOT_OBJ 1
#define SMCINVOKE_TZ_OBJ_NULL 0
#define SMCINVOKE_TZ_MIN_BUF_SIZE 4096
#define SMCINVOKE_ARGS_ALIGN_SIZE (sizeof(uint64_t))
#define SMCINVOKE_NEXT_AVAILABLE_TXN 0
#define SMCINVOKE_REQ_PLACED 1