4 * Copyright (c) 2004-2007 Atheros Communications Inc.
7 * $ATH_LICENSE_HOSTSDK0_C$
11 #include "AR6001/AR6001_regdump.h"
14 #include "AR6002/AR6002_regdump.h"
17 #if !defined(__ASSEMBLER__)
19 * Target CPU state at the time of failure is reflected
20 * in a register dump, which the Host can fetch through
21 * the diagnostic window.
23 struct register_dump_s
{
24 A_UINT32 target_id
; /* Target ID */
25 A_UINT32 assline
; /* Line number (if assertion failure) */
26 A_UINT32 pc
; /* Program Counter at time of exception */
27 A_UINT32 badvaddr
; /* Virtual address causing exception */
28 CPU_exception_frame_t exc_frame
; /* CPU-specific exception info */
30 /* Could copy top of stack here, too.... */
32 #endif /* __ASSEMBLER__ */
33 #endif /* __REGDUMP_H__ */