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

Side by Side Diff: chromeos/drivers/ath6kl/include/dbglog_api.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/dbglog.h ('k') | chromeos/drivers/ath6kl/include/dbglog_id.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="dbglog_api.h" company="Atheros">
3 // Copyright (c) 2004-2008 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 // This file contains host side debug primitives.
18 //
19 // Author(s): ="Atheros"
20 //==============================================================================
21 #ifndef _DBGLOG_API_H_
22 #define _DBGLOG_API_H_
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 #include "dbglog.h"
29
30 #define DBGLOG_HOST_LOG_BUFFER_SIZE DBGLOG_LOG_BUFFER_SIZE
31
32 #define DBGLOG_GET_DBGID(arg) \
33 ((arg & DBGLOG_DBGID_MASK) >> DBGLOG_DBGID_OFFSET)
34
35 #define DBGLOG_GET_MODULEID(arg) \
36 ((arg & DBGLOG_MODULEID_MASK) >> DBGLOG_MODULEID_OFFSET)
37
38 #define DBGLOG_GET_NUMARGS(arg) \
39 ((arg & DBGLOG_NUM_ARGS_MASK) >> DBGLOG_NUM_ARGS_OFFSET)
40
41 #define DBGLOG_GET_TIMESTAMP(arg) \
42 ((arg & DBGLOG_TIMESTAMP_MASK) >> DBGLOG_TIMESTAMP_OFFSET)
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif /* _DBGLOG_API_H_ */
OLDNEW
« no previous file with comments | « chromeos/drivers/ath6kl/include/dbglog.h ('k') | chromeos/drivers/ath6kl/include/dbglog_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698