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/26587eff516c
branches:  trunk
changeset: 455585:26587eff516c
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 a55f89587c47 -r 26587eff516c 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