Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
efi.h File Reference

Go to the source code of this file.

Macros

#define EFI_LOADER_SIGNATURE   "EL64"
 
#define efi_call_phys0(f)   efi_call0((void *)(f))
 
#define efi_call_phys1(f, a1)   efi_call1((void *)(f), (u64)(a1))
 
#define efi_call_phys2(f, a1, a2)   efi_call2((void *)(f), (u64)(a1), (u64)(a2))
 
#define efi_call_phys3(f, a1, a2, a3)   efi_call3((void *)(f), (u64)(a1), (u64)(a2), (u64)(a3))
 
#define efi_call_phys4(f, a1, a2, a3, a4)
 
#define efi_call_phys5(f, a1, a2, a3, a4, a5)
 
#define efi_call_phys6(f, a1, a2, a3, a4, a5, a6)
 
#define efi_call_virt0(f)   efi_call0((void *)(efi.systab->runtime->f))
 
#define efi_call_virt1(f, a1)   efi_call1((void *)(efi.systab->runtime->f), (u64)(a1))
 
#define efi_call_virt2(f, a1, a2)   efi_call2((void *)(efi.systab->runtime->f), (u64)(a1), (u64)(a2))
 
#define efi_call_virt3(f, a1, a2, a3)
 
#define efi_call_virt4(f, a1, a2, a3, a4)
 
#define efi_call_virt5(f, a1, a2, a3, a4, a5)
 
#define efi_call_virt6(f, a1, a2, a3, a4, a5, a6)
 
#define efi_call0(_f)   (-ENOSYS)
 
#define efi_call1(_f, _a1)   (-ENOSYS)
 
#define efi_call2(_f, _a1, _a2)   (-ENOSYS)
 
#define efi_call3(_f, _a1, _a2, _a3)   (-ENOSYS)
 
#define efi_call4(_f, _a1, _a2, _a3, _a4)   (-ENOSYS)
 
#define efi_call5(_f, _a1, _a2, _a3, _a4, _a5)   (-ENOSYS)
 
#define efi_call6(_f, _a1, _a2, _a3, _a4, _a5, _a6)   (-ENOSYS)
 

Functions

u64 efi_call0 (void *fp)
 
u64 efi_call1 (void *fp, u64 arg1)
 
u64 efi_call2 (void *fp, u64 arg1, u64 arg2)
 
u64 efi_call3 (void *fp, u64 arg1, u64 arg2, u64 arg3)
 
u64 efi_call4 (void *fp, u64 arg1, u64 arg2, u64 arg3, u64 arg4)
 
u64 efi_call5 (void *fp, u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5)
 
u64 efi_call6 (void *fp, u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6)
 
void __iomemefi_ioremap (unsigned long addr, unsigned long size, u32 type, u64 attribute)
 
void efi_set_executable (efi_memory_desc_t *md, bool executable)
 
int efi_memblock_x86_reserve_range (void)
 
void efi_call_phys_prelog (void)
 
void efi_call_phys_epilog (void)
 
void efi_unmap_memmap (void)
 
void efi_memory_uc (u64 addr, unsigned long size)
 

Variables

int add_efi_memmap
 

Macro Definition Documentation

#define efi_call0 (   _f)    (-ENOSYS)

Definition at line 108 of file efi.h.

#define efi_call1 (   _f,
  _a1 
)    (-ENOSYS)

Definition at line 109 of file efi.h.

#define efi_call2 (   _f,
  _a1,
  _a2 
)    (-ENOSYS)

Definition at line 110 of file efi.h.

#define efi_call3 (   _f,
  _a1,
  _a2,
  _a3 
)    (-ENOSYS)

Definition at line 111 of file efi.h.

#define efi_call4 (   _f,
  _a1,
  _a2,
  _a3,
  _a4 
)    (-ENOSYS)

Definition at line 112 of file efi.h.

#define efi_call5 (   _f,
  _a1,
  _a2,
  _a3,
  _a4,
  _a5 
)    (-ENOSYS)

Definition at line 113 of file efi.h.

#define efi_call6 (   _f,
  _a1,
  _a2,
  _a3,
  _a4,
  _a5,
  _a6 
)    (-ENOSYS)

Definition at line 114 of file efi.h.

#define efi_call_phys0 (   f)    efi_call0((void *)(f))

Definition at line 54 of file efi.h.

#define efi_call_phys1 (   f,
  a1 
)    efi_call1((void *)(f), (u64)(a1))

Definition at line 56 of file efi.h.

#define efi_call_phys2 (   f,
  a1,
  a2 
)    efi_call2((void *)(f), (u64)(a1), (u64)(a2))

Definition at line 58 of file efi.h.

#define efi_call_phys3 (   f,
  a1,
  a2,
  a3 
)    efi_call3((void *)(f), (u64)(a1), (u64)(a2), (u64)(a3))

Definition at line 60 of file efi.h.

#define efi_call_phys4 (   f,
  a1,
  a2,
  a3,
  a4 
)
Value:
efi_call4((void *)(f), (u64)(a1), (u64)(a2), (u64)(a3), \
(u64)(a4))

Definition at line 62 of file efi.h.

#define efi_call_phys5 (   f,
  a1,
  a2,
  a3,
  a4,
  a5 
)
Value:
efi_call5((void *)(f), (u64)(a1), (u64)(a2), (u64)(a3), \
(u64)(a4), (u64)(a5))

Definition at line 65 of file efi.h.

#define efi_call_phys6 (   f,
  a1,
  a2,
  a3,
  a4,
  a5,
  a6 
)
Value:
efi_call6((void *)(f), (u64)(a1), (u64)(a2), (u64)(a3), \
(u64)(a4), (u64)(a5), (u64)(a6))

Definition at line 68 of file efi.h.

#define efi_call_virt0 (   f)    efi_call0((void *)(efi.systab->runtime->f))

Definition at line 72 of file efi.h.

#define efi_call_virt1 (   f,
  a1 
)    efi_call1((void *)(efi.systab->runtime->f), (u64)(a1))

Definition at line 74 of file efi.h.

#define efi_call_virt2 (   f,
  a1,
  a2 
)    efi_call2((void *)(efi.systab->runtime->f), (u64)(a1), (u64)(a2))

Definition at line 76 of file efi.h.

#define efi_call_virt3 (   f,
  a1,
  a2,
  a3 
)
Value:
efi_call3((void *)(efi.systab->runtime->f), (u64)(a1), (u64)(a2), \
(u64)(a3))

Definition at line 78 of file efi.h.

#define efi_call_virt4 (   f,
  a1,
  a2,
  a3,
  a4 
)
Value:
efi_call4((void *)(efi.systab->runtime->f), (u64)(a1), (u64)(a2), \
(u64)(a3), (u64)(a4))

Definition at line 81 of file efi.h.

#define efi_call_virt5 (   f,
  a1,
  a2,
  a3,
  a4,
  a5 
)
Value:
efi_call5((void *)(efi.systab->runtime->f), (u64)(a1), (u64)(a2), \
(u64)(a3), (u64)(a4), (u64)(a5))

Definition at line 84 of file efi.h.

#define efi_call_virt6 (   f,
  a1,
  a2,
  a3,
  a4,
  a5,
  a6 
)
Value:
efi_call6((void *)(efi.systab->runtime->f), (u64)(a1), (u64)(a2), \
(u64)(a3), (u64)(a4), (u64)(a5), (u64)(a6))

Definition at line 87 of file efi.h.

#define EFI_LOADER_SIGNATURE   "EL64"

Definition at line 42 of file efi.h.

Function Documentation

u64 efi_call0 ( void fp)
u64 efi_call1 ( void fp,
u64  arg1 
)
u64 efi_call2 ( void fp,
u64  arg1,
u64  arg2 
)
u64 efi_call3 ( void fp,
u64  arg1,
u64  arg2,
u64  arg3 
)
u64 efi_call4 ( void fp,
u64  arg1,
u64  arg2,
u64  arg3,
u64  arg4 
)
u64 efi_call5 ( void fp,
u64  arg1,
u64  arg2,
u64  arg3,
u64  arg4,
u64  arg5 
)
u64 efi_call6 ( void fp,
u64  arg1,
u64  arg2,
u64  arg3,
u64  arg4,
u64  arg5,
u64  arg6 
)
void efi_call_phys_epilog ( void  )

Definition at line 57 of file efi_32.c.

void efi_call_phys_prelog ( void  )

Definition at line 43 of file efi_32.c.

void __iomem* efi_ioremap ( unsigned long  addr,
unsigned long  size,
u32  type,
u64  attribute 
)

Definition at line 84 of file efi_64.c.

int 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 efi_set_executable ( efi_memory_desc_t md,
bool  executable 
)

Definition at line 756 of file efi.c.

void efi_unmap_memmap ( void  )

Definition at line 427 of file efi.c.

Variable Documentation

int add_efi_memmap

Definition at line 89 of file efi.c.