diff --git a/core/tee_compat_check.h b/core/tee_compat_check.h index 30800f430976b5789b921b8e783758841a57a301..00c6ab27b419cb7569039d0f10dbf1aaaa35eb6a 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 diff --git a/teek_ns_client.h b/teek_ns_client.h index c51c8dd0167729ffeda9dcdac71678712579135f..b866b64b20f8af097df2cd6d75ae66598aa68490 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__)); /*