diff --git a/trustzone-awared-vm/Host/itrustee_tzdriver.patch b/trustzone-awared-vm/Host/itrustee_tzdriver.patch index 701864df1b50b3367fd8891c97ba80a5f2270480..cc47efdfd96c56a7fea0de1be190afa39d284ad7 100644 --- a/trustzone-awared-vm/Host/itrustee_tzdriver.patch +++ b/trustzone-awared-vm/Host/itrustee_tzdriver.patch @@ -1067,21 +1067,18 @@ diff -Naur '--exclude=.git' itrustee_tzdriver/core/tc_cvm_driver.c itrustee_tzdr diff -Naur '--exclude=.git' itrustee_tzdriver/Makefile itrustee_tzdriver_new/Makefile --- itrustee_tzdriver/Makefile 2023-11-24 16:18:54.007641440 +0800 +++ itrustee_tzdriver_new/Makefile 2023-11-24 16:58:48.000000000 +0800 -@@ -38,8 +38,11 @@ - +@@ -37,8 +37,8 @@ libboundscheck/src/securecutil.o libboundscheck/src/secureprintoutput_a.o libbou + endif + # you should config right path according to your run-time environment - KPATH := /usr/src/kernels +-KPATH := /usr/src/kernels -KDIR := $(KPATH)/$(shell ls $(KPATH)) --KDIR = /usr/src/linux-5.10.0-60.114.0.141.oe2203.aarch64 -+#KDIR := $(KPATH)/$(shell ls $(KPATH)) -+#KDIR = /usr/src/linux-5.10.0-60.114.0.141.oe2203.aarch64 +KERN_VER = $(shell uname -r) +KDIR = /lib/modules/$(KERN_VER)/build -+ + EXTRA_CFLAGS += -isystem /usr/lib/gcc/aarch64-linux-gnu/10.3.1/include EXTRA_CFLAGS += -isystem /usr/lib/gcc/aarch64-openEuler-linux-gnu/12/include - EXTRA_CFLAGS += -fstack-protector-strong -DCONFIG_TEELOG -DCONFIG_TZDRIVER_MODULE -DCONFIG_TEECD_AUTH -DCONFIG_PAGES_MEM=y -DCONFIG_CLOUDSERVER_TEECD_AUTH -@@ -49,6 +52,7 @@ +@@ -49,6 +49,7 @@ EXTRA_CFLAGS += -DCONFIG_CPU_AFF_NR=0 -DCONFIG_BIG_SESSION=100 -DCONFIG_NOTIFY_P EXTRA_CFLAGS += -DCONFIG_TEE_LOG_ACHIVE_PATH=\"/var/log/tee/last_teemsg\" EXTRA_CFLAGS += -DNOT_TRIGGER_AP_RESET -DLAST_TEE_MSG_ROOT_GID -DCONFIG_NOCOPY_SHAREDMEM -DCONFIG_TA_AFFINITY=y -DCONFIG_TA_AFFINITY_CPU_NUMS=128 EXTRA_CFLAGS += -DTEECD_PATH_UID_AUTH_CTX=\"/usr/bin/teecd:0\" diff --git "a/trustzone-awared-vm/docs/TA\350\231\232\346\213\237\345\214\226\351\203\250\347\275\262\347\211\271\346\200\247\347\274\226\350\257\221\346\236\204\345\273\272\345\222\214\351\203\250\347\275\262\346\214\207\345\257\274\344\271\246.docx" "b/trustzone-awared-vm/docs/TA\350\231\232\346\213\237\345\214\226\351\203\250\347\275\262\347\211\271\346\200\247\347\274\226\350\257\221\346\236\204\345\273\272\345\222\214\351\203\250\347\275\262\346\214\207\345\257\274\344\271\246.docx" index 25d540440a40757585cc7f16146b236ed9368bd5..44b95062b658ccce14f888756b07f8b5ec6b24f8 100644 Binary files "a/trustzone-awared-vm/docs/TA\350\231\232\346\213\237\345\214\226\351\203\250\347\275\262\347\211\271\346\200\247\347\274\226\350\257\221\346\236\204\345\273\272\345\222\214\351\203\250\347\275\262\346\214\207\345\257\274\344\271\246.docx" and "b/trustzone-awared-vm/docs/TA\350\231\232\346\213\237\345\214\226\351\203\250\347\275\262\347\211\271\346\200\247\347\274\226\350\257\221\346\236\204\345\273\272\345\222\214\351\203\250\347\275\262\346\214\207\345\257\274\344\271\246.docx" differ