Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 include dev/isa/isareg.h instead of redef...



details:   https://anonhg.NetBSD.org/src/rev/11b443d9e1cc
branches:  trunk
changeset: 482773:11b443d9e1cc
user:      dbj <dbj%NetBSD.org@localhost>
date:      Mon Feb 21 20:06:08 2000 +0000

description:
include dev/isa/isareg.h instead of redefining IOM_BEGIN, IOM_END
and IOM_SIZE for ISA memory mapping kludge

diffstat:

 sys/arch/i386/i386/locore.s |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r 0cc0e4d1cd1b -r 11b443d9e1cc sys/arch/i386/i386/locore.s
--- a/sys/arch/i386/i386/locore.s       Mon Feb 21 19:18:53 2000 +0000
+++ b/sys/arch/i386/i386/locore.s       Mon Feb 21 20:06:08 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.215 2000/01/06 18:41:24 drochner Exp $    */
+/*     $NetBSD: locore.s,v 1.216 2000/02/21 20:06:08 dbj Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -129,9 +129,8 @@
 
 
 /* XXX temporary kluge; these should not be here */
-#define        IOM_BEGIN       0x0a0000        /* start of I/O memory "hole" */
-#define        IOM_END         0x100000        /* end of I/O memory "hole" */
-#define        IOM_SIZE        (IOM_END - IOM_BEGIN)
+/* Get definitions for IOM_BEGIN, IOM_END, and IOM_SIZE */
+#include <dev/isa/isareg.h>
 
 
 /* NB: NOP now preserves registers so NOPs can be inserted anywhere */



Home | Main Index | Thread Index | Old Index