Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arc/include G/C some obsolete definitions (we haven...



details:   https://anonhg.NetBSD.org/src/rev/6d901b095ce2
branches:  trunk
changeset: 840463:6d901b095ce2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Apr 07 03:42:31 2019 +0000

description:
G/C some obsolete definitions (we haven't had a fixed u. for quite
some time).

diffstat:

 sys/arch/arc/include/param.h |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (25 lines):

diff -r 35341ae3d08f -r 6d901b095ce2 sys/arch/arc/include/param.h
--- a/sys/arch/arc/include/param.h      Sun Apr 07 03:35:25 2019 +0000
+++ b/sys/arch/arc/include/param.h      Sun Apr 07 03:42:31 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.32 2019/02/07 04:31:49 mrg Exp $   */
+/*     $NetBSD: param.h,v 1.33 2019/04/07 03:42:31 thorpej Exp $       */
 /*      $OpenBSD: param.h,v 1.9 1997/04/30 09:54:15 niklas Exp $ */
 
 /*
@@ -59,15 +59,6 @@
 #define        KERNBASE        0x80000000      /* start of kernel virtual */
 #define        BTOPKERNBASE    ((u_long)KERNBASE >> PGSHIFT)
 
-#if defined(_LOCORE) && defined(notyet)
-#define        UADDR           0xffffffffffffc000      /* address of u */
-#else
-#define        UADDR           0xffffc000      /* address of u */
-#endif
-#define USPACE         (UPAGES*NBPG)   /* size of u-area in bytes */
-#define        UVPN            (UADDR>>PGSHIFT)/* virtual page number of u */
-#define        KERNELSTACK     (UADDR+UPAGES*NBPG)     /* top of kernel stack */
-
 /* bytes to disk blocks */
 #define        btodb(x)        ((x) >> DEV_BSHIFT)
 #define dbtob(x)       ((x) << DEV_BSHIFT)



Home | Main Index | Thread Index | Old Index