EFI requests mappings for physical address ranges in the memory map by setting 
the attribute bit EFI_MEMORY_RUNTIME. The OS (or loader depending on the OS 
design), after ExitBootServices() calls SetVirtualAddressMap() to provide the 
firmware with the virtual mapping for the physical address ranges. Prior to the 
SetVirtualAddressMap() EFI Runtime Services are only called in physical mode, 
after  SetVirtualAddressMap() runtime services may only be called in virtual 
mode.

You can read up on this in the UEFI 2.4 spec.

Thanks,

Andrew Fish





On Jul 23, 2013, at 4:26 PM, "stanley.ganyezu" <stanley.gany...@gmail.com> 
wrote:

> 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
>  
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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