2 * Copyright (c) 2006 Atheros Communications Inc.
5 * $ATH_LICENSE_HOSTSDK0_C$
9 #ifndef __AR6000_REGDUMP_H__
10 #define __AR6000_REGDUMP_H__
12 #if !defined(__ASSEMBLER__)
14 * Target CPU state at the time of failure is reflected
15 * in a register dump, which the Host can fetch through
16 * the diagnostic window.
19 struct MIPS_exception_frame_s
{
20 A_UINT32 pc
; /* Program Counter */
21 A_UINT32 at
; /* MIPS General Purpose registers */
52 A_UINT32 cause
; /* Selected coprocessor regs */
55 typedef struct MIPS_exception_frame_s CPU_exception_frame_t
;
60 * Offsets into MIPS_exception_frame structure, for use in assembler code
61 * MUST MATCH C STRUCTURE ABOVE
98 #define RD_SIZE (34*4) /* Space for this number of words */
100 #endif /* __AR6000_REGDUMP_H__ */