On 07/24/13 18:49, stanley.ganyezu wrote: > Hi Laszlo, > In SetVirtualAddressMap, is CPU running at virtual mode or physical mode? > How do OS construct VirtualMap? Based on EFI memory map? Or OS add some > changes?
Unfortunately, I can only direct you to - "7.4 Virtual Memory Services" in the UEFI spec (at one point it says "The SetVirtualAddressMap() and ConvertPointer() services are only callable in physical mode", - as an example, the efi_enter_virtual_mode() function in the Linux kernel, file "arch/x86/platform/efi/efi.c". Laszlo ------------------------------------------------------------------------------ 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