diff options
author | wollman <wollman@FreeBSD.org> | 1994-10-05 21:23:38 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-10-05 21:23:38 +0000 |
commit | ef35e45f853529e4cb0cc54d7640cb9ae680e61e (patch) | |
tree | b81011783ad91e22761214274e93f3318cfce7cb | |
parent | cd21bb7ff009bec08f6129ba1272cfabb92f283c (diff) | |
download | FreeBSD-src-ef35e45f853529e4cb0cc54d7640cb9ae680e61e.zip FreeBSD-src-ef35e45f853529e4cb0cc54d7640cb9ae680e61e.tar.gz |
Define a new macro. PSEUDO_SET, to hide TEXT_SET(pseudo_set, foo)
from users. Eventually this will be used for LKM support.
-rw-r--r-- | sys/sys/kernel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h index 6bed160..97f374a 100644 --- a/sys/sys/kernel.h +++ b/sys/sys/kernel.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kernel.h 8.3 (Berkeley) 1/21/94 - * $Id: kernel.h,v 1.4 1994/08/21 04:41:48 paul Exp $ + * $Id: kernel.h,v 1.5 1994/09/23 19:07:41 wollman Exp $ */ #ifndef _SYS_KERNEL_H_ @@ -80,6 +80,8 @@ extern int lbolt; /* once a second sleep address */ #define BSS_SET(set, sym) MAKE_SET(set, sym, 27) #define ABS_SET(set, sym) MAKE_SET(set, sym, 21) +#define PSEUDO_SET(sym) TEXT_SET(pseudo_set, sym) + struct linker_set { int ls_length; caddr_t ls_items[1]; /* really ls_length of them, trailing NULL */ |