IOM_RAM_BEGIN is changed to specify physical address.
This commit is contained in:
parent
7571effdda
commit
9e6860e202
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: COMPUTEX7750,v 1.17 2002/04/25 15:06:26 atatat Exp $
|
||||
# $NetBSD: COMPUTEX7750,v 1.18 2002/05/09 12:34:20 uch Exp $
|
||||
#
|
||||
# GENERIC -- everything that's currently supported
|
||||
#
|
||||
|
@ -24,7 +24,7 @@ options SH4
|
|||
options PCLOCK=33333300 # 33.3333MHz
|
||||
options IOM_ROM_BEGIN=0x00000000
|
||||
options IOM_ROM_SIZE=0x00100000 # 1MB
|
||||
options IOM_RAM_BEGIN=0x8c000000
|
||||
options IOM_RAM_BEGIN=0x0c000000
|
||||
options IOM_RAM_SIZE=0x02000000 # 32MB
|
||||
|
||||
options BSC_BCR1_VAL =0x0000000c
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: COMPUTEXEVB,v 1.19 2002/04/25 15:06:26 atatat Exp $
|
||||
# $NetBSD: COMPUTEXEVB,v 1.20 2002/05/09 12:34:20 uch Exp $
|
||||
#
|
||||
# GENERIC -- everything that's currently supported
|
||||
#
|
||||
|
@ -24,7 +24,7 @@ options SH7709A,SH7709A_BROKEN_IPR # 100MHz
|
|||
options PCLOCK=25000000 # 25.000MHz
|
||||
options IOM_ROM_BEGIN=0x00000000
|
||||
options IOM_ROM_SIZE=0x00100000 # 1MB
|
||||
options IOM_RAM_BEGIN=0x8c000000
|
||||
options IOM_RAM_BEGIN=0x0c000000
|
||||
options IOM_RAM_SIZE=0x01000000 # 16MB
|
||||
options LED_ADDR=0xb8000000
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: CQREEKSH3,v 1.20 2002/04/25 15:06:26 atatat Exp $
|
||||
# $NetBSD: CQREEKSH3,v 1.21 2002/05/09 12:34:20 uch Exp $
|
||||
#
|
||||
# GENERIC -- everything that's currently supported
|
||||
#
|
||||
|
@ -26,7 +26,7 @@ options SH7708 # 100MHz
|
|||
options PCLOCK=15000000 # 15.000MHz
|
||||
options IOM_ROM_BEGIN=0x00000000
|
||||
options IOM_ROM_SIZE=0x00200000 # 2MB
|
||||
options IOM_RAM_BEGIN=0x8c000000
|
||||
options IOM_RAM_BEGIN=0x0c000000
|
||||
options IOM_RAM_SIZE=0x00400000 # 4MB
|
||||
options LED_ADDR=0xa8000000
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: KZSH401,v 1.17 2002/04/25 15:06:26 atatat Exp $
|
||||
# $NetBSD: KZSH401,v 1.18 2002/05/09 12:34:20 uch Exp $
|
||||
#
|
||||
# GENERIC -- everything that's currently supported
|
||||
#
|
||||
|
@ -24,7 +24,7 @@ options SH4
|
|||
options PCLOCK=33333300 # 33.3333MHz
|
||||
options IOM_ROM_BEGIN=0x00000000
|
||||
options IOM_ROM_SIZE=0x00100000 # 1MB
|
||||
options IOM_RAM_BEGIN=0x88000000
|
||||
options IOM_RAM_BEGIN=0x08000000
|
||||
options IOM_RAM_SIZE=0x01000000 # 16MB
|
||||
|
||||
options BSC_BCR1_VAL =0x8000000c
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore.S,v 1.4 2002/03/24 18:21:16 uch Exp $ */
|
||||
/* $NetBSD: locore.S,v 1.5 2002/05/09 12:34:21 uch Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994, 1995, 1997
|
||||
|
@ -40,6 +40,7 @@
|
|||
* @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
*/
|
||||
|
||||
#include "opt_cputype.h"
|
||||
#include "opt_memsize.h"
|
||||
#include "assym.h"
|
||||
|
||||
|
@ -55,7 +56,8 @@
|
|||
#include <sh3/cache_sh3.h>
|
||||
#include <sh3/cache_sh4.h>
|
||||
|
||||
#define INIT_STACK IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000
|
||||
#define INIT_STACK \
|
||||
((IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000) | 0x80000000)
|
||||
|
||||
NENTRY(start)
|
||||
/* Set SP to initial position */
|
||||
|
|
Loading…
Reference in New Issue