include dev/isa/isareg.h instead of redefining IOM_BEGIN, IOM_END

and IOM_SIZE for ISA memory mapping kludge
This commit is contained in:
dbj 2000-02-21 20:06:08 +00:00
parent 7f44584598
commit f4f446cf2c
1 changed files with 3 additions and 4 deletions

View File

@ -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. * Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -129,9 +129,8 @@
/* XXX temporary kluge; these should not be here */ /* XXX temporary kluge; these should not be here */
#define IOM_BEGIN 0x0a0000 /* start of I/O memory "hole" */ /* Get definitions for IOM_BEGIN, IOM_END, and IOM_SIZE */
#define IOM_END 0x100000 /* end of I/O memory "hole" */ #include <dev/isa/isareg.h>
#define IOM_SIZE (IOM_END - IOM_BEGIN)
/* NB: NOP now preserves registers so NOPs can be inserted anywhere */ /* NB: NOP now preserves registers so NOPs can be inserted anywhere */