From 83eabc64efec4aaf46f87bf2ba5560ecd4c336d7 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 1 May 2023 15:11:32 -0600 Subject: kboot: Add HOST_MAP_FAILED define Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D39790 --- stand/kboot/host_syscall.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stand/kboot') 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) -- cgit v1.2.3