From: "Jan Beulich" Subject: Re: [PATCH V4 04/15] Add architecture functions for pre/post ExitBootServices Date: Thu, 11 Sep 2014 15:13:24 +0100 Message-ID: <5411CA240200007800033F2D@mail.emea.novell.com> References: <1410310325-4509-1-git-send-email-roy.franz@linaro.org> <1410310325-4509-5-git-send-email-roy.franz@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1410310325-4509-5-git-send-email-roy.franz@linaro.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roy Franz Cc: keir@xen.org, ian.campbell@citrix.com, tim@xen.org, xen-devel@lists.xen.org, stefano.stabellini@citrix.com, fu.wei@linaro.org List-Id: xen-devel@lists.xenproject.org >>> On 10.09.14 at 02:51, wrote: > status = efi_bs->ExitBootServices(ImageHandle, mmap_key); > if ( EFI_ERROR(status) ) > PrintErrMesg(L"Cannot exit boot services", status); > > - /* Adjust pointers into EFI. */ > - efi_ct = (void *)efi_ct + DIRECTMAP_VIRT_START; > -#ifdef USE_SET_VIRTUAL_ADDRESS_MAP > - efi_rs = (void *)efi_rs + DIRECTMAP_VIRT_START; > -#endif > - efi_memmap = (void *)efi_memmap + DIRECTMAP_VIRT_START; > - efi_fw_vendor = (void *)efi_fw_vendor + DIRECTMAP_VIRT_START; > - > - efi_arch_relocate_image(__XEN_VIRT_START - xen_phys_start); Up to here I don't see anything arch-specific again. Jan