Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
efi.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/efi.h>
#include <linux/efi-bgrt.h>
#include <linux/export.h>
#include <linux/bootmem.h>
#include <linux/memblock.h>
#include <linux/spinlock.h>
#include <linux/uaccess.h>
#include <linux/time.h>
#include <linux/io.h>
#include <linux/reboot.h>
#include <linux/bcd.h>
#include <asm/setup.h>
#include <asm/efi.h>
#include <asm/time.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/x86_init.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define EFI_DEBUG   1
 

Functions

 EXPORT_SYMBOL (efi_enabled)
 
 EXPORT_SYMBOL (efi)
 
 early_param ("noefi", setup_noefi)
 
 EXPORT_SYMBOL (add_efi_memmap)
 
 early_param ("add_efi_memmap", setup_add_efi_memmap)
 
int efi_set_rtc_mmss (unsigned long nowtime)
 
unsigned long efi_get_time (void)
 
int __init efi_memblock_x86_reserve_range (void)
 
void __init efi_reserve_boot_services (void)
 
void __init efi_unmap_memmap (void)
 
void __init efi_free_boot_services (void)
 
void __init efi_init (void)
 
void __init efi_late_init (void)
 
void __init efi_set_executable (efi_memory_desc_t *md, bool executable)
 
void __iomemefi_lookup_mapped_addr (u64 phys_addr)
 
void efi_memory_uc (u64 addr, unsigned long size)
 
void __init efi_enter_virtual_mode (void)
 
u32 efi_mem_type (unsigned long phys_addr)
 
u64 efi_mem_attributes (unsigned long phys_addr)
 

Variables

int efi_enabled
 
struct efi __read_mostly efi
 
struct efi_memory_map memmap
 
bool efi_64bit
 
int add_efi_memmap
 

Macro Definition Documentation

#define EFI_DEBUG   1

Definition at line 52 of file efi.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 29 of file efi.c.

Function Documentation

early_param ( "noefi"  ,
setup_noefi   
)
early_param ( "add_efi_memmap"  ,
setup_add_efi_memmap   
)
void __init efi_enter_virtual_mode ( void  )

Definition at line 833 of file efi.c.

void __init efi_free_boot_services ( void  )

Definition at line 435 of file efi.c.

unsigned long efi_get_time ( void  )

Definition at line 286 of file efi.c.

void __init efi_init ( void  )

Definition at line 676 of file efi.c.

void __init efi_late_init ( void  )

Definition at line 751 of file efi.c.

void __iomem* efi_lookup_mapped_addr ( u64  phys_addr)

Definition at line 792 of file efi.c.

u64 efi_mem_attributes ( unsigned long  phys_addr)

Definition at line 982 of file efi.c.

u32 efi_mem_type ( unsigned long  phys_addr)

Definition at line 967 of file efi.c.

int __init efi_memblock_x86_reserve_range ( void  )

Definition at line 350 of file efi.c.

void efi_memory_uc ( u64  addr,
unsigned long  size 
)

Definition at line 815 of file efi.c.

void __init efi_reserve_boot_services ( void  )

Definition at line 395 of file efi.c.

void __init efi_set_executable ( efi_memory_desc_t md,
bool  executable 
)

Definition at line 756 of file efi.c.

int efi_set_rtc_mmss ( unsigned long  nowtime)

Definition at line 257 of file efi.c.

void __init efi_unmap_memmap ( void  )

Definition at line 427 of file efi.c.

EXPORT_SYMBOL ( efi_enabled  )
EXPORT_SYMBOL ( efi  )
EXPORT_SYMBOL ( add_efi_memmap  )

Variable Documentation

int add_efi_memmap

Definition at line 89 of file efi.c.

Initial value:

Definition at line 57 of file efi.c.

bool efi_64bit

Definition at line 72 of file efi.c.

int efi_enabled

Definition at line 54 of file efi.c.

Definition at line 70 of file efi.c.