#include <linux/module.h>
#include <linux/bootmem.h>
#include <linux/crash_dump.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/efi.h>
#include <linux/kexec.h>
#include <linux/mm.h>
#include <asm/io.h>
#include <asm/kregs.h>
#include <asm/meminit.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/mca.h>
#include <asm/setup.h>
#include <asm/tlbflush.h>
Go to the source code of this file.
|
#define | EFI_DEBUG 0 |
|
#define | efi_call_virt(f, args...) (*(f))(args) |
|
#define | STUB_GET_TIME(prefix, adjust_arg) |
|
#define | STUB_SET_TIME(prefix, adjust_arg) |
|
#define | STUB_GET_WAKEUP_TIME(prefix, adjust_arg) |
|
#define | STUB_SET_WAKEUP_TIME(prefix, adjust_arg) |
|
#define | STUB_GET_VARIABLE(prefix, adjust_arg) |
|
#define | STUB_GET_NEXT_VARIABLE(prefix, adjust_arg) |
|
#define | STUB_SET_VARIABLE(prefix, adjust_arg) |
|
#define | STUB_GET_NEXT_HIGH_MONO_COUNT(prefix, adjust_arg) |
|
#define | STUB_RESET_SYSTEM(prefix, adjust_arg) |
|
#define | phys_ptr(arg) ((__typeof__(arg)) ia64_tpa(arg)) |
|
#define | id(arg) arg |
|
#define | efi_md_size(md) (md->num_pages << EFI_PAGE_SHIFT) |
|
|
efi_status_t | efi_call_phys (void *,...) |
|
| EXPORT_SYMBOL (efi) |
|
void | efi_gettimeofday (struct timespec *ts) |
|
void | efi_memmap_walk (efi_freemem_callback_t callback, void *arg) |
|
void | efi_memmap_walk_uc (efi_freemem_callback_t callback, void *arg) |
|
void * | efi_get_pal_addr (void) |
|
void | efi_map_pal_code (void) |
|
void __init | efi_init (void) |
|
void | efi_enter_virtual_mode (void) |
|
u64 | efi_get_iobase (void) |
|
u32 | efi_mem_type (unsigned long phys_addr) |
|
u64 | efi_mem_attributes (unsigned long phys_addr) |
|
| EXPORT_SYMBOL (efi_mem_attributes) |
|
u64 | efi_mem_attribute (unsigned long phys_addr, unsigned long size) |
|
u64 | kern_mem_attribute (unsigned long phys_addr, unsigned long size) |
|
| EXPORT_SYMBOL (kern_mem_attribute) |
|
int | valid_phys_addr_range (unsigned long phys_addr, unsigned long size) |
|
int | valid_mmap_phys_addr_range (unsigned long pfn, unsigned long size) |
|
pgprot_t | phys_mem_access_prot (struct file *file, unsigned long pfn, unsigned long size, pgprot_t vma_prot) |
|
int __init | efi_uart_console_only (void) |
|
struct kern_memdesc * | find_memmap_space (void) |
|
unsigned long | efi_memmap_init (u64 *s, u64 *e) |
|
void | efi_initialize_iomem_resources (struct resource *code_resource, struct resource *data_resource, struct resource *bss_resource) |
|
#define efi_call_virt |
( |
|
f, |
|
|
|
args... |
|
) |
| (*(f))(args) |
Definition at line 54 of file efi.c.
Definition at line 45 of file efi.c.
#define STUB_GET_NEXT_HIGH_MONO_COUNT |
( |
|
prefix, |
|
|
|
adjust_arg |
|
) |
| |
Value:static efi_status_t \
prefix##_get_next_high_mono_count (
u32 *
count) \
ia64_load_scratch_fpregs(fr); \
}
Definition at line 175 of file efi.c.
#define STUB_GET_NEXT_VARIABLE |
( |
|
prefix, |
|
|
|
adjust_arg |
|
) |
| |
Value:static efi_status_t \
adjust_arg(name_size), adjust_arg(
name), adjust_arg(
vendor)); \
ia64_load_scratch_fpregs(fr); \
}
Definition at line 141 of file efi.c.
#define STUB_GET_TIME |
( |
|
prefix, |
|
|
|
adjust_arg |
|
) |
| |
Value:static efi_status_t \
ia64_save_scratch_fpregs(fr); \
ia64_load_scratch_fpregs(fr); \
}
Definition at line 56 of file efi.c.
#define STUB_GET_VARIABLE |
( |
|
prefix, |
|
|
|
adjust_arg |
|
) |
| |
Value:static efi_status_t \
aattr = adjust_arg(
attr); \
ia64_save_scratch_fpregs(fr); \
ia64_load_scratch_fpregs(fr); \
}
Definition at line 121 of file efi.c.
#define STUB_GET_WAKEUP_TIME |
( |
|
prefix, |
|
|
|
adjust_arg |
|
) |
| |
Value:static efi_status_t \
adjust_arg(
enabled), adjust_arg(pending), adjust_arg(
tm)); \
ia64_load_scratch_fpregs(fr); \
}
Definition at line 87 of file efi.c.
#define STUB_RESET_SYSTEM |
( |
|
prefix, |
|
|
|
adjust_arg |
|
) |
| |
Value:static void \
adata = adjust_arg(
data);
\
\
ia64_load_scratch_fpregs(fr); \
}
Definition at line 190 of file efi.c.
#define STUB_SET_TIME |
( |
|
prefix, |
|
|
|
adjust_arg |
|
) |
| |
Value:static efi_status_t \
ia64_load_scratch_fpregs(fr); \
}
Definition at line 73 of file efi.c.
#define STUB_SET_VARIABLE |
( |
|
prefix, |
|
|
|
adjust_arg |
|
) |
| |
Value:static efi_status_t \
ia64_load_scratch_fpregs(fr); \
}
Definition at line 157 of file efi.c.
#define STUB_SET_WAKEUP_TIME |
( |
|
prefix, |
|
|
|
adjust_arg |
|
) |
| |
Value:static efi_status_t \
ia64_save_scratch_fpregs(fr); \
ia64_load_scratch_fpregs(fr); \
}
Definition at line 103 of file efi.c.
u64 efi_mem_attribute |
( |
unsigned long |
phys_addr, |
|
|
unsigned long |
size |
|
) |
| |
u64 efi_mem_attributes |
( |
unsigned long |
phys_addr | ) |
|
u32 efi_mem_type |
( |
unsigned long |
phys_addr | ) |
|
unsigned long efi_memmap_init |
( |
u64 * |
s, |
|
|
u64 * |
e |
|
) |
| |
u64 kern_mem_attribute |
( |
unsigned long |
phys_addr, |
|
|
unsigned long |
size |
|
) |
| |
int valid_mmap_phys_addr_range |
( |
unsigned long |
pfn, |
|
|
unsigned long |
size |
|
) |
| |
int valid_phys_addr_range |
( |
unsigned long |
phys_addr, |
|
|
unsigned long |
size |
|
) |
| |
Definition at line 49 of file efi.c.