Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2023 21:28:46 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 83eabc64efec - main - kboot: Add HOST_MAP_FAILED define
Message-ID:  <202305012128.341LSk6A085837@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=83eabc64efec4aaf46f87bf2ba5560ecd4c336d7

commit 83eabc64efec4aaf46f87bf2ba5560ecd4c336d7
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-05-01 21:11:32 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-05-01 21:11:32 +0000

    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(+)

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)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305012128.341LSk6A085837>