binutils-gdb/sim/arm
Matthew Green c3ae2f98d0 * XScale coprocessor support.
2001-04-18  matthew green  <mrg@redhat.com>

	* armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
	(read_cp15_reg): Make non-static.
	(XScale_cp15_LDC): Update for write_cp15_reg() change.
	(XScale_cp15_MCR): Likewise.
	(XScale_cp15_write_reg): Likewise.
	(XScale_check_memacc): New function. Check for breakpoints being
	activated by memory accesses.  Does not support the Branch Target
	Buffer.
	(XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
	(XScale_debug_moe): New function. Set the debug Method Of Entry,
	if configured.
	(write_cp14_reg): Reset count counter if requested.
	* armdefs.h (struct ARMul_State): New members `LastTime' and
	`CP14R0_CCD' used for the timer/counters.
	(ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
	ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
	ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
	ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
	ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
	ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
	ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
	ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
	defines for XScale registers.
	(XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
	(ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
	(ARMul_Emulate32): Handle the clock counter and hardware instruction
	breakpoints.  Call XScale_set_fsr_far() for software breakpoints and
	software interrupts.
	(LoadMult): Call XScale_set_fsr_far() for data aborts.
	(LoadSMult): Likewise.
	(StoreMult): Likewise.
	(StoreSMult): Likewise.
	* armemu.h (write_cp15_reg): Update prototype.
	* arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
	(ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
	register 0.
	* armvirt.c (GetWord): Call XScale_check_memacc().
	(PutWord): Likewise.
2001-04-18 16:39:37 +00:00
..
COPYING Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
ChangeLog * XScale coprocessor support. 2001-04-18 16:39:37 +00:00
Makefile.in Add support for v4 SystemMode. 2000-05-30 17:13:37 +00:00
README.Cygnus Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
acconfig.h Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
armcopro.c * XScale coprocessor support. 2001-04-18 16:39:37 +00:00
armdefs.h * XScale coprocessor support. 2001-04-18 16:39:37 +00:00
armemu.c * XScale coprocessor support. 2001-04-18 16:39:37 +00:00
armemu.h Add support for disabling alignment checks when performing GDB interface 2001-02-28 01:04:24 +00:00
armfpe.h import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
arminit.c * XScale coprocessor support. 2001-04-18 16:39:37 +00:00
armopts.h Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
armos.c Add support for disabling alignment checks when performing GDB interface 2001-02-28 01:04:24 +00:00
armos.h Detect installation of SWI vector by running program as well as loading program. 2001-02-01 00:14:40 +00:00
armrdi.c Replace StrongARM property with v4 and v5 properties. 2000-09-15 23:55:50 +00:00
armsupp.c Add support for ARM's v5TE architecture and Intel's XScale extenstions 2000-11-30 01:55:12 +00:00
armvirt.c * XScale coprocessor support. 2001-04-18 16:39:37 +00:00
bag.c Fix compile time warning messages. 2000-02-08 20:54:27 +00:00
bag.h import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
communicate.c import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
communicate.h import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
config.in Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
configure Add support for v4 SystemMode. 2000-05-30 17:13:37 +00:00
configure.in Add support for v4 SystemMode. 2000-05-30 17:13:37 +00:00
dbg_conf.h import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
dbg_cp.h import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
dbg_hif.h import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
dbg_rdi.h import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
gdbhost.c import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
gdbhost.h import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
kid.c import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
main.c import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
parent.c import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
tconfig.in Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
thumbemu.c Fix BLX(1) for Thumb 2001-03-06 22:33:47 +00:00
wrapper.c Add support for disabling alignment checks when performing GDB interface 2001-02-28 01:04:24 +00:00

README.Cygnus

This directory contains the standard release of the ARMulator from
Advanced RISC Machines, and was ftp'd from.

ftp.cl.cam.ac.uk:/arm/gnu

It likes to use TCP/IP between the simulator and the host, which is
nice, but is a pain to use under anything non-unix.

I've added created a new Makefile.in (the original in Makefile.orig)
to build a version of the simulator without the TCP/IP stuff, and a
wrapper.c to link directly into gdb and the run command.

It should be possible (barring major changes in the layout of
the armulator) to upgrade the simulator by copying all the files
out of a release into this directory and renaming the Makefile.

(Except that I changed armos.c to work more simply with our
simulator rigs)

Steve

sac@cygnus.com

Mon May 15 12:03:28 PDT 1995