-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consolidate public header by integrating src/state.h #301
Comments
The |
ChinYikMing
added a commit
to ChinYikMing/rv32emu
that referenced
this issue
Dec 22, 2023
- Merge "src/state.h" into "riscv.[ch]" to consolidate public header. - Handle malloc failed in the "state_new" and "memory_new" functions. Close sysprog21#301
ChinYikMing
added a commit
to ChinYikMing/rv32emu
that referenced
this issue
Dec 22, 2023
- Merge "src/state.h" into "riscv.[ch]" to consolidate public header. - Handle malloc failed in the "state_new" and "memory_new" functions. Close sysprog21#301
vestata
pushed a commit
to vestata/rv32emu
that referenced
this issue
Jan 24, 2025
- Merge "src/state.h" into "riscv.[ch]" to consolidate public header. - Handle malloc failed in the "state_new" and "memory_new" functions. Close sysprog21#301
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
To fully(as much as possible) leverage rv32emu's core, I've attempted to export the
state_new
function from "state.h" for usage in WebAssembly, but it doesn't appear to be functioning. It works after splitting to "state.[ch]". I think the reason is thatstate_new
is not found in any translation units since they have been inlined by the compiler.May I know any concerns with this change? I might send a PR for this modification if it doesn't.
Refer to #75
The text was updated successfully, but these errors were encountered: