-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
value passed in write_cb of uc_mmio_map
is not a uint64_t, it is really a uint32_t
#2074
Comments
Thanks for your interests. Is your issue resolved already? |
I'm sorry I don't understand your question. Could you clarify it? (In the top post, I made a typo. I mean "this diff" instead of "this PR") |
By the way, a workaround is to play with experimental virtual TLB mode. |
Thanks for the pointer. I got the issue now. My main concern is that (Btw, I changed the written address to be 0x10-aligned, but the mem_write hook still called 2 times. |
Make sense. I will add a few documents to corresponding APIs (or would you like to contribute?). |
The
write_cb
ofuc_mmio_map
has definition:I would expect the
value
variable has realuint64_t
type. But as shown in this diff (with all tests passed),value
(as a u64) is splitted into 2 parts (u32) and passed each with the equivalent offsets.This is really surprising and I think we should either:
The text was updated successfully, but these errors were encountered: