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

newhart must be zeroed #69

Open
testriscv opened this issue Jan 18, 2025 · 2 comments
Open

newhart must be zeroed #69

testriscv opened this issue Jan 18, 2025 · 2 comments

Comments

@testriscv
Copy link

testriscv commented Jan 18, 2025

hart_t *newhart must be zeroed

with
memset (newhart,0,sizeof(hart_t));
after
hart_t *newhart = malloc(sizeof(hart_t));

because sometimes the cpu starts with wrong settings causing exceptions.

@jserv
Copy link
Collaborator

jserv commented Jan 19, 2025

Can you submit a pull request to consolidate?

@testriscv
Copy link
Author

i'll try as soos as possible

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

No branches or pull requests

2 participants