Fixed a bug introoduced in the previous change. ISA device memory was

mapped to semi-random place(s) depending on the content(s) of physical
address 0xA0000.  This was fatal at least on my system with a some
memory-mapped devices.  Console syscons somehow wasn't affected.  It
bogusly hardcodes the address.  Sigh.
This commit is contained in:
Bruce Evans 1996-04-26 22:26:45 +00:00
parent 8905131422
commit f4c626074b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15403
3 changed files with 9 additions and 9 deletions

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
* $Id: locore.s,v 1.64 1996/03/27 17:16:29 bde Exp $
* $Id: locore.s,v 1.65 1996/04/26 13:47:37 phk Exp $
*
* originally from: locore.s, by William F. Jolitz
*
@ -725,13 +725,13 @@ create_pagetables:
#define ISA_HOLE_START 0xa0000
#define ISA_HOLE_LENGTH (0x100000-ISA_HOLE_START)
movl $ISA_HOLE_LENGTH>>PGSHIFT, %ecx
movl ISA_HOLE_START, %eax
movl $ISA_HOLE_START, %eax
movl %eax, %ebx
shrl $PGSHIFT-2, %ebx
addl R(_KPTphys), %ebx
orl $PG_V|PG_KW|PG_N, %eax
fillkpt
movl ISA_HOLE_START, %eax
movl $ISA_HOLE_START, %eax
addl $KERNBASE, %eax
movl %eax, R(_atdevbase)

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
* $Id: locore.s,v 1.64 1996/03/27 17:16:29 bde Exp $
* $Id: locore.s,v 1.65 1996/04/26 13:47:37 phk Exp $
*
* originally from: locore.s, by William F. Jolitz
*
@ -725,13 +725,13 @@ create_pagetables:
#define ISA_HOLE_START 0xa0000
#define ISA_HOLE_LENGTH (0x100000-ISA_HOLE_START)
movl $ISA_HOLE_LENGTH>>PGSHIFT, %ecx
movl ISA_HOLE_START, %eax
movl $ISA_HOLE_START, %eax
movl %eax, %ebx
shrl $PGSHIFT-2, %ebx
addl R(_KPTphys), %ebx
orl $PG_V|PG_KW|PG_N, %eax
fillkpt
movl ISA_HOLE_START, %eax
movl $ISA_HOLE_START, %eax
addl $KERNBASE, %eax
movl %eax, R(_atdevbase)

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
* $Id: locore.s,v 1.64 1996/03/27 17:16:29 bde Exp $
* $Id: locore.s,v 1.65 1996/04/26 13:47:37 phk Exp $
*
* originally from: locore.s, by William F. Jolitz
*
@ -725,13 +725,13 @@ create_pagetables:
#define ISA_HOLE_START 0xa0000
#define ISA_HOLE_LENGTH (0x100000-ISA_HOLE_START)
movl $ISA_HOLE_LENGTH>>PGSHIFT, %ecx
movl ISA_HOLE_START, %eax
movl $ISA_HOLE_START, %eax
movl %eax, %ebx
shrl $PGSHIFT-2, %ebx
addl R(_KPTphys), %ebx
orl $PG_V|PG_KW|PG_N, %eax
fillkpt
movl ISA_HOLE_START, %eax
movl $ISA_HOLE_START, %eax
addl $KERNBASE, %eax
movl %eax, R(_atdevbase)