Hi Andrew,
I have one doubt. Should there be a LEA command?
Register RAX will contain address not value.
Sergey
On 30 авг. 2014 г., at 3:34, Andrew Fish <[email protected]> wrote:
> DoReturn:
> pushq %rax
> - movabsq ASM_PFX(mDoFarReturnFlag), %rax
> + movq ASM_PFX(mDoFarReturnFlag)(%rip), %rax
> cmpq $0, %rax # Check if need to do far return instead of
> IRET
> popq %rax
> jz DoIret
> @@ -566,7 +563,11 @@ DoReturn:
>
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel