From 240b51341a0de0442a3edb812c9ccbbe5e81abe1 Mon Sep 17 00:00:00 2001 From: Lihaha-Rich <13985390+lihaha-rich@user.noreply.gitee.com> Date: Thu, 13 Nov 2025 12:13:05 +0000 Subject: [PATCH 1/2] update core/tee_compat_check.h. Signed-off-by: Lihaha-Rich <13985390+lihaha-rich@user.noreply.gitee.com> --- core/tee_compat_check.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tee_compat_check.h b/core/tee_compat_check.h index 30800f4..00c6ab2 100644 --- a/core/tee_compat_check.h +++ b/core/tee_compat_check.h @@ -25,7 +25,7 @@ * this version number MAJOR.MINOR is used * to identify the compatibility of tzdriver and teeos */ -#define TEEOS_COMPAT_LEVEL_MAJOR 3 +#define TEEOS_COMPAT_LEVEL_MAJOR 4 #define TEEOS_COMPAT_LEVEL_MINOR 0 #define TZDRIVER_LEVEL_MAJOR_SELF 3 -- Gitee From b3e24340efc10ad45bb9ea852481927bb171d2e3 Mon Sep 17 00:00:00 2001 From: Lihaha-Rich <13985390+lihaha-rich@user.noreply.gitee.com> Date: Thu, 13 Nov 2025 12:14:34 +0000 Subject: [PATCH 2/2] update teek_ns_client.h. Signed-off-by: Lihaha-Rich <13985390+lihaha-rich@user.noreply.gitee.com> --- teek_ns_client.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teek_ns_client.h b/teek_ns_client.h index c51c8dd..b866b64 100644 --- a/teek_ns_client.h +++ b/teek_ns_client.h @@ -194,8 +194,11 @@ struct tc_ns_smc_cmd { unsigned int ca_pid; /* pid */ unsigned int pid; /* tgid */ unsigned int nsid; + unsigned int vmid; /* smp_smc_send_func will set vmid to 0, only 0 is allowed */ unsigned int eventindex; /* tee audit event index for upload */ + unsigned int res_int[3]; /* 3 is limited by size of tc_ns_smc_queue, can't exceed 3 */ bool started; + char res_chr[3]; /* 3 is limited by size of tc_ns_smc_queue, can't exceed 3 */ } __attribute__((__packed__)); /* -- Gitee