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

Side by Side Diff: chromeos/drivers/ath6kl/include/AR6002/AR6002_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
OLDNEW
(Empty)
1 //------------------------------------------------------------------------------
2 // <copyright file="AR6002_regdump.h" company="Atheros">
3 // Copyright (c) 2006 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 __AR6002_REGDUMP_H__
21 #define __AR6002_REGDUMP_H__
22
23 #if !defined(__ASSEMBLER__)
24 /*
25 * XTensa CPU state
26 * This must match the state saved by the target exception handler.
27 */
28 struct XTensa_exception_frame_s {
29 A_UINT32 xt_pc;
30 A_UINT32 xt_ps;
31 A_UINT32 xt_sar;
32 A_UINT32 xt_vpri;
33 A_UINT32 xt_a2;
34 A_UINT32 xt_a3;
35 A_UINT32 xt_a4;
36 A_UINT32 xt_a5;
37 A_UINT32 xt_exccause;
38 A_UINT32 xt_lcount;
39 A_UINT32 xt_lbeg;
40 A_UINT32 xt_lend;
41
42 A_UINT32 epc1, epc2, epc3, epc4;
43
44 /* Extra info to simplify post-mortem stack walkback */
45 #define AR6002_REGDUMP_FRAMES 10
46 struct {
47 A_UINT32 a0; /* pc */
48 A_UINT32 a1; /* sp */
49 A_UINT32 a2;
50 A_UINT32 a3;
51 } wb[AR6002_REGDUMP_FRAMES];
52 };
53 typedef struct XTensa_exception_frame_s CPU_exception_frame_t;
54 #define RD_SIZE sizeof(CPU_exception_frame_t)
55
56 #endif
57 #endif /* __AR6002_REGDUMP_H__ */
OLDNEW
« no previous file with comments | « chromeos/drivers/ath6kl/htc2/htc_services.c ('k') | chromeos/drivers/ath6kl/include/AR6002/AR6K_version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698