Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cats/include Allow userland to see machine/vmparam....



details:   https://anonhg.NetBSD.org/src/rev/d4332efbddf0
branches:  trunk
changeset: 533132:d4332efbddf0
user:      chris <chris%NetBSD.org@localhost>
date:      Sat Jun 22 10:15:30 2002 +0000

description:
Allow userland to see machine/vmparam.h.  This allows ntop to compile, as it uses the struct uvm from uvm.h, which need the VM_NFREELIST definition.

Of course this does mean that ntop could potentially be platform specific, ie different versions for cats, acorn32 etc as struct uvm maybe a different size, but running on the same cpu architecture.

diffstat:

 sys/arch/cats/include/vmparam.h |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 17f969e871b1 -r d4332efbddf0 sys/arch/cats/include/vmparam.h
--- a/sys/arch/cats/include/vmparam.h   Sat Jun 22 08:09:07 2002 +0000
+++ b/sys/arch/cats/include/vmparam.h   Sat Jun 22 10:15:30 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.12 2002/03/24 20:15:59 chris Exp $       */
+/*     $NetBSD: vmparam.h,v 1.13 2002/06/22 10:15:30 chris Exp $       */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -36,8 +36,6 @@
 #ifndef        _ARM32_VMPARAM_H_
 #define        _ARM32_VMPARAM_H_
 
-#ifdef _KERNEL
-
 #include <arm/arm32/vmparam.h>
 
 /*
@@ -122,6 +120,4 @@
 #define        VM_FREELIST_DEFAULT     0
 #define        VM_FREELIST_ISADMA      1
 
-#endif /* _KERNEL */
-
 #endif /* _ARM32_VMPARAM_H_ */



Home | Main Index | Thread Index | Old Index