Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys We need to make ISSET/SET/CLR available for bootload...



details:   https://anonhg.NetBSD.org/src/rev/c92248c41cdc
branches:  trunk
changeset: 991347:c92248c41cdc
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jul 10 07:40:42 2018 +0000

description:
We need to make ISSET/SET/CLR available for bootloaders too.

diffstat:

 sys/sys/types.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r efc0d5035b81 -r c92248c41cdc sys/sys/types.h
--- a/sys/sys/types.h   Tue Jul 10 06:49:29 2018 +0000
+++ b/sys/sys/types.h   Tue Jul 10 07:40:42 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.100 2018/07/08 21:59:12 pgoyette Exp $     */
+/*     $NetBSD: types.h,v 1.101 2018/07/10 07:40:42 martin Exp $       */
 
 /*-
  * Copyright (c) 1982, 1986, 1991, 1993, 1994
@@ -342,7 +342,7 @@
 struct uio;
 #endif
 
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_STANDALONE)
 #define SET(t, f)      ((t) |= (f))
 #define        ISSET(t, f)     ((t) & (f))
 #define        CLR(t, f)       ((t) &= ~(f))



Home | Main Index | Thread Index | Old Index