Loading system/bta/sys/bta_sys_main.c +0 −3 Original line number Diff line number Diff line Loading @@ -599,8 +599,6 @@ BOOLEAN bta_sys_is_register(UINT8 id) void bta_sys_sendmsg(void *p_msg) { fixed_queue_enqueue(btu_bta_msg_queue, p_msg); // Signal the target thread work is ready. GKI_send_event(BTU_TASK, (UINT16)EVENT_MASK(BTA_MBOX)); } /******************************************************************************* Loading @@ -618,7 +616,6 @@ void bta_alarm_cb(void *data) { TIMER_LIST_ENT *p_tle = (TIMER_LIST_ENT *)data; fixed_queue_enqueue(btu_bta_alarm_queue, p_tle); GKI_send_event(BTU_TASK, TASK_MBOX_0_EVT_MASK); } void bta_sys_start_timer(TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout_ms) { Loading system/include/gki_target.h +0 −4 Original line number Diff line number Diff line Loading @@ -27,10 +27,6 @@ ******************************************************************************/ /* Definitions of task IDs for inter-task messaging */ #ifndef BTU_TASK #define BTU_TASK 0 #endif #ifndef BTIF_TASK #define BTIF_TASK 1 #endif Loading system/stack/btu/btu_hcif.c +0 −2 Original line number Diff line number Diff line Loading @@ -940,7 +940,6 @@ static void btu_hcif_command_complete_evt(BT_HDR *response, void *context) event->event = BTU_POST_TO_TASK_NO_GOOD_HORRIBLE_HACK; fixed_queue_enqueue(btu_hci_msg_queue, event); GKI_send_event(BTU_TASK, (UINT16)EVENT_MASK(BTU_HCI_RCV_MBOX)); } Loading Loading @@ -1140,7 +1139,6 @@ static void btu_hcif_command_status_evt(uint8_t status, BT_HDR *command, void *c event->event = BTU_POST_TO_TASK_NO_GOOD_HORRIBLE_HACK; fixed_queue_enqueue(btu_hci_msg_queue, event); GKI_send_event(BTU_TASK, (UINT16)EVENT_MASK(BTU_HCI_RCV_MBOX)); } /******************************************************************************* Loading system/stack/include/btu.h +0 −5 Original line number Diff line number Diff line Loading @@ -49,11 +49,6 @@ typedef struct { void *context; } command_status_hack_t; /* Define the BTU mailbox usage */ #define BTU_HCI_RCV_MBOX TASK_MBOX_0 /* Messages from HCI */ #define BTU_BTIF_MBOX TASK_MBOX_1 /* Messages to BTIF */ /* callbacks */ typedef void (*tBTU_TIMER_CALLBACK)(TIMER_LIST_ENT *p_tle); Loading Loading
system/bta/sys/bta_sys_main.c +0 −3 Original line number Diff line number Diff line Loading @@ -599,8 +599,6 @@ BOOLEAN bta_sys_is_register(UINT8 id) void bta_sys_sendmsg(void *p_msg) { fixed_queue_enqueue(btu_bta_msg_queue, p_msg); // Signal the target thread work is ready. GKI_send_event(BTU_TASK, (UINT16)EVENT_MASK(BTA_MBOX)); } /******************************************************************************* Loading @@ -618,7 +616,6 @@ void bta_alarm_cb(void *data) { TIMER_LIST_ENT *p_tle = (TIMER_LIST_ENT *)data; fixed_queue_enqueue(btu_bta_alarm_queue, p_tle); GKI_send_event(BTU_TASK, TASK_MBOX_0_EVT_MASK); } void bta_sys_start_timer(TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout_ms) { Loading
system/include/gki_target.h +0 −4 Original line number Diff line number Diff line Loading @@ -27,10 +27,6 @@ ******************************************************************************/ /* Definitions of task IDs for inter-task messaging */ #ifndef BTU_TASK #define BTU_TASK 0 #endif #ifndef BTIF_TASK #define BTIF_TASK 1 #endif Loading
system/stack/btu/btu_hcif.c +0 −2 Original line number Diff line number Diff line Loading @@ -940,7 +940,6 @@ static void btu_hcif_command_complete_evt(BT_HDR *response, void *context) event->event = BTU_POST_TO_TASK_NO_GOOD_HORRIBLE_HACK; fixed_queue_enqueue(btu_hci_msg_queue, event); GKI_send_event(BTU_TASK, (UINT16)EVENT_MASK(BTU_HCI_RCV_MBOX)); } Loading Loading @@ -1140,7 +1139,6 @@ static void btu_hcif_command_status_evt(uint8_t status, BT_HDR *command, void *c event->event = BTU_POST_TO_TASK_NO_GOOD_HORRIBLE_HACK; fixed_queue_enqueue(btu_hci_msg_queue, event); GKI_send_event(BTU_TASK, (UINT16)EVENT_MASK(BTU_HCI_RCV_MBOX)); } /******************************************************************************* Loading
system/stack/include/btu.h +0 −5 Original line number Diff line number Diff line Loading @@ -49,11 +49,6 @@ typedef struct { void *context; } command_status_hack_t; /* Define the BTU mailbox usage */ #define BTU_HCI_RCV_MBOX TASK_MBOX_0 /* Messages from HCI */ #define BTU_BTIF_MBOX TASK_MBOX_1 /* Messages to BTIF */ /* callbacks */ typedef void (*tBTU_TIMER_CALLBACK)(TIMER_LIST_ENT *p_tle); Loading