efistub.h (420b6d00ca94ce5b6578b1bc12e767ac7a0251ac) | efistub.h (26a92425f9a301fdeb5482e7891915ce43cc0556) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef _DRIVERS_FIRMWARE_EFI_EFISTUB_H 4#define _DRIVERS_FIRMWARE_EFI_EFISTUB_H 5 6/* error code which can't be mistaken for valid address */ 7#define EFI_ERROR (~0UL) 8 --- 11 unchanged lines hidden (view full) --- 20 * Allow the platform to override the allocation granularity: this allows 21 * systems that have the capability to run with a larger page size to deal 22 * with the allocations for initrd and fdt more efficiently. 23 */ 24#ifndef EFI_ALLOC_ALIGN 25#define EFI_ALLOC_ALIGN EFI_PAGE_SIZE 26#endif 27 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef _DRIVERS_FIRMWARE_EFI_EFISTUB_H 4#define _DRIVERS_FIRMWARE_EFI_EFISTUB_H 5 6/* error code which can't be mistaken for valid address */ 7#define EFI_ERROR (~0UL) 8 --- 11 unchanged lines hidden (view full) --- 20 * Allow the platform to override the allocation granularity: this allows 21 * systems that have the capability to run with a larger page size to deal 22 * with the allocations for initrd and fdt more efficiently. 23 */ 24#ifndef EFI_ALLOC_ALIGN 25#define EFI_ALLOC_ALIGN EFI_PAGE_SIZE 26#endif 27 |
28#if defined(CONFIG_X86) 29#define __efistub_global __section(.data) 30#else | |
31#define __efistub_global | 28#define __efistub_global |
32#endif | |
33 34extern bool __pure nochunk(void); 35extern bool __pure nokaslr(void); 36extern bool __pure noinitrd(void); 37extern bool __pure is_quiet(void); 38extern bool __pure novamap(void); 39 40extern __pure efi_system_table_t *efi_system_table(void); --- 656 unchanged lines hidden --- | 29 30extern bool __pure nochunk(void); 31extern bool __pure nokaslr(void); 32extern bool __pure noinitrd(void); 33extern bool __pure is_quiet(void); 34extern bool __pure novamap(void); 35 36extern __pure efi_system_table_t *efi_system_table(void); --- 656 unchanged lines hidden --- |