On 12/05/13 23:09, Jordan Justen wrote:
> On Wed, Dec 4, 2013 at 10:29 PM, Laszlo Ersek <ler...@redhat.com> wrote:
>> On 12/05/13 00:21, Yao, Jiewen wrote:
>>> Hi Laszlo
>>> Thanks for the investigation.
>>>
>>> Maybe I am wrong, but I would like to point out this piece of code works 
>>> fine on IA real platform.
>>
>> Thanks for confirming that! I was wondering if it was in active use.
> 
> MdePkg/Library/BaseLib/X64/Thunk16.S seems to work with OVMF. (And
> what a lovely piece of assembly code that is! :)

Yes, I had found it. Upon seeing it I went to the corner of my room to
cry for ten minutes. And I've been hoping people wouldn't mention it on
the list as an example :)

> Maybe it can help uncover a way to make the S3 thunk work too?

Maybe :)

I found this pearl too:
http://wiki.osdev.org/Real_Mode#Switching_from_Protected_Mode_to_Real_Mode

Hopefully the latter will help me understand the former...

Thanks!
Laszlo


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to