RE: Query regarding SetVirtualAddressMap()

2018-05-21 Thread Prakhya, Sai Praneeth
> > AFAIK, ExitBootServices() means that boot services are no longer > > needed by OS/bootloader and hence firmware can terminate them. Does it > > also mean that the system is in runtime mode..? (I don't think so, as, I > > didn't > find it in UEFI spec). > > > > Yes > > > Also, could you

Re: Query regarding SetVirtualAddressMap()

2018-05-18 Thread Ard Biesheuvel
On 18 May 2018 at 02:50, Prakhya, Sai Praneeth wrote: > + Ricardo > >> > > I recently noticed in UEFI spec v2.7, section 2.3.4, Calling >> > > Conventions for X64, that “All selectors set to be flat with virtual >> > > = physical address. If the UEFI OS loader or

RE: Query regarding SetVirtualAddressMap()

2018-05-17 Thread Prakhya, Sai Praneeth
+ Ricardo > > > I recently noticed in UEFI spec v2.7, section 2.3.4, Calling > > > Conventions for X64, that “All selectors set to be flat with virtual > > > = physical address. If the UEFI OS loader or OS used > > > SetVirtualAddressMap() to relocate the runtime services in a virtual > > >

RE: Query regarding SetVirtualAddressMap()

2018-05-15 Thread Prakhya, Sai Praneeth
> > I recently noticed in UEFI spec v2.7, section 2.3.4, Calling > > Conventions for X64, that “All selectors set to be flat with virtual = > > physical address. If the UEFI OS loader or OS used > > SetVirtualAddressMap() to relocate the runtime services in a virtual > > address space, then this

Re: Query regarding SetVirtualAddressMap()

2018-05-15 Thread Ard Biesheuvel
On 15 May 2018 at 09:07, Prakhya, Sai Praneeth wrote: > Hi All, > > > > I recently noticed in UEFI spec v2.7, section 2.3.4, Calling Conventions for > X64, that “All selectors set to be flat with virtual = physical address. If > the UEFI OS loader or OS used