Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: chromeos/drivers/ath6kl/include/regdump.h

Issue 646055: Atheros AR600x driver + build glue (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/drivers/ath6kl/include/pkt_log.h ('k') | chromeos/drivers/ath6kl/include/roaming.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 //------------------------------------------------------------------------------
2 // <copyright file="regdump.h" company="Atheros">
3 // Copyright (c) 2004-2007 Atheros Corporation. All rights reserved.
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License version 2 as
7 // published by the Free Software Foundation;
8 //
9 // Software distributed under the License is distributed on an "AS
10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11 // implied. See the License for the specific language governing
12 // rights and limitations under the License.
13 //
14 //
15 //------------------------------------------------------------------------------
16 //==============================================================================
17 // Author(s): ="Atheros"
18 //==============================================================================
19
20 #ifndef __REGDUMP_H__
21 #define __REGDUMP_H__
22 #if defined(AR6001)
23 #include "AR6001/AR6001_regdump.h"
24 #endif
25 #if defined(AR6002)
26 #include "AR6002/AR6002_regdump.h"
27 #endif
28
29 #if !defined(__ASSEMBLER__)
30 /*
31 * Target CPU state at the time of failure is reflected
32 * in a register dump, which the Host can fetch through
33 * the diagnostic window.
34 */
35 struct register_dump_s {
36 A_UINT32 target_id; /* Target ID */
37 A_UINT32 assline; /* Line number (if assertion failure) */
38 A_UINT32 pc; /* Program Counter at time of exception */
39 A_UINT32 badvaddr; /* Virtual address causing exception */
40 CPU_exception_frame_t exc_frame; /* CPU-specific exception info */
41
42 /* Could copy top of stack here, too.... */
43 };
44 #endif /* __ASSEMBLER__ */
45 #endif /* __REGDUMP_H__ */
OLDNEW
« no previous file with comments | « chromeos/drivers/ath6kl/include/pkt_log.h ('k') | chromeos/drivers/ath6kl/include/roaming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698