Skip to contentSkip to conversation

x86: Add UV EFI table entry

PATCH In review Russ Anderson 2 participants 2 messages Sep 22, 2008 – Sep 23, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/4 x86: Add UV EFI table entry

[PATCH 1/4] Add UV EFI table entry

Look for a SAL entry in the EFI tables.

---
 arch/x86/kernel/efi.c |    4 ++++
 1 file changed, 4 insertions(+)
arch/x86/kernel/efi.c +4 -0
Index: linux/arch/x86/kernel/efi.c
===================================================================
@@ -367,6 +367,10 @@ void __init efi_init(void)
 			efi.smbios = config_tables[i].table;
 			printk(" SMBIOS=0x%lx ", config_tables[i].table);
 		} else if (!efi_guidcmp(config_tables[i].guid,
+					SAL_SYSTEM_TABLE_GUID)) {
+			efi.sal_systab = config_tables[i].table;
+			printk(" SALsystab=0x%lx ", config_tables[i].table);
+		} else if (!efi_guidcmp(config_tables[i].guid,
 					HCDP_TABLE_GUID)) {
 			efi.hcdp = config_tables[i].table;
 			printk(" HCDP=0x%lx ", config_tables[i].table);
Signature · 2 lines
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          [email protected]
#1 lore raw

(Cc:-ed Ying Huang.)

Quoted 29 lines · Russ Anderson

[PATCH 1/4] Add UV EFI table entry

Look for a SAL entry in the EFI tables.

---
 arch/x86/kernel/efi.c |    4 ++++
 1 file changed, 4 insertions(+)

Index: linux/arch/x86/kernel/efi.c
===================================================================

arch/x86/kernel/efi.c +4 -0
@@ -367,6 +367,10 @@ void __init efi_init(void)
 			efi.smbios = config_tables[i].table;
 			printk(" SMBIOS=0x%lx ", config_tables[i].table);
 		} else if (!efi_guidcmp(config_tables[i].guid,
+					SAL_SYSTEM_TABLE_GUID)) {
+			efi.sal_systab = config_tables[i].table;
+			printk(" SALsystab=0x%lx ", config_tables[i].table);
+		} else if (!efi_guidcmp(config_tables[i].guid,
 					HCDP_TABLE_GUID)) {
 			efi.hcdp = config_tables[i].table;
 			printk(" HCDP=0x%lx ", config_tables[i].table);
Signature · 2 lines
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          [email protected]