File tree Expand file tree Collapse file tree 5 files changed +11
-14
lines changed
drivers/firmware/efi/libstub Expand file tree Collapse file tree 5 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 12
12
13
13
#include "efistub.h"
14
14
15
- static bool __efistub_global efi_nochunk ;
16
- static bool __efistub_global efi_nokaslr ;
17
- static bool __efistub_global efi_noinitrd ;
18
- static bool __efistub_global efi_quiet ;
19
- static bool __efistub_global efi_novamap ;
20
- static bool __efistub_global efi_nosoftreserve ;
21
- static bool __efistub_global efi_disable_pci_dma =
22
- IS_ENABLED (CONFIG_EFI_DISABLE_PCI_DMA );
15
+ static bool efi_nochunk ;
16
+ static bool efi_nokaslr ;
17
+ static bool efi_noinitrd ;
18
+ static bool efi_quiet ;
19
+ static bool efi_novamap ;
20
+ static bool efi_nosoftreserve ;
21
+ static bool efi_disable_pci_dma = IS_ENABLED (CONFIG_EFI_DISABLE_PCI_DMA );
23
22
24
23
bool __pure nochunk (void )
25
24
{
Original file line number Diff line number Diff line change 36
36
#endif
37
37
38
38
static u64 virtmap_base = EFI_RT_VIRTUAL_BASE ;
39
- static bool __efistub_global flat_va_mapping ;
39
+ static bool flat_va_mapping ;
40
40
41
- static efi_system_table_t * __efistub_global sys_table ;
41
+ static efi_system_table_t * sys_table ;
42
42
43
43
__pure efi_system_table_t * efi_system_table (void )
44
44
{
Original file line number Diff line number Diff line change 25
25
#define EFI_ALLOC_ALIGN EFI_PAGE_SIZE
26
26
#endif
27
27
28
- #define __efistub_global
29
-
30
28
extern bool __pure nochunk (void );
31
29
extern bool __pure nokaslr (void );
32
30
extern bool __pure noinitrd (void );
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ static struct {
32
32
u8 depth ;
33
33
} res ;
34
34
};
35
- } cmdline __efistub_global = { .option = EFI_CMDLINE_NONE };
35
+ } cmdline = { .option = EFI_CMDLINE_NONE };
36
36
37
37
static bool parse_modenum (char * option , char * * next )
38
38
{
Original file line number Diff line number Diff line change 20
20
/* Maximum physical address for 64-bit kernel with 4-level paging */
21
21
#define MAXMEM_X86_64_4LEVEL (1ull << 46)
22
22
23
- static efi_system_table_t * sys_table __efistub_global ;
23
+ static efi_system_table_t * sys_table ;
24
24
extern const bool efi_is64 ;
25
25
extern u32 image_offset ;
26
26
You can’t perform that action at this time.
0 commit comments