From 1bc63fd15c5cd1e3c211359c31293eb38e51915c Mon Sep 17 00:00:00 2001 From: ZhaoXi Date: Thu, 21 Dec 2023 23:27:06 +0800 Subject: [PATCH] Align the space size --- .gitignore | 1 + opensbi-1.2/include/sm/enclave_args.h | 32 +++++++++++++-------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 62a952f6e..197464e51 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ backup/ -smp host.txt Image +opensbi-0.9/build-oe/ diff --git a/opensbi-1.2/include/sm/enclave_args.h b/opensbi-1.2/include/sm/enclave_args.h index 00e20822b..7f53870aa 100644 --- a/opensbi-1.2/include/sm/enclave_args.h +++ b/opensbi-1.2/include/sm/enclave_args.h @@ -73,22 +73,22 @@ struct signature_t */ struct enclave_sbi_param_t { - unsigned int * eid_ptr; - unsigned long paddr; - unsigned long size; - unsigned long entry_point; - unsigned long untrusted_ptr; - unsigned long untrusted_paddr; - unsigned long untrusted_size; - unsigned long free_mem; - //enclave shared mem with kernel - unsigned long kbuffer; - unsigned long kbuffer_paddr; - unsigned long kbuffer_size; - unsigned long *ecall_arg0; - unsigned long *ecall_arg1; - unsigned long *ecall_arg2; - unsigned long *ecall_arg3; + unsigned int * eid_ptr; + unsigned long paddr; + unsigned long size; + unsigned long entry_point; + unsigned long untrusted_ptr; + unsigned long untrusted_paddr; + unsigned long untrusted_size; + unsigned long free_mem; + //enclave shared mem with kernel + unsigned long kbuffer; + unsigned long kbuffer_paddr; + unsigned long kbuffer_size; + unsigned long *ecall_arg0; + unsigned long *ecall_arg1; + unsigned long *ecall_arg2; + unsigned long *ecall_arg3; }; #endif /* _ENCLAVE_ARGS_H */