From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] efi: Avoid calling boot services after ExitBootServices() Date: Tue, 9 Jun 2015 16:55:15 +0100 Message-ID: <1433865315.17838.3.camel@citrix.com> References: <1433862375-9259-1-git-send-email-ross.lagerwall@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1433862375-9259-1-git-send-email-ross.lagerwall@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ross Lagerwall Cc: Keir Fraser , Andrew Cooper , Tim Deegan , xen-devel@lists.xen.org, Stefano Stabellini , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Tue, 2015-06-09 at 16:06 +0100, Ross Lagerwall wrote: > After the first call to ExitBootServices(), avoid calling any boot > services (except GetMemoryMap() and ExitBootServices()) by setting > setting efi_bs to NULL and halting in blexit(). Only GetMemoryMap() and > ExitBootServices() are explicitly allowed to be called after the first > call to ExitBootServices() and so are are called via > SystemTable->BootServices. > > Signed-off-by: Ross Lagerwall Acked-by: Ian Campbell