diff options
| -rw-r--r-- | Android.bp | 7 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/include/gki_hal_target.h (renamed from src/hal/include/gki_hal_target.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/include/nci_defs.h (renamed from src/hal/include/nci_defs.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/include/nfc_hal_api.h (renamed from src/hal/include/nfc_hal_api.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/include/nfc_hal_target.h (renamed from src/hal/include/nfc_hal_target.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/include/nfc_types.h (renamed from src/hal/include/nfc_types.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/int/nfc_brcm_defs.h (renamed from src/hal/int/nfc_brcm_defs.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/int/nfc_hal_int.h (renamed from src/hal/int/nfc_hal_int.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/int/nfc_hal_int_api.h (renamed from src/hal/int/nfc_hal_int_api.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/int/nfc_hal_nv_ci.h (renamed from src/hal/int/nfc_hal_nv_ci.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/int/nfc_hal_nv_co.h (renamed from src/hal/int/nfc_hal_nv_co.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/hal/int/nfc_hal_post_reset.h (renamed from src/hal/int/nfc_hal_post_reset.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/include/bt_trace.h (renamed from src/include/bt_trace.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/include/bt_types.h (renamed from src/include/bt_types.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/include/config.h (renamed from src/include/config.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/include/nfc_target.h (renamed from src/include/nfc_target.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/include/vendor_cfg.h (renamed from src/include/vendor_cfg.h) | 0 | ||||
| -rw-r--r-- | halimpl/bcm2079x/udrv/include/upio.h (renamed from src/udrv/include/upio.h) | 0 | ||||
| -rw-r--r-- | src/include/buildcfg.h | 88 | ||||
| -rw-r--r-- | src/include/gki_target.h | 411 |
20 files changed, 3 insertions, 503 deletions
@@ -24,10 +24,9 @@ cc_library_shared { "halimpl/bcm2079x/gki/ulinux", "halimpl/bcm2079x/gki/common", "halimpl/bcm2079x/adaptation", - "src/hal/include", - "src/hal/int", - "src/udrv/include", - "src/include", + "halimpl/bcm2079x/hal/include", + "halimpl/bcm2079x/hal/int", + "halimpl/bcm2079x/udrv/include", ], cflags: [ "-DBUILDCFG=1", diff --git a/src/hal/include/gki_hal_target.h b/halimpl/bcm2079x/hal/include/gki_hal_target.h index 4b065c7..4b065c7 100644 --- a/src/hal/include/gki_hal_target.h +++ b/halimpl/bcm2079x/hal/include/gki_hal_target.h diff --git a/src/hal/include/nci_defs.h b/halimpl/bcm2079x/hal/include/nci_defs.h index 46969e0..46969e0 100644 --- a/src/hal/include/nci_defs.h +++ b/halimpl/bcm2079x/hal/include/nci_defs.h diff --git a/src/hal/include/nfc_hal_api.h b/halimpl/bcm2079x/hal/include/nfc_hal_api.h index e19a8c5..e19a8c5 100644 --- a/src/hal/include/nfc_hal_api.h +++ b/halimpl/bcm2079x/hal/include/nfc_hal_api.h diff --git a/src/hal/include/nfc_hal_target.h b/halimpl/bcm2079x/hal/include/nfc_hal_target.h index 4bb66e6..4bb66e6 100644 --- a/src/hal/include/nfc_hal_target.h +++ b/halimpl/bcm2079x/hal/include/nfc_hal_target.h diff --git a/src/hal/include/nfc_types.h b/halimpl/bcm2079x/hal/include/nfc_types.h index d373335..d373335 100644 --- a/src/hal/include/nfc_types.h +++ b/halimpl/bcm2079x/hal/include/nfc_types.h diff --git a/src/hal/int/nfc_brcm_defs.h b/halimpl/bcm2079x/hal/int/nfc_brcm_defs.h index c66ecd4..c66ecd4 100644 --- a/src/hal/int/nfc_brcm_defs.h +++ b/halimpl/bcm2079x/hal/int/nfc_brcm_defs.h diff --git a/src/hal/int/nfc_hal_int.h b/halimpl/bcm2079x/hal/int/nfc_hal_int.h index 4298205..4298205 100644 --- a/src/hal/int/nfc_hal_int.h +++ b/halimpl/bcm2079x/hal/int/nfc_hal_int.h diff --git a/src/hal/int/nfc_hal_int_api.h b/halimpl/bcm2079x/hal/int/nfc_hal_int_api.h index ffaf81a..ffaf81a 100644 --- a/src/hal/int/nfc_hal_int_api.h +++ b/halimpl/bcm2079x/hal/int/nfc_hal_int_api.h diff --git a/src/hal/int/nfc_hal_nv_ci.h b/halimpl/bcm2079x/hal/int/nfc_hal_nv_ci.h index 0a98edf..0a98edf 100644 --- a/src/hal/int/nfc_hal_nv_ci.h +++ b/halimpl/bcm2079x/hal/int/nfc_hal_nv_ci.h diff --git a/src/hal/int/nfc_hal_nv_co.h b/halimpl/bcm2079x/hal/int/nfc_hal_nv_co.h index 2891c27..2891c27 100644 --- a/src/hal/int/nfc_hal_nv_co.h +++ b/halimpl/bcm2079x/hal/int/nfc_hal_nv_co.h diff --git a/src/hal/int/nfc_hal_post_reset.h b/halimpl/bcm2079x/hal/int/nfc_hal_post_reset.h index 7ce3953..7ce3953 100644 --- a/src/hal/int/nfc_hal_post_reset.h +++ b/halimpl/bcm2079x/hal/int/nfc_hal_post_reset.h diff --git a/src/include/bt_trace.h b/halimpl/bcm2079x/include/bt_trace.h index e4d3165..e4d3165 100644 --- a/src/include/bt_trace.h +++ b/halimpl/bcm2079x/include/bt_trace.h diff --git a/src/include/bt_types.h b/halimpl/bcm2079x/include/bt_types.h index b147756..b147756 100644 --- a/src/include/bt_types.h +++ b/halimpl/bcm2079x/include/bt_types.h diff --git a/src/include/config.h b/halimpl/bcm2079x/include/config.h index cff99a1..cff99a1 100644 --- a/src/include/config.h +++ b/halimpl/bcm2079x/include/config.h diff --git a/src/include/nfc_target.h b/halimpl/bcm2079x/include/nfc_target.h index 7cd1f51..7cd1f51 100644 --- a/src/include/nfc_target.h +++ b/halimpl/bcm2079x/include/nfc_target.h diff --git a/src/include/vendor_cfg.h b/halimpl/bcm2079x/include/vendor_cfg.h index 5ebf0fb..5ebf0fb 100644 --- a/src/include/vendor_cfg.h +++ b/halimpl/bcm2079x/include/vendor_cfg.h diff --git a/src/udrv/include/upio.h b/halimpl/bcm2079x/udrv/include/upio.h index 56ff81b..56ff81b 100644 --- a/src/udrv/include/upio.h +++ b/halimpl/bcm2079x/udrv/include/upio.h diff --git a/src/include/buildcfg.h b/src/include/buildcfg.h deleted file mode 100644 index 932db88..0000000 --- a/src/include/buildcfg.h +++ /dev/null @@ -1,88 +0,0 @@ -/****************************************************************************** - * - * Copyright (C) 1999-2012 Broadcom Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at: - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - ******************************************************************************/ -#ifndef __BUILDCFG_H -#define __BUILDCFG_H -#include <memory.h> -#include <stdio.h> -#include <string.h> -#include "data_types.h" - -#ifndef NFC_CONTORLLER_ID -#define NFC_CONTORLLER_ID (1) -#endif - -#define BTE_APPL_MAX_USERIAL_DEV_NAME (256) - -#ifdef BT_TRACE_VERBOSE -#undef BT_TRACE_VERBOSE -#endif -#define BT_TRACE_VERBOSE TRUE - -#define TRACE_TASK_INCLUDED TRUE - -#define GKI_BUF1_MAX 0 -// 2 is in use -#define GKI_BUF3_MAX 30 -#define GKI_BUF4_SIZE 2400 -#define GKI_BUF4_MAX 30 -#define GKI_BUF5_MAX 0 -#define GKI_BUF6_MAX 0 -#define GKI_BUF7_MAX 0 -#define GKI_BUF8_MAX 0 - -#define GKI_BUF2_SIZE 660 -#define GKI_BUF2_MAX 50 - -#define GKI_BUF0_SIZE 268 -#define GKI_BUF0_MAX 40 - -#define NCI_BUF_POOL_ID GKI_POOL_ID_0 -#define GKI_NUM_FIXED_BUF_POOLS 4 - -#ifdef __cplusplus -extern "C" { -#endif - -extern uint8_t* scru_dump_hex(uint8_t* p, char* p_title, uint32_t len, - uint32_t trace_layer, uint32_t trace_type); -extern void ScrLog(uint32_t trace_set_mask, const char* fmt_str, ...); -extern void DispNci(uint8_t* p, uint16_t len, bool is_recv); - -extern void downloadFirmwarePatchFile(uint32_t brcm_hw_id); - -void ProtoDispAdapterDisplayNciPacket(uint8_t* nciPacket, uint16_t nciPacketLen, - bool is_recv); -#define DISP_NCI ProtoDispAdapterDisplayNciPacket -#define LOGMSG_TAG_NAME "BrcmNfcNfa" - -#ifndef _TIMEB -#define _TIMEB -struct _timeb { - long time; - short millitm; - short timezone; - short dstflag; -}; -void _ftime(struct _timeb*); - -#endif - -#ifdef __cplusplus -}; -#endif -#endif diff --git a/src/include/gki_target.h b/src/include/gki_target.h deleted file mode 100644 index 63a6202..0000000 --- a/src/include/gki_target.h +++ /dev/null @@ -1,411 +0,0 @@ -/****************************************************************************** - * - * Copyright (C) 1999-2012 Broadcom Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at: - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - ******************************************************************************/ -#ifndef GKI_TARGET_H -#define GKI_TARGET_H - -#ifdef BUILDCFG -#include "buildcfg.h" -#endif - -#include "data_types.h" - -/* Operating System Selection */ -#ifndef BTE_SIM_APP -#define _GKI_ARM -#define _GKI_STANDALONE -#else -#define _BT_WIN32 -#endif - -/****************************************************************************** -** -** Task configuration -** -******************************************************************************/ - -/* Definitions of task IDs for inter-task messaging */ -#ifndef MMI_TASK -#define MMI_TASK 0 -#endif - -#ifndef HCISU_TASK -#define HCISU_TASK 1 -#endif - -#ifndef NCIT_TASK -#define NCIT_TASK 2 -#endif - -#ifndef NFC_TASK -#define NFC_TASK 3 -#endif - -#ifndef BTU_TASK -#define BTU_TASK 4 -#endif - -/* BTE Application, Sample Apps, or Serial port Demo based on JP3 and JP4 - * setting) */ -#ifndef BTE_APPL_TASK -#define BTE_APPL_TASK 5 -#endif - -#ifndef DEV_MGR_TASK -#define DEV_MGR_TASK 6 -#endif - -#ifndef ISE_SCR_TASK -#define ISE_SCR_TASK 7 -#endif - -#ifndef UCODEC_TASK -#define UCODEC_TASK 8 -#endif - -#ifndef RPCT_TASK -#define RPCT_TASK 9 -#endif - -#ifndef UNV_TASK -#define UNV_TASK 10 -#endif - -#ifndef BTE_IDLE_TASK -#define BTE_IDLE_TASK 11 -#endif - -#ifndef UIPC_TASK -#define UIPC_TASK 12 -#endif - -#ifndef HCISU_AMP_TASK -#define HCISU_AMP_TASK 13 -#endif - -/* The number of GKI tasks in the software system. */ -#ifndef GKI_MAX_TASKS -#define GKI_MAX_TASKS 14 -#endif - -/****************************************************************************** -** -** Timer configuration -** -******************************************************************************/ - -/* The number of GKI timers in the software system. */ -#ifndef GKI_NUM_TIMERS -#define GKI_NUM_TIMERS 3 -#endif - -/* A conversion value for translating ticks to calculate GKI timer. */ -#ifndef TICKS_PER_SEC -#define TICKS_PER_SEC 100 -#endif - -/* delay in ticks before stopping system tick. */ -#ifndef GKI_DELAY_STOP_SYS_TICK -#define GKI_DELAY_STOP_SYS_TICK 10 -#endif - -/****************************************************************************** -** -** Buffer configuration -** -******************************************************************************/ - -/* The size of the buffers in pool 0. */ -#ifndef GKI_BUF0_SIZE -#define GKI_BUF0_SIZE 64 -#endif - -/* The number of buffers in buffer pool 0. */ -#ifndef GKI_BUF0_MAX -#define GKI_BUF0_MAX 48 -#endif - -/* The ID of buffer pool 0. */ -#ifndef GKI_POOL_ID_0 -#define GKI_POOL_ID_0 0 -#endif - -/* The size of the buffers in pool 1. */ -#ifndef GKI_BUF1_SIZE -#define GKI_BUF1_SIZE 128 -#endif - -/* The number of buffers in buffer pool 1. */ -#ifndef GKI_BUF1_MAX -#define GKI_BUF1_MAX 26 -#endif - -/* The ID of buffer pool 1. */ -#ifndef GKI_POOL_ID_1 -#define GKI_POOL_ID_1 1 -#endif - -/* The size of the buffers in pool 2. */ -#ifndef GKI_BUF2_SIZE -#define GKI_BUF2_SIZE 660 -#endif - -/* The number of buffers in buffer pool 2. */ -#ifndef GKI_BUF2_MAX -#define GKI_BUF2_MAX 45 -#endif - -/* The ID of buffer pool 2. */ -#ifndef GKI_POOL_ID_2 -#define GKI_POOL_ID_2 2 -#endif - -/* The size of the buffers in pool 3. */ -#ifndef GKI_BUF3_SIZE -#define GKI_BUF3_SIZE (0xFFB0) -#endif - -/* The number of buffers in buffer pool 3. */ -#ifndef GKI_BUF3_MAX -#define GKI_BUF3_MAX 30 -#endif - -/* The ID of buffer pool 3. */ -#ifndef GKI_POOL_ID_3 -#define GKI_POOL_ID_3 3 -#endif - -/* The size of the largest PUBLIC fixed buffer in system. */ -#ifndef GKI_MAX_BUF_SIZE -#define GKI_MAX_BUF_SIZE GKI_BUF3_SIZE -#endif - -/* The pool ID of the largest PUBLIC fixed buffer in system. */ -#ifndef GKI_MAX_BUF_SIZE_POOL_ID -#define GKI_MAX_BUF_SIZE_POOL_ID GKI_POOL_ID_3 -#endif - -/* RESERVED buffer pool for OBX */ -/* Ideally there should be 1 buffer for each instance for RX data, and some -number -of TX buffers based on active instances. OBX will only use these if packet size -requires it. In most cases the large packets are used in only one direction so -the other direction will use smaller buffers. -Devices with small amount of RAM should limit the number of active obex objects. -*/ -/* The size of the buffers in pool 4. */ -#ifndef GKI_BUF4_SIZE -#define GKI_BUF4_SIZE 0x2000 -#endif - -/* The number of buffers in buffer pool 4. */ -#ifndef GKI_BUF4_MAX -/* (OBX_NUM_SERVERS + OBX_NUM_CLIENTS) */ -#define GKI_BUF4_MAX 96 -#endif - -/* The ID of buffer pool 4. */ -#ifndef GKI_POOL_ID_4 -#define GKI_POOL_ID_4 4 -#endif - -/* The number of fixed GKI buffer pools. -If L2CAP_FCR_INCLUDED is FALSE, Pool ID 5 is unnecessary -If BTM_SCO_HCI_INCLUDED is FALSE, Pool ID 6 is unnecessary, otherwise set to 7 -If BTA_HL_INCLUDED is FALSE then Pool ID 7 is uncessary and set the following to -7, otherwise set to 8 -If GATT_SERVER_ENABLED is FALSE then Pool ID 8 is uncessary and set the -following to 8, otherwise set to 9 -*/ -#ifndef GKI_NUM_FIXED_BUF_POOLS -#define GKI_NUM_FIXED_BUF_POOLS 9 -#endif - -/* The buffer pool usage mask. */ -#ifndef GKI_DEF_BUFPOOL_PERM_MASK -#define GKI_DEF_BUFPOOL_PERM_MASK 0xfff0 -#endif - -/* The number of fixed and dynamic buffer pools. -If L2CAP_FCR_INCLUDED is FALSE, Pool ID 4 is unnecessary */ -#ifndef GKI_NUM_TOTAL_BUF_POOLS -#define GKI_NUM_TOTAL_BUF_POOLS 10 -#endif - -/* The following is intended to be a reserved pool for L2CAP -Flow control and retransmissions and intentionally kept out -of order */ - -/* The number of buffers in buffer pool 5. */ -#ifndef GKI_BUF5_MAX -#define GKI_BUF5_MAX 64 -#endif - -/* The ID of buffer pool 5. */ -#ifndef GKI_POOL_ID_5 -#define GKI_POOL_ID_5 5 -#endif - -/* The size of the buffers in pool 5 -** Special pool used by l2cap retransmissions only. This size based on segment -** that will fit into both DH5 and 2-DH3 packet types after accounting for GKI -** header. 13 bytes of max headers allows us a 339 payload max. -** (in btui_app.txt) -** Note: 748 used for insight scriptwrapper with CAT-2 scripts. -*/ -#ifndef GKI_BUF5_SIZE -#define GKI_BUF5_SIZE 748 -#endif - -/* The buffer corruption check flag. */ -#ifndef GKI_ENABLE_BUF_CORRUPTION_CHECK -#define GKI_ENABLE_BUF_CORRUPTION_CHECK TRUE -#endif - -/* The GKI severe error macro. */ -#ifndef GKI_SEVERE -#define GKI_SEVERE(code) -#endif - -/* Maximum number of exceptions logged. */ -#ifndef GKI_MAX_EXCEPTION -#define GKI_MAX_EXCEPTION 8 -#endif - -/* Maximum number of chars stored for each exception message. */ -#ifndef GKI_MAX_EXCEPTION_MSGLEN -#define GKI_MAX_EXCEPTION_MSGLEN 64 -#endif - -#ifndef GKI_SEND_MSG_FROM_ISR -#define GKI_SEND_MSG_FROM_ISR FALSE -#endif - -/* The following is intended to be a reserved pool for SCO -over HCI data and intentionally kept out of order */ - -/* The ID of buffer pool 6. */ -#ifndef GKI_POOL_ID_6 -#define GKI_POOL_ID_6 6 -#endif - -/* The size of the buffers in pool 6, - BUF_SIZE = max SCO data 255 + sizeof(NFC_HDR) = 8 + SCO packet header 3 + - padding 2 = 268 */ -#ifndef GKI_BUF6_SIZE -#define GKI_BUF6_SIZE 268 -#endif - -/* The number of buffers in buffer pool 6. */ -#ifndef GKI_BUF6_MAX -#define GKI_BUF6_MAX 60 -#endif - -/* The following pool is a dedicated pool for HDP - If a shared pool is more desirable then - 1. set BTA_HL_LRG_DATA_POOL_ID to the desired Gki Pool ID - 2. make sure that the shared pool size is larger than 9472 - 3. adjust GKI_NUM_FIXED_BUF_POOLS accordingly since - POOL ID 7 is not needed -*/ - -/* The ID of buffer pool 7. */ -#ifndef GKI_POOL_ID_7 -#define GKI_POOL_ID_7 7 -#endif - -/* The size of the buffers in pool 7 */ -#ifndef GKI_BUF7_SIZE -#define GKI_BUF7_SIZE 9472 -#endif - -/* The number of buffers in buffer pool 7. */ -#ifndef GKI_BUF7_MAX -#define GKI_BUF7_MAX 2 -#endif - -/* The following pool is a dedicated pool for GATT - If a shared pool is more desirable then - 1. set GATT_DB_POOL_ID to the desired Gki Pool ID - 2. make sure that the shared pool size fit a common GATT database needs - 3. adjust GKI_NUM_FIXED_BUF_POOLS accordingly since - POOL ID 8 is not needed -*/ - -/* The ID of buffer pool 8. */ -#ifndef GKI_POOL_ID_8 -#define GKI_POOL_ID_8 8 -#endif - -/* The size of the buffers in pool 8 */ -#ifndef GKI_BUF8_SIZE -#define GKI_BUF8_SIZE 128 -#endif - -/* The number of buffers in buffer pool 8. */ -#ifndef GKI_BUF8_MAX -#define GKI_BUF8_MAX 30 -#endif - -#define GKI_TRACE_0(m) -#define GKI_TRACE_1(m, p1) -#define GKI_TRACE_2(m, p1, p2) -#define GKI_TRACE_3(m, p1, p2, p3) -#define GKI_TRACE_4(m, p1, p2, p3, p4) -#define GKI_TRACE_5(m, p1, p2, p3, p4, p5) -#define GKI_TRACE_6(m, p1, p2, p3, p4, p5, p6) - -#define GKI_TRACE_ERROR_0(m) \ - LogMsg( \ - TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_ERROR, \ - m) -#define GKI_TRACE_ERROR_1(m, p1) \ - LogMsg( \ - TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_ERROR, \ - m, p1) -#define GKI_TRACE_ERROR_2(m, p1, p2) \ - LogMsg( \ - TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_ERROR, \ - m, p1, p2) -#define GKI_TRACE_ERROR_3(m, p1, p2, p3) \ - LogMsg( \ - TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_ERROR, \ - m, p1, p2, p3) -#define GKI_TRACE_ERROR_4(m, p1, p2, p3, p4) \ - LogMsg( \ - TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_ERROR, \ - m, p1, p2, p3, p4) -#define GKI_TRACE_ERROR_5(m, p1, p2, p3, p4, p5) \ - LogMsg( \ - TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_ERROR, \ - m, p1, p2, p3, p4, p5) -#define GKI_TRACE_ERROR_6(m, p1, p2, p3, p4, p5, p6) \ - LogMsg( \ - TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_ERROR, \ - m, p1, p2, p3, p4, p5, p6) - -#ifdef __cplusplus -extern "C" { -#endif - -extern void LogMsg(uint32_t trace_set_mask, const char* fmt_str, ...); - -#ifdef __cplusplus -} -#endif - -#endif /* GKI_TARGET_H */ |
