From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Date: Tue, 22 Dec 2015 15:15:32 +0100 Subject: [U-Boot] [PATCH 4/9] efi_loader: Add boot time services In-Reply-To: <1450792676-109541-5-git-send-email-agraf@suse.de> References: <1450792676-109541-1-git-send-email-agraf@suse.de> <1450792676-109541-5-git-send-email-agraf@suse.de> Message-ID: <56795B04.20101@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 22.12.2015 um 14:57 schrieb Alexander Graf: > diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c > new file mode 100644 > index 0000000..ed95962 > --- /dev/null > +++ b/lib/efi_loader/efi_boottime.c [...] > +/* > + * The "gd" pointer lives in a register on ARM and AArch64 that we declare > + * fixed when compiling U-Boot. However, the payload does now know about that "does not"? > + * restriction so we need to manually swap its and our view of that register on > + * EFI callback entry/exit. > + */ > +static volatile void *efi_gd, *app_gd; [snip] Cheers, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N?rnberg)