aboutsummaryrefslogtreecommitdiff
path: root/stand/kboot
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-05-01 21:11:32 +0000
committerWarner Losh <imp@FreeBSD.org>2023-05-01 21:11:32 +0000
commit83eabc64efec4aaf46f87bf2ba5560ecd4c336d7 (patch)
tree586e849e1a870ba9ef0615ee937d101f62a362b0 /stand/kboot
parentb53ec4e44f6f66f2235a96f7c0508a586b1275f1 (diff)
downloadsrc-83eabc64efec4aaf46f87bf2ba5560ecd4c336d7.tar.gz
src-83eabc64efec4aaf46f87bf2ba5560ecd4c336d7.zip
Diffstat (limited to 'stand/kboot')
-rw-r--r--stand/kboot/host_syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/kboot/host_syscall.h b/stand/kboot/host_syscall.h
index 64288f48e6f0..c85284d03be7 100644
--- a/stand/kboot/host_syscall.h
+++ b/stand/kboot/host_syscall.h
@@ -123,6 +123,8 @@ struct host_timeval {
#define HOST_MAP_FIXED 0x10
#define HOST_MAP_ANONYMOUS 0x20
+#define HOST_MAP_FAILED ((void *)-1)
+
/* Mount flags from uapi */
#define MS_RELATIME (1 << 21)