summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2010-01-14 02:14:21 +0000
committermarcel <marcel@FreeBSD.org>2010-01-14 02:14:21 +0000
commit82fc1e77dfb7fdb2592685e3719211da2e512927 (patch)
tree7a90b1704bb19fdfbbe4782bd350923e6eff20a4 /sys/ia64/include
parent271e7e0f723da5c3dce847235cff4bbcf17542e0 (diff)
downloadFreeBSD-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.h5
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_ */
OpenPOWER on IntegriCloud