Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9fc9c67b authored by Jason Lowe-Power's avatar Jason Lowe-Power
Browse files

arch-x86: Change guest ABI for x86 pseudo insts


Change the guest ABI for x86 pseudo instructions to explictly write rax.
This is required because for some reason, the KVM CPU overwrites rax
after the KVM MMIO sets the value.

Note: This is hacky. It will only work for the current implementations
of x86 m5 ops which have their return value in RAX. A comment is added
to the m5ops file to make this clear.

Change-Id: I9466bf050b26db3650cfe3d23008e0f77fda8bc0
Signed-off-by: default avatarJason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25664


Tested-by: default avatarkokoro <noreply+kokoro@google.com>
Reviewed-by: default avatarGabe Black <gabeblack@google.com>
parent 2a257914
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment