Android Hardware Abstraction Layer
Macros | Functions
gki_target.h File Reference
#include "data_types.h"

Go to the source code of this file.

Macros

#define _GKI_ARM
 
#define _GKI_STANDALONE
 
#define EXPORT_API
 
#define GKI_API   EXPORT_API
 
#define UDRV_API   EXPORT_API
 
#define MMI_TASK   0
 
#define HCISU_TASK   1
 
#define NCIT_TASK   2
 
#define NFC_TASK   3
 
#define BTU_TASK   4
 
#define BTE_APPL_TASK   5
 
#define DEV_MGR_TASK   6
 
#define ISE_SCR_TASK   7
 
#define UCODEC_TASK   8
 
#define RPCT_TASK   9
 
#define UNV_TASK   10
 
#define BTE_IDLE_TASK   11
 
#define UIPC_TASK   12
 
#define HCISU_AMP_TASK   13
 
#define GKI_MAX_TASKS   14
 
#define GKI_NUM_TIMERS   3
 
#define TICKS_PER_SEC   100
 
#define GKI_DELAY_STOP_SYS_TICK   10
 
#define GKI_USE_DYNAMIC_BUFFERS   FALSE
 
#define GKI_BUF0_SIZE   64
 
#define GKI_BUF0_MAX   48
 
#define GKI_POOL_ID_0   0
 
#define GKI_BUF1_SIZE   128
 
#define GKI_BUF1_MAX   26
 
#define GKI_POOL_ID_1   1
 
#define GKI_BUF2_SIZE   660
 
#define GKI_BUF2_MAX   45
 
#define GKI_POOL_ID_2   2
 
#define GKI_BUF3_SIZE   2500
 
#define GKI_BUF3_MAX   30
 
#define GKI_POOL_ID_3   3
 
#define GKI_MAX_BUF_SIZE   GKI_BUF3_SIZE
 
#define GKI_MAX_BUF_SIZE_POOL_ID   GKI_POOL_ID_3
 
#define GKI_BUF4_SIZE   0x2000
 
#define GKI_BUF4_MAX   (OBX_NUM_SERVERS + OBX_NUM_CLIENTS)
 
#define GKI_POOL_ID_4   4
 
#define GKI_NUM_FIXED_BUF_POOLS   9
 
#define GKI_DEF_BUFPOOL_PERM_MASK   0xfff0
 
#define GKI_NUM_TOTAL_BUF_POOLS   10
 
#define GKI_BUF5_MAX   64
 
#define GKI_POOL_ID_5   5
 
#define GKI_BUF5_SIZE   748
 
#define GKI_ENABLE_BUF_CORRUPTION_CHECK   TRUE
 
#define GKI_SEVERE(code)
 
#define GKI_DEBUG   FALSE
 
#define GKI_MAX_EXCEPTION   8
 
#define GKI_MAX_EXCEPTION_MSGLEN   64
 
#define GKI_SEND_MSG_FROM_ISR   FALSE
 
#define GKI_POOL_ID_6   6
 
#define GKI_BUF6_SIZE   268
 
#define GKI_BUF6_MAX   60
 
#define GKI_POOL_ID_7   7
 
#define GKI_BUF7_SIZE   9472
 
#define GKI_BUF7_MAX   2
 
#define GKI_POOL_ID_8   8
 
#define GKI_BUF8_SIZE   128
 
#define GKI_BUF8_MAX   30
 
#define LOG_TAG   "GKI_LINUX"
 
#define GKI_TRACE_0(m)   LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m)
 
#define GKI_TRACE_1(m, p1)   LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1)
 
#define GKI_TRACE_2(m, p1, p2)   LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1,p2)
 
#define GKI_TRACE_3(m, p1, p2, p3)   LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1,p2,p3)
 
#define GKI_TRACE_4(m, p1, p2, p3, p4)   LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1,p2,p3,p4)
 
#define GKI_TRACE_5(m, p1, p2, p3, p4, p5)   LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1,p2,p3,p4,p5)
 
#define GKI_TRACE_6(m, p1, p2, p3, p4, p5, p6)   LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,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)
 

Functions

EXPORT_API void LogMsg (UINT32 trace_set_mask, const char *fmt_str,...)
 

Macro Definition Documentation

#define _GKI_ARM

Definition at line 29 of file gki_target.h.

#define _GKI_STANDALONE

Definition at line 30 of file gki_target.h.

#define BTE_APPL_TASK   5

Definition at line 78 of file gki_target.h.

#define BTE_IDLE_TASK   11

Definition at line 102 of file gki_target.h.

#define BTU_TASK   4

Definition at line 73 of file gki_target.h.

#define DEV_MGR_TASK   6

Definition at line 82 of file gki_target.h.

#define EXPORT_API

Definition at line 36 of file gki_target.h.

#define GKI_API   EXPORT_API

Definition at line 45 of file gki_target.h.

#define GKI_BUF0_MAX   48

Definition at line 158 of file gki_target.h.

#define GKI_BUF0_SIZE   64

Definition at line 153 of file gki_target.h.

#define GKI_BUF1_MAX   26

Definition at line 173 of file gki_target.h.

#define GKI_BUF1_SIZE   128

Definition at line 168 of file gki_target.h.

#define GKI_BUF2_MAX   45

Definition at line 188 of file gki_target.h.

#define GKI_BUF2_SIZE   660

Definition at line 183 of file gki_target.h.

#define GKI_BUF3_MAX   30

Definition at line 203 of file gki_target.h.

#define GKI_BUF3_SIZE   2500

Definition at line 198 of file gki_target.h.

#define GKI_BUF4_MAX   (OBX_NUM_SERVERS + OBX_NUM_CLIENTS)

Definition at line 235 of file gki_target.h.

#define GKI_BUF4_SIZE   0x2000

Definition at line 230 of file gki_target.h.

#define GKI_BUF5_MAX   64

Definition at line 270 of file gki_target.h.

#define GKI_BUF5_SIZE   748

Definition at line 285 of file gki_target.h.

#define GKI_BUF6_MAX   60

Definition at line 334 of file gki_target.h.

#define GKI_BUF6_SIZE   268

Definition at line 329 of file gki_target.h.

#define GKI_BUF7_MAX   2

Definition at line 358 of file gki_target.h.

#define GKI_BUF7_SIZE   9472

Definition at line 353 of file gki_target.h.

#define GKI_BUF8_MAX   30

Definition at line 381 of file gki_target.h.

#define GKI_BUF8_SIZE   128

Definition at line 376 of file gki_target.h.

#define GKI_DEBUG   FALSE

Definition at line 300 of file gki_target.h.

#define GKI_DEF_BUFPOOL_PERM_MASK   0xfff0

Definition at line 255 of file gki_target.h.

#define GKI_DELAY_STOP_SYS_TICK   10

Definition at line 137 of file gki_target.h.

#define GKI_ENABLE_BUF_CORRUPTION_CHECK   TRUE

Definition at line 290 of file gki_target.h.

#define GKI_MAX_BUF_SIZE   GKI_BUF3_SIZE

Definition at line 213 of file gki_target.h.

#define GKI_MAX_BUF_SIZE_POOL_ID   GKI_POOL_ID_3

Definition at line 218 of file gki_target.h.

#define GKI_MAX_EXCEPTION   8

Definition at line 305 of file gki_target.h.

#define GKI_MAX_EXCEPTION_MSGLEN   64

Definition at line 310 of file gki_target.h.

#define GKI_MAX_TASKS   14

Definition at line 116 of file gki_target.h.

#define GKI_NUM_FIXED_BUF_POOLS   9

Definition at line 250 of file gki_target.h.

#define GKI_NUM_TIMERS   3

Definition at line 127 of file gki_target.h.

#define GKI_NUM_TOTAL_BUF_POOLS   10

Definition at line 261 of file gki_target.h.

#define GKI_POOL_ID_0   0

Definition at line 163 of file gki_target.h.

#define GKI_POOL_ID_1   1

Definition at line 178 of file gki_target.h.

#define GKI_POOL_ID_2   2

Definition at line 193 of file gki_target.h.

#define GKI_POOL_ID_3   3

Definition at line 208 of file gki_target.h.

#define GKI_POOL_ID_4   4

Definition at line 240 of file gki_target.h.

#define GKI_POOL_ID_5   5

Definition at line 275 of file gki_target.h.

#define GKI_POOL_ID_6   6

Definition at line 323 of file gki_target.h.

#define GKI_POOL_ID_7   7

Definition at line 348 of file gki_target.h.

#define GKI_POOL_ID_8   8

Definition at line 371 of file gki_target.h.

#define GKI_SEND_MSG_FROM_ISR   FALSE

Definition at line 314 of file gki_target.h.

#define GKI_SEVERE (   code)

Definition at line 295 of file gki_target.h.

#define GKI_TRACE_0 (   m)    LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m)

Definition at line 390 of file gki_target.h.

#define GKI_TRACE_1 (   m,
  p1 
)    LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1)

Definition at line 391 of file gki_target.h.

#define GKI_TRACE_2 (   m,
  p1,
  p2 
)    LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1,p2)

Definition at line 392 of file gki_target.h.

#define GKI_TRACE_3 (   m,
  p1,
  p2,
  p3 
)    LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1,p2,p3)

Definition at line 393 of file gki_target.h.

#define GKI_TRACE_4 (   m,
  p1,
  p2,
  p3,
  p4 
)    LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1,p2,p3,p4)

Definition at line 394 of file gki_target.h.

#define GKI_TRACE_5 (   m,
  p1,
  p2,
  p3,
  p4,
  p5 
)    LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1,p2,p3,p4,p5)

Definition at line 395 of file gki_target.h.

#define GKI_TRACE_6 (   m,
  p1,
  p2,
  p3,
  p4,
  p5,
  p6 
)    LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_GENERIC,m,p1,p2,p3,p4,p5,p6)

Definition at line 396 of file gki_target.h.

#define GKI_TRACE_ERROR_0 (   m)    LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_ERROR,m)

Definition at line 408 of file gki_target.h.

#define GKI_TRACE_ERROR_1 (   m,
  p1 
)    LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_ERROR,m,p1)

Definition at line 409 of file gki_target.h.

#define GKI_TRACE_ERROR_2 (   m,
  p1,
  p2 
)    LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI | TRACE_TYPE_ERROR,m,p1,p2)

Definition at line 410 of file gki_target.h.

#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)

Definition at line 411 of file gki_target.h.

#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)

Definition at line 412 of file gki_target.h.

#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)

Definition at line 413 of file gki_target.h.

#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)

Definition at line 414 of file gki_target.h.

#define GKI_USE_DYNAMIC_BUFFERS   FALSE

Definition at line 148 of file gki_target.h.

#define HCISU_AMP_TASK   13

Definition at line 110 of file gki_target.h.

#define HCISU_TASK   1

Definition at line 61 of file gki_target.h.

#define ISE_SCR_TASK   7

Definition at line 86 of file gki_target.h.

#define LOG_TAG   "GKI_LINUX"

Definition at line 388 of file gki_target.h.

#define MMI_TASK   0

Definition at line 57 of file gki_target.h.

#define NCIT_TASK   2

Definition at line 65 of file gki_target.h.

#define NFC_TASK   3

Definition at line 69 of file gki_target.h.

#define RPCT_TASK   9

Definition at line 94 of file gki_target.h.

#define TICKS_PER_SEC   100

Definition at line 132 of file gki_target.h.

#define UCODEC_TASK   8

Definition at line 90 of file gki_target.h.

#define UDRV_API   EXPORT_API

Definition at line 46 of file gki_target.h.

#define UIPC_TASK   12

Definition at line 106 of file gki_target.h.

#define UNV_TASK   10

Definition at line 98 of file gki_target.h.

Function Documentation

EXPORT_API void LogMsg ( UINT32  trace_set_mask,
const char *  fmt_str,
  ... 
)