diff options
author | marcel <marcel@FreeBSD.org> | 2010-01-14 02:14:21 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2010-01-14 02:14:21 +0000 |
commit | 82fc1e77dfb7fdb2592685e3719211da2e512927 (patch) | |
tree | 7a90b1704bb19fdfbbe4782bd350923e6eff20a4 /sys/ia64/include | |
parent | 271e7e0f723da5c3dce847235cff4bbcf17542e0 (diff) | |
download | FreeBSD-src-82fc1e77dfb7fdb2592685e3719211da2e512927.zip FreeBSD-src-82fc1e77dfb7fdb2592685e3719211da2e512927.tar.gz |
Add wrappers for the RT Variable Services. While here, translate the
EFI status into a standard errno value and change efi_set_time() to
return a standard error.
MFC after: 1 week
Diffstat (limited to 'sys/ia64/include')
-rw-r--r-- | sys/ia64/include/efi.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/ia64/include/efi.h b/sys/ia64/include/efi.h index fe00523..a863172 100644 --- a/sys/ia64/include/efi.h +++ b/sys/ia64/include/efi.h @@ -158,6 +158,9 @@ void efi_get_time(struct efi_tm *); struct efi_md *efi_md_first(void); struct efi_md *efi_md_next(struct efi_md *); void efi_reset_system(void); -efi_status efi_set_time(struct efi_tm *); +int efi_set_time(struct efi_tm *); +int efi_var_get(efi_char *, struct uuid *, uint32_t *, size_t *, void *); +int efi_var_nextname(size_t *, efi_char *, struct uuid *); +int efi_var_set(efi_char *, struct uuid *, uint32_t *, size_t *, void *); #endif /* _MACHINE_EFI_H_ */ |