OS makes the call.  Firmware does the fix-ups.

 

>From chapter 7.4 of the UEFI 2.4 spec

The SetVirtualAddressMap() function is used by the OS loader. The function
can only be called at runtime, and is called by the owner of the system's
memory map: i.e., the component which called ExitBootServices().

 

What this means is that the OS provides a mapping into the OS's kernel
virtual address space.  The UEFI Runtime firmware fixes up its code and data
to run at the address passed by the OS via the call above.  Details of the
firmware's role
https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdePkg/Library/UefiRuntimeLib


 

Vincent

 

From: stanley.ganyezu [mailto:stanley.gany...@gmail.com] 
Sent: Tuesday, July 23, 2013 4:27 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] runtime service address translation
Importance: High

 

Hi Everyone,

         When OS boots, it call some BIOS runtime services. In runtime
services, bios take care of the Virtual to Physical address mapping or OS?
And how?

Thanks.

 

 

 

Best wishes,

Stanley

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&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