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

Add HPE support #450

Merged
merged 4 commits into from
Nov 21, 2024
Merged

Add HPE support #450

merged 4 commits into from
Nov 21, 2024

Conversation

hexaedron
Copy link
Contributor

As discussed with Max and Cnlohr in Discord.

@hexaedron hexaedron marked this pull request as ready for review November 20, 2024 21:28
@hexaedron hexaedron marked this pull request as draft November 21, 2024 06:03
@hexaedron hexaedron marked this pull request as ready for review November 21, 2024 10:26
@cnlohr
Copy link
Owner

cnlohr commented Nov 21, 2024

If anyone else sees this and is curious the way this is used is here:

#if FUNCONF_ENABLE_HPE // Enabled nested and hardware (HPE) stack, since it's really good on the x035.
" li t0, 0x88\n\
csrs mstatus, t0\n"
" li t0, 0x0b\n\
csrw 0x804, t0\n"
#else
" li a0, 0x80\n\
csrw mstatus, a0\n"

@cnlohr cnlohr merged commit dfa4d25 into cnlohr:master Nov 21, 2024
78 checks passed
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