From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [RFC][PATCH 05/11] efi: Add separate 32-bit/64-bit definitions Date: Fri, 7 Feb 2014 17:52:59 +0100 Message-ID: <20140207165259.GM24395@pd.tnic> References: <1391012637-4839-1-git-send-email-matt@console-pimps.org> <1391012637-4839-6-git-send-email-matt@console-pimps.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <1391012637-4839-6-git-send-email-matt-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matt Fleming Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "H. Peter Anvin" , Alan Cox , Matthew Garrett , Matt Fleming List-Id: linux-efi@vger.kernel.org On Wed, Jan 29, 2014 at 04:23:51PM +0000, Matt Fleming wrote: > From: Matt Fleming > > The traditional approach of using machine-specific types such as > 'unsigned long' does not allow the kernel to interact with firmware > running in a different CPU mode, e.g. 64-bit kernel with 32-bit EFI. > > Add distinct EFI structure definitions for both 32-bit and 64-bit so > that we can use them in the 32-bit and 64-bit code paths. > > Signed-off-by: Matt Fleming Acked-by: Borislav Petkov -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --