Linux 2.6.25.3
[linux/fpc-iii.git] / include / asm-v850 / sim.h
blob026932d476cd9036aa57208e780076687f6ba99b
1 /*
2 * include/asm-v850/sim.h -- Machine-dependent defs for GDB v850e simulator
4 * Copyright (C) 2001,02,03 NEC Electronics Corporation
5 * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
7 * This file is subject to the terms and conditions of the GNU General
8 * Public License. See the file COPYING in the main directory of this
9 * archive for more details.
11 * Written by Miles Bader <miles@gnu.org>
14 #ifndef __V850_SIM_H__
15 #define __V850_SIM_H__
18 #define CPU_ARCH "v850e"
19 #define CPU_MODEL "v850e"
20 #define CPU_MODEL_LONG "NEC V850E"
21 #define PLATFORM "gdb/v850e"
22 #define PLATFORM_LONG "GDB V850E simulator"
25 /* We use a weird value for RAM, not just 0, for testing purposes.
26 These must match the values used in the linker script. */
27 #define RAM_ADDR 0x8F000000
28 #define RAM_SIZE 0x03000000
31 /* For <asm/page.h> */
32 #define PAGE_OFFSET RAM_ADDR
35 /* For <asm/entry.h> */
36 /* `R0 RAM', used for a few miscellaneous variables that must be
37 accessible using a load instruction relative to R0. On real
38 processors, this usually is on-chip RAM, but here we just
39 choose an arbitrary address that meets the above constraint. */
40 #define R0_RAM_ADDR 0xFFFFF000
43 /* For <asm/irq.h> */
44 #define NUM_CPU_IRQS 6
47 #endif /* __V850_SIM_H__ */