Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/stand/include/mips reflect recent <mips/typ...



details:   https://anonhg.NetBSD.org/src/rev/e2090b9161f6
branches:  trunk
changeset: 482817:e2090b9161f6
user:      soda <soda%NetBSD.org@localhost>
date:      Tue Feb 22 12:29:56 2000 +0000

description:
reflect recent <mips/types.h>: mips is now vm_offset_t/vm_size_t clean

diffstat:

 sys/arch/hpcmips/stand/include/mips/types.h |  17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diffs (40 lines):

diff -r 8b6292331a82 -r e2090b9161f6 sys/arch/hpcmips/stand/include/mips/types.h
--- a/sys/arch/hpcmips/stand/include/mips/types.h       Tue Feb 22 12:28:25 2000 +0000
+++ b/sys/arch/hpcmips/stand/include/mips/types.h       Tue Feb 22 12:29:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.2 2000/02/03 03:17:23 cgd Exp $    */
+/*     $NetBSD: types.h,v 1.3 2000/02/22 12:29:56 soda Exp $   */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -44,10 +44,10 @@
 #include <sys/cdefs.h>
 
 /*
- * Note that mips_reg_t is distinct from the register_t defined 
+ * Note that mips_reg_t is distinct from the register_t defined
  * in <types.h> to allow these structures to be as hidden from
  * the rest of the operating system as possible.
- * 
+ *
  */
 
 #if defined(_MIPS_BSD_API) && _MIPS_BSD_API != _MIPS_BSD_ABI_LP32
@@ -72,13 +72,10 @@
 
 /* NB: This should probably be if defined(_KERNEL) */
 #if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
-typedef        unsigned long   vm_offset_t;
-typedef        unsigned long   vm_size_t;
-
-typedef vm_offset_t    paddr_t;
-typedef vm_size_t      psize_t;
-typedef vm_offset_t    vaddr_t;
-typedef vm_size_t      vsize_t;
+typedef unsigned long  paddr_t;
+typedef unsigned long  psize_t;
+typedef unsigned long  vaddr_t;
+typedef unsigned long  vsize_t;
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index