Skip to content

Commit

Permalink
Align the space size
Browse files Browse the repository at this point in the history
  • Loading branch information
Fly0307 committed Dec 21, 2023
1 parent 57c57e4 commit 1bc63fd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ backup/
-smp
host.txt
Image
opensbi-0.9/build-oe/
32 changes: 16 additions & 16 deletions opensbi-1.2/include/sm/enclave_args.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 1bc63fd

Please sign in to comment.