Source-Changes-HG archive

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

[src/trunk]: src/sys/arch remove stuff provided by generic mips headers



details:   https://anonhg.NetBSD.org/src/rev/9c68c1f2c8c5
branches:  trunk
changeset: 839100:9c68c1f2c8c5
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Feb 07 04:31:49 2019 +0000

description:
remove stuff provided by generic mips headers

diffstat:

 sys/arch/arc/include/param.h       |  21 +--------------------
 sys/arch/cobalt/include/bus_defs.h |  10 +---------
 2 files changed, 2 insertions(+), 29 deletions(-)

diffs (66 lines):

diff -r 6f382eb3265c -r 9c68c1f2c8c5 sys/arch/arc/include/param.h
--- a/sys/arch/arc/include/param.h      Thu Feb 07 04:25:47 2019 +0000
+++ b/sys/arch/arc/include/param.h      Thu Feb 07 04:31:49 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.31 2019/01/07 22:00:30 jdolecek Exp $      */
+/*     $NetBSD: param.h,v 1.32 2019/02/07 04:31:49 mrg Exp $   */
 /*      $OpenBSD: param.h,v 1.9 1997/04/30 09:54:15 niklas Exp $ */
 
 /*
@@ -59,9 +59,6 @@
 #define        KERNBASE        0x80000000      /* start of kernel virtual */
 #define        BTOPKERNBASE    ((u_long)KERNBASE >> PGSHIFT)
 
-#define        SSIZE           1               /* initial stack size/NBPG */
-#define        SINCR           1               /* increment of stack/NBPG */
-
 #if defined(_LOCORE) && defined(notyet)
 #define        UADDR           0xffffffffffffc000      /* address of u */
 #else
@@ -71,22 +68,6 @@
 #define        UVPN            (UADDR>>PGSHIFT)/* virtual page number of u */
 #define        KERNELSTACK     (UADDR+UPAGES*NBPG)     /* top of kernel stack */
 
-/*
- * Constants related to network buffer management.
- * MCLBYTES must be no larger than NBPG (the software page size), and,
- * on machines that exchange pages of input or output buffers with mbuf
- * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
- * of the hardware page size.
- */
-#define        MSIZE           256             /* size of an mbuf */
-
-#ifndef MCLSHIFT
-#define        MCLSHIFT        11              /* convert bytes to m_buf clusters */
-                                       /* 2K cluster can hold Ether frame */
-#endif /* MCLSHIFT */
-
-#define        MCLBYTES        (1 << MCLSHIFT) /* size of a m_buf cluster */
-
 /* bytes to disk blocks */
 #define        btodb(x)        ((x) >> DEV_BSHIFT)
 #define dbtob(x)       ((x) << DEV_BSHIFT)
diff -r 6f382eb3265c -r 9c68c1f2c8c5 sys/arch/cobalt/include/bus_defs.h
--- a/sys/arch/cobalt/include/bus_defs.h        Thu Feb 07 04:25:47 2019 +0000
+++ b/sys/arch/cobalt/include/bus_defs.h        Thu Feb 07 04:31:49 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_defs.h,v 1.3 2018/01/20 13:56:09 skrll Exp $       */
+/*     $NetBSD: bus_defs.h,v 1.4 2019/02/07 04:31:49 mrg Exp $ */
 
 /*
  * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -33,14 +33,6 @@
 #ifndef _COBALT_BUS_DEFS_H_
 #define _COBALT_BUS_DEFS_H_
 
-/*
- * Bus address and size types
- */
-typedef paddr_t bus_addr_t;
-typedef psize_t bus_size_t;
-#define        PRIxBUSADDR     PRIxPADDR
-#define        PRIxBUSSIZE     PRIxPSIZE
-
 #include <mips/locore.h>
 
 #define _MIPS_NEED_BUS_DMA_BOUNCE



Home | Main Index | Thread Index | Old Index