fix the first (temporary) kernel stack address

from	IOM_RAM_BEGIN + 0x003ff000
	to	IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000
This commit is contained in:
msaitoh 2000-08-11 14:51:08 +00:00
parent c30304eb14
commit 18f2e17644
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: genassym.cf,v 1.7 2000/06/29 08:19:21 mrg Exp $
# $NetBSD: genassym.cf,v 1.8 2000/08/11 14:51:08 msaitoh Exp $
#
# Copyright (c) 1995, 1997 Charles M. Hannum. All rights reserved.
@ -98,6 +98,7 @@ define SIGF_SC offsetof(struct sigframe, sf_sc)
define SC_EFLAGS offsetof(struct sigcontext, sc_ssr)
define IOM_RAM_BEGIN IOM_RAM_BEGIN
define IOM_RAM_SIZE IOM_RAM_SIZE
define IOM_ROM_BEGIN IOM_ROM_BEGIN
define LED_ADDR LED_ADDR

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.19 2000/08/03 08:19:26 msaitoh Exp $ */
/* $NetBSD: locore.s,v 1.20 2000/08/11 14:51:08 msaitoh Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1997
@ -51,7 +51,7 @@
#include <machine/pte.h>
#include <machine/trap.h>
#define INIT_STACK IOM_RAM_BEGIN + 0x003ff000
#define INIT_STACK IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000
#ifdef SH4
#define SHREG_EXPEVT 0xff000024