Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/include/efi.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
struct uuid; | struct uuid; | ||||
struct efi_tm; | struct efi_tm; | ||||
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_locked(struct efi_tm *tm); | int efi_get_time_locked(struct efi_tm *tm); | ||||
int efi_reset_system(void); | int efi_reset_system(void); | ||||
int efi_rt_avail(void); | |||||
int efi_set_time(struct efi_tm *tm); | int efi_set_time(struct efi_tm *tm); | ||||
int efi_set_time_locked(struct efi_tm *tm); | int efi_set_time_locked(struct efi_tm *tm); | ||||
int efi_var_get(uint16_t *name, struct uuid *vendor, uint32_t *attrib, | int efi_var_get(uint16_t *name, struct uuid *vendor, uint32_t *attrib, | ||||
size_t *datasize, void *data); | size_t *datasize, void *data); | ||||
int efi_var_nextname(size_t *namesize, uint16_t *name, struct uuid *vendor); | int efi_var_nextname(size_t *namesize, uint16_t *name, struct uuid *vendor); | ||||
int efi_var_set(uint16_t *name, struct uuid *vendor, uint32_t attrib, | int efi_var_set(uint16_t *name, struct uuid *vendor, uint32_t attrib, | ||||
size_t datasize, void *data); | size_t datasize, void *data); | ||||
#endif | #endif | ||||
#endif /* __AMD64_INCLUDE_EFI_H_ */ | #endif /* __AMD64_INCLUDE_EFI_H_ */ |