Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/efi.h
Show First 20 Lines • Show All 166 Lines • ▼ Show 20 Lines | #define EFI_SYSTBL_SIG 0x5453595320494249UL | ||||
uint64_t st_cfgtbl; | uint64_t st_cfgtbl; | ||||
}; | }; | ||||
extern vm_paddr_t efi_systbl_phys; | extern vm_paddr_t efi_systbl_phys; | ||||
/* Internal MD EFI functions */ | /* Internal MD EFI functions */ | ||||
int efi_arch_enter(void); | int efi_arch_enter(void); | ||||
void efi_arch_leave(void); | void efi_arch_leave(void); | ||||
vm_offset_t efi_phys_to_kva(vm_paddr_t); | |||||
bool efi_create_1t1_map(struct efi_md *, int, int); | bool efi_create_1t1_map(struct efi_md *, int, int); | ||||
void efi_destroy_1t1_map(void); | void efi_destroy_1t1_map(void); | ||||
/* Public MI EFI functions */ | /* Public MI EFI functions */ | ||||
int efi_rt_ok(void); | int efi_rt_ok(void); | ||||
int efi_get_table(struct uuid *uuid, void **ptr); | int efi_get_table(struct uuid *uuid, void **ptr); | ||||
int efi_get_time(struct efi_tm *tm); | int efi_get_time(struct efi_tm *tm); | ||||
int efi_get_time_capabilities(struct efi_tmcap *tmcap); | int efi_get_time_capabilities(struct efi_tmcap *tmcap); | ||||
Show All 11 Lines |