mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [RFC,1/2] efi: Make 'efi_enabled' a function to query EFI facilities
@ 2013-01-03 18:35 Sedat Dilek
  2013-01-04 15:53 ` Matt Fleming
  0 siblings, 1 reply; 2+ messages in thread
From: Sedat Dilek @ 2013-01-03 18:35 UTC (permalink / raw)
  To: Matt Fleming; +Cc: LKML

[ 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?

- Sedat -

[1] https://patchwork.kernel.org/patch/1927781/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-04 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-03 18:35 [RFC,1/2] efi: Make 'efi_enabled' a function to query EFI facilities Sedat Dilek
2013-01-04 15:53 ` Matt Fleming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®