Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 fix(opensbi-1.2): free metadata, secure mem and pmp #108

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

Fly0307
Copy link
Contributor

@Fly0307 Fly0307 commented Dec 21, 2023

Fix the problem that metadata memory is not fully freed when clearing pmp

issues#100

Fix the problem that metadata memory is not fully freed when clearing pmp

issues#100
unsigned long *ecall_arg1;
unsigned long *ecall_arg2;
unsigned long *ecall_arg3;
unsigned int * eid_ptr;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Align the space size

@@ -91,7 +93,7 @@ struct cpu_state_t
int eid;
};

uintptr_t create_enclave(struct enclave_sbi_param_t create_args);
uintptr_t create_enclave(struct enclave_sbi_param_t create_args, int retry);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need the parameter "retry"?

@fengerhu1 fengerhu1 merged commit a263922 into Penglai-Enclave:opensbi Dec 21, 2023
1 check passed
@Fly0307 Fly0307 deleted the opensbi-pr-1 branch January 26, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants