Repository navigation
Remove x64 exception handling code and support aarch64 - #562
syntactically wants to merge 6 commits into
Conversation
77d9f9c to
e836b62
Compare
f1bc9ae to
3975edd
Compare
5a2b052 to
a43136d
Compare
8c0eed1 to
f3e17b7
Compare
| len: usize, | ||
| ) -> i32 { | ||
| copy_va_mapping(image as *mut u8, len, addr, false); | ||
| copy_va_mapping(image as *mut u8, len, addr, false, true); |
There was a problem hiding this comment.
I think it is right that this flipped due to the barrier tracker? Just calling out since it is flipped here
There was a problem hiding this comment.
Not sure what you meant here? If you meant the new parameter on copy_va_mapping, indeed it is needed because now an RO mapping might be the basis for a memory image and the wasmtime semantics require RO to be changed to RW in this case (whereas in the past the original image was always RW).
There was a problem hiding this comment.
oh, I read it as a change not a new parameter 🤦. We should use enums here to make it clearer the intent of false/true in the two different parameters and it would help avoid that type of misread too.
f3e17b7 to
8c7a8fe
Compare
47cfe5c to
76ce45d
Compare
This requires changing the wasi-sdk builder container definition/script a little bit to make sure it works on aarch64 as well as x86_64. Signed-off-by: Lucy Menon <168595099+syntactically@users.noreply.github.com>
Signed-off-by: Lucy Menon <168595099+syntactically@users.noreply.github.com>
87e2264 to
8ebab69
Compare
8ebab69 to
0552d20
Compare
0552d20 to
80d0eea
Compare
As of Hyperlight 0.18.0, all of the functionality we need is supported(ish) with architecture-independent interfaces in core Hyperlight. Remove the old architecture-specific code in favour of those new interfaces. Signed-off-by: Lucy Menon <168595099+syntactically@users.noreply.github.com>
a2933c5 to
d2c6ee7
Compare
As of Hyperlight 0.18.0, all of the functionality we need is supported(ish) with architecture-independent interfaces in core Hyperlight. Remove the old architecture-specific code in favour of those new interfaces. Signed-off-by: Lucy Menon <168595099+syntactically@users.noreply.github.com>
Not all guests are x64 anymore. Signed-off-by: Lucy Menon <168595099+syntactically@users.noreply.github.com>
Signed-off-by: Lucy Menon <168595099+syntactically@users.noreply.github.com>
d2c6ee7 to
5213f3b
Compare
jsturtevant
left a comment
There was a problem hiding this comment.
looks like ci still needs some work but over all this LGTM
No description provided.