Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2002-05-29 | Set the FSR and FAR registers if a Data Abort is detected. | Nick Clifton | 2 | -1/+13 | |
2002-05-27 | Only perform access checks if 'check' is set. | Nick Clifton | 7 | -18/+25 | |
Report unknown machine numbers. Formatting tidy ups. | |||||
2002-05-27 | Thumb BL instruction: Do not set LR to pc + 2, it has already been advanced. | Nick Clifton | 2 | -4/+11 | |
2002-05-23 | When decoding a BLX(1) instruction do not add in the second bit of the base | Nick Clifton | 2 | -5/+8 | |
address - this has already been accounted for. | |||||
2002-05-21 | Simulate XScale BCUMOD register | Nick Clifton | 2 | -3/+15 | |
2002-05-20 | Add support for target specific command line switches to old-style simualtors. | Nick Clifton | 5 | -250/+464 | |
Make use of this support in the ARM simulator to add a --swi-support= switch to select whcih SWI protocols to emulate. | |||||
2002-05-09 | Uses sim callback interface for system calls in RedBoot SWI support. | Nick Clifton | 1 | -8/+13 | |
2002-05-09 | Support the RedBoot SWI in ARM mode and some of its system calls. | Nick Clifton | 2 | -30/+109 | |
2002-03-18 | Increase default memory size to 8MB. | Anthony Green | 2 | -1/+5 | |
2002-02-21 | * armos.c (SWIWrite0): Use generic host_callback mechanism | Keith Seitz | 2 | -31/+50 | |
for supported OS functions "open", "close", "write", etc. (SWIopen): Likewise. (SWIread): Likewise. (SWIwrite): Likewise. (SWIflen): Likewise. (ARMul_OSHandleSWI): Likewise. | |||||
2002-02-05 | Modify previous patch so that it is only triggered for COFF format executables. | Nick Clifton | 2 | -11/+20 | |
2002-02-04 | If a v5 architecture is detected, assume it might be an XScale binary, since | Nick Clifton | 2 | -0/+15 | |
there is no way to distinguish between the two in the COFF file format. | |||||
2002-01-10 | Fix parameters passed to CPRead[13] and CPRead[14]. | Nick Clifton | 4 | -423/+478 | |
2002-01-09 | General format tidy ups | Nick Clifton | 2 | -45/+51 | |
2002-01-09 | Fix bug detected by GDB testsuite - when fetching registers more than 4 | Nick Clifton | 2 | -5/+19 | |
bytes wide return 0 for the other bytes. | |||||
2001-11-16 | 2001-11-16 Ben Harris <bjh21@netbsd.org> | Ben Harris | 2 | -2/+8 | |
* Makefile.in (armemu32.o): Replace $< with autoconf recommended $(srcdir)/.... (armemu26.o): Ditto. | |||||
2001-10-18 | Add support for XScale's coprocessor access check register. | Nick Clifton | 5 | -988/+944 | |
Fix formatting. | |||||
2001-05-11 | Fix handling of XScale LDRD and STRD instructions with post indexed ↵ | Nick Clifton | 2 | -6/+11 | |
addressing modes. | |||||
2001-05-08 | Check Mode not Bank in order to determine rocesor mode. | Nick Clifton | 2 | -1/+7 | |
2001-04-18 | * XScale coprocessor support. | Matthew Green | 6 | -22/+284 | |
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-03-20 | Do not enable alignment checking when loading unaligned thumb instructions. | Nick Clifton | 2 | -2/+7 | |
2001-03-06 | Fix BLX(1) for Thumb | Nick Clifton | 2 | -5/+24 | |
2001-02-28 | Add support for disabling alignment checks when performing GDB interface | Nick Clifton | 8 | -44/+95 | |
calls or SWI emulaiton routines. (Alignment checking code has not yet been contributed). | |||||
2001-02-16 | Remove Prefetch abort for breakpoints. Instead set the state to RESUME. | Nick Clifton | 2 | -12/+7 | |
2001-02-15 | Add code to preserve processor mode when a prefetch | Nick Clifton | 2 | -0/+14 | |
abort is signalled after processing a breakpoint. | |||||
2001-02-14 | Reset processor into ARM mode for any machine type except the early ARMs. | Nick Clifton | 2 | -12/+20 | |
2001-02-14 | remove spurious whitespace | Nick Clifton | 1 | -6/+6 | |
2001-02-14 | Prevent Aborts from happening whilst emulating a SWI | Nick Clifton | 2 | -62/+83 | |
2001-02-12 | Fix definition of NEGBRANCH | Nick Clifton | 2 | -1/+6 | |
2001-02-01 | Add parentheses ready for future conbtribution | Nick Clifton | 1 | -39/+63 | |
2001-02-01 | Update base address register after restoring register bank. | Nick Clifton | 2 | -26/+64 | |
2001-02-01 | Detect installation of SWI vector by running program as well as loading program. | Nick Clifton | 5 | -7/+18 | |
2000-12-19 | Fix test for StoreDouble Instruction. | Nick Clifton | 2 | -12/+17 | |
2000-12-11 | Add 0x91 as an FPE SWI. | Nick Clifton | 2 | -0/+5 | |
2000-12-08 | oops - remove redundant prototype introduced in previous delta | Nick Clifton | 1 | -2/+0 | |
2000-12-08 | Add emulation of double word load and store instructions. | Nick Clifton | 2 | -3/+348 | |
2000-12-03 | Suppress support of DEMON swi's in XScale mode. | Nick Clifton | 2 | -71/+109 | |
2000-11-30 | Add support for ARM's v5TE architecture and Intel's XScale extenstions | Nick Clifton | 10 | -250/+1763 | |
2000-09-15 | Replace StrongARM property with v4 and v5 properties. | Nick Clifton | 6 | -90/+119 | |
2000-08-15 | Compute write back value for post increment loads before | Nick Clifton | 2 | -34/+47 | |
performing the load in case the offset register is overwritten. | |||||
2000-07-14 | 2000-07-14 Fernando Nasser <fnasser@cygnus.com> | Fernando Nasser | 2 | -1/+5 | |
* wrapper.c (sim_create_inferior): Fix typo in the previous patch. | |||||
2000-07-14 | 2000-07-14 Fernando Nasser <fnasser@cygnus.com> | Fernando Nasser | 2 | -0/+9 | |
* wrapper.c (sim_create_inferior): Reset mode to ARM when creating a new inferior. | |||||
2000-07-04 | * armvirt.c (ABORTS): Do not define. | Alexandre Oliva | 2 | -1/+3 | |
2000-07-04 | * armdefs.h (struct ARMul_State): Add is_StrongARM. | Alexandre Oliva | 5 | -11/+59 | |
(ARM_Strong_Prop, STRONGARM): Define. * arminit.c (ARMul_NewState): Reset is_StrongARM. (ARMul_SelectProcessor): Set is_StrongARM. * wrapper.c (sim_create_inferior): Use bfd machine type to determine processor type to emulate. * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC when emulating StrongARM. | |||||
2000-07-04 | * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn. | Alexandre Oliva | 2 | -1/+3 | |
2000-07-04 | * armemu.h (INSN_SIZE): New macro. | Alexandre Oliva | 4 | -45/+48 | |
(SET_ABORT): Save CPSR in SPSR and set LR. * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE. (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode. * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE. | |||||
2000-07-04 | * armemu.c (LoadSMult): Use WriteR15() to discard the least | Alexandre Oliva | 2 | -2/+5 | |
significant bits of PC. | |||||
2000-07-04 | * armemu.h (WRITEDESTB): New macro. | Alexandre Oliva | 3 | -37/+48 | |
* armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to modify PC. Moved the existing logic... (WriteR15Branch): ... here. New function. (WriteR15, WriteSR15): Drop the two least significant bits. (LoadSMult): Use WriteR15Branch() to modify PC. (LoadMult): Use WRITEDESTB() instead of WRITEDEST(). | |||||
2000-07-04 | * armemu.h (GETSPSR): Call ARMul_GetSPSR(). | Alexandre Oliva | 3 | -4/+18 | |
* armsupp.c (ARMul_CPSRAltered): Zero out bits as they're extracted from state->Cpsr, but preserve the unused bits. (ARMul_GetCPSR): Get bits preserved in state->Cpsr. (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to get the full CPSR word. | |||||
2000-07-04 | * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New. | Alexandre Oliva | 4 | -30/+40 | |
(SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros. (SETPSR, SET_INTMODE, SETCC): Removed. * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit mask. Use SETPSR_* to modify PSR. (ARMul_SetCPSR): Load all bits from value. * armemu.c (ARMul_Emulate, msr): Do not test bit mask. |