OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [config/] [or1k/] [tm-or1k.h] - Diff between revs 364 and 372

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 364 Rev 372
Line 118... Line 118...
#define UPR_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 1)
#define UPR_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 1)
#define CPUCFGR_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 2)
#define CPUCFGR_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 2)
#define DCFGR_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 7)
#define DCFGR_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 7)
#define PC_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 16)
#define PC_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 16)
#define SR_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 17)
#define SR_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 17)
 
#define PPC_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 18)
#define CCR_SPRNUM(cid) SPR_REG(SPR_SYSTEM_GROUP, 4 + (cid))
#define CCR_SPRNUM(cid) SPR_REG(SPR_SYSTEM_GROUP, 4 + (cid))
#define EPCR_SPRNUM(cid) SPR_REG(SPR_SYSTEM_GROUP, 32 + (cid))
#define EPCR_SPRNUM(cid) SPR_REG(SPR_SYSTEM_GROUP, 32 + (cid))
#define EPCR0_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 32)
#define EPCR0_SPRNUM SPR_REG(SPR_SYSTEM_GROUP, 32)
 
 
#define DVR0_SPRNUM SPR_REG(SPR_DEBUG_GROUP, 0xee)
#define DVR0_SPRNUM SPR_REG(SPR_DEBUG_GROUP, 0xee)
Line 156... Line 157...
/* Defines for SPR bits.  */
/* Defines for SPR bits.  */
#define DMR1_ST    (0x00400000)
#define DMR1_ST    (0x00400000)
 
 
/* Changed by CZ 21/06/01 */
/* Changed by CZ 21/06/01 */
#define DRR_TE     (0x00002000)
#define DRR_TE     (0x00002000)
#define DRR_BE     (0x00001000)
#define DRR_SSE    (0x00001000)
#define DRR_SCE    (0x00000800)
#define DRR_SCE    (0x00000800)
#define DRR_RE     (0x00000400)
#define DRR_RE     (0x00000400)
#define DRR_IME    (0x00000200)
#define DRR_IME    (0x00000200)
#define DRR_DME    (0x00000100)
#define DRR_DME    (0x00000100)
#define DRR_HPINTE (0x00000080)
#define DRR_HPINTE (0x00000080)
Line 278... Line 279...
   This is often the number of bytes in BREAKPOINT
   This is often the number of bytes in BREAKPOINT
   but not always.  */
   but not always.  */
 
 
#define DECR_PC_AFTER_BREAK 0
#define DECR_PC_AFTER_BREAK 0
 
 
 
/* Don't step over l.trap */
 
#define CANNOT_STEP_BREAKPOINT
 
 
extern int or1k_insert_breakpoint (CORE_ADDR addr, char *contents_cache);
extern int or1k_insert_breakpoint (CORE_ADDR addr, char *contents_cache);
#define target_insert_hw_breakpoint(addr, cache) or1k_insert_breakpoint (addr, cache)
#define target_insert_hw_breakpoint(addr, cache) or1k_insert_breakpoint (addr, cache)
 
 
extern int or1k_remove_breakpoint (CORE_ADDR addr, char *contents_cache);
extern int or1k_remove_breakpoint (CORE_ADDR addr, char *contents_cache);
#define target_remove_hw_breakpoint(addr, cache) or1k_remove_breakpoint (addr, cache)
#define target_remove_hw_breakpoint(addr, cache) or1k_remove_breakpoint (addr, cache)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.