lkml.org 
[lkml]   [2013]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC,1/2] efi: Make 'efi_enabled' a function to query EFI facilities
From
Date
On Thu, 2013-01-03 at 19:35 +0100, Sedat Dilek wrote:
> [ include/linux/efi.h ]
> ...
> + * We play games with efi_enabled so that the compiler will, if
> + * possible, remove EFI-related code altogether.
> */
> +#define EFI_BOOT 0x00000001 /* Were we booted from EFI? */
> +#define EFI_SYSTEM_TABLES 0x00000002 /* Can we use EFI system tables? */
> +#define EFI_CONFIG_TABLES 0x00000004 /* Can we use EFI config tables? */
> +#define EFI_RUNTIME_SERVICES 0x00000004 /* Can we use runtime services? */
> +#define EFI_MEMMAP 0x00000008 /* Can we use EFI memory map? */
> +#define EFI_64BIT 0x00000010 /* Is the firmware 64-bit? */
> +
> ...
>
> 2x 0x00000004? Typo or intended?

Heh, that would be a typo. Thanks for pointing that out.



\
 
 \ /
  Last update: 2013-01-04 17:41    [W:0.032 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site