efi.c (884f4f66ffd6ffe632f3a8be4e6d10a858afdc37) | efi.c (a604af075a3226adaff84b7026876f0c6dfe9f52) |
---|---|
1/* 2 * efi.c - EFI subsystem 3 * 4 * Copyright (C) 2001,2003,2004 Dell <Matt_Domsch@dell.com> 5 * Copyright (C) 2004 Intel Corporation <matthew.e.tolentino@intel.com> 6 * Copyright (C) 2013 Tom Gundersen <teg@jklm.no> 7 * 8 * This code registers /sys/firmware/efi{,/efivars} when EFI is supported, --- 29 unchanged lines hidden (view full) --- 38 .hcdp = EFI_INVALID_TABLE_ADDR, 39 .uga = EFI_INVALID_TABLE_ADDR, 40 .uv_systab = EFI_INVALID_TABLE_ADDR, 41 .fw_vendor = EFI_INVALID_TABLE_ADDR, 42 .runtime = EFI_INVALID_TABLE_ADDR, 43 .config_table = EFI_INVALID_TABLE_ADDR, 44 .esrt = EFI_INVALID_TABLE_ADDR, 45 .properties_table = EFI_INVALID_TABLE_ADDR, | 1/* 2 * efi.c - EFI subsystem 3 * 4 * Copyright (C) 2001,2003,2004 Dell <Matt_Domsch@dell.com> 5 * Copyright (C) 2004 Intel Corporation <matthew.e.tolentino@intel.com> 6 * Copyright (C) 2013 Tom Gundersen <teg@jklm.no> 7 * 8 * This code registers /sys/firmware/efi{,/efivars} when EFI is supported, --- 29 unchanged lines hidden (view full) --- 38 .hcdp = EFI_INVALID_TABLE_ADDR, 39 .uga = EFI_INVALID_TABLE_ADDR, 40 .uv_systab = EFI_INVALID_TABLE_ADDR, 41 .fw_vendor = EFI_INVALID_TABLE_ADDR, 42 .runtime = EFI_INVALID_TABLE_ADDR, 43 .config_table = EFI_INVALID_TABLE_ADDR, 44 .esrt = EFI_INVALID_TABLE_ADDR, 45 .properties_table = EFI_INVALID_TABLE_ADDR, |
46 .mem_attr_table = EFI_INVALID_TABLE_ADDR, |
|
46}; 47EXPORT_SYMBOL(efi); 48 49static bool disable_runtime; 50static int __init setup_noefi(char *arg) 51{ 52 disable_runtime = true; 53 return 0; --- 279 unchanged lines hidden (view full) --- 333 {HCDP_TABLE_GUID, "HCDP", &efi.hcdp}, 334 {MPS_TABLE_GUID, "MPS", &efi.mps}, 335 {SAL_SYSTEM_TABLE_GUID, "SALsystab", &efi.sal_systab}, 336 {SMBIOS_TABLE_GUID, "SMBIOS", &efi.smbios}, 337 {SMBIOS3_TABLE_GUID, "SMBIOS 3.0", &efi.smbios3}, 338 {UGA_IO_PROTOCOL_GUID, "UGA", &efi.uga}, 339 {EFI_SYSTEM_RESOURCE_TABLE_GUID, "ESRT", &efi.esrt}, 340 {EFI_PROPERTIES_TABLE_GUID, "PROP", &efi.properties_table}, | 47}; 48EXPORT_SYMBOL(efi); 49 50static bool disable_runtime; 51static int __init setup_noefi(char *arg) 52{ 53 disable_runtime = true; 54 return 0; --- 279 unchanged lines hidden (view full) --- 334 {HCDP_TABLE_GUID, "HCDP", &efi.hcdp}, 335 {MPS_TABLE_GUID, "MPS", &efi.mps}, 336 {SAL_SYSTEM_TABLE_GUID, "SALsystab", &efi.sal_systab}, 337 {SMBIOS_TABLE_GUID, "SMBIOS", &efi.smbios}, 338 {SMBIOS3_TABLE_GUID, "SMBIOS 3.0", &efi.smbios3}, 339 {UGA_IO_PROTOCOL_GUID, "UGA", &efi.uga}, 340 {EFI_SYSTEM_RESOURCE_TABLE_GUID, "ESRT", &efi.esrt}, 341 {EFI_PROPERTIES_TABLE_GUID, "PROP", &efi.properties_table}, |
342 {EFI_MEMORY_ATTRIBUTES_TABLE_GUID, "MEMATTR", &efi.mem_attr_table}, |
|
341 {NULL_GUID, NULL, NULL}, 342}; 343 344static __init int match_config_table(efi_guid_t *guid, 345 unsigned long table, 346 efi_config_table_type_t *table_types) 347{ 348 int i; --- 287 unchanged lines hidden --- | 343 {NULL_GUID, NULL, NULL}, 344}; 345 346static __init int match_config_table(efi_guid_t *guid, 347 unsigned long table, 348 efi_config_table_type_t *table_types) 349{ 350 int i; --- 287 unchanged lines hidden --- |