4 * Copyright (c) 2004-2006 Atheros Communications Inc.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation;
12 * Software distributed under the License is distributed on an "AS
13 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
14 * implied. See the License for the specific language governing
15 * rights and limitations under the License.
19 * This file contains host side debug primitives.
28 #define DBGLOG_HOST_LOG_BUFFER_SIZE DBGLOG_LOG_BUFFER_SIZE
30 #define DBGLOG_GET_DBGID(arg) \
31 ((arg & DBGLOG_DBGID_MASK) >> DBGLOG_DBGID_OFFSET)
33 #define DBGLOG_GET_MODULEID(arg) \
34 ((arg & DBGLOG_MODULEID_MASK) >> DBGLOG_MODULEID_OFFSET)
36 #define DBGLOG_GET_NUMARGS(arg) \
37 ((arg & DBGLOG_NUM_ARGS_MASK) >> DBGLOG_NUM_ARGS_OFFSET)
39 #define DBGLOG_GET_TIMESTAMP(arg) \
40 ((arg & DBGLOG_TIMESTAMP_MASK) >> DBGLOG_TIMESTAMP_OFFSET)
46 #endif /* _DBGLOG_API_H_ */
This page took 0.042944 seconds and 5 git commands to generate.