We need to make ISSET/SET/CLR available for bootloaders too.
This commit is contained in:
parent
bdc738b8a8
commit
a37a3a7658
|
@ -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 tty;
|
|||
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))
|
||||
|
|
Loading…
Reference in New Issue