Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys: Fix PVALIDATE carry flag detection
The assembler code for PVALIDATE performs an XOR immediately after the PVALIDATE instruction, which clears the carry-flag, causing the carry-flag result of the PVALIDATE instruction to be lost. Move the XOR before the PVALIDATE instruction and switch to using the R8 register since the RCX register is used as input to PVALIDATE Signed-off-by: Tom Lendacky <[email protected]>
- Loading branch information