Loading gki/common/gki.h +0 −2 Original line number Diff line number Diff line Loading @@ -461,8 +461,6 @@ GKI_API extern void GKI_timer_queue_register_callback(SYSTEM_TICK_CBACK *); */ GKI_API extern void GKI_enable(void); GKI_API extern void GKI_disable(void); GKI_API extern void GKI_sched_lock(void); GKI_API extern void GKI_sched_unlock(void); /* Allocate (Free) memory from an OS */ Loading gki/ulinux/gki_ulinux.c +0 −42 Original line number Diff line number Diff line Loading @@ -1308,45 +1308,3 @@ void GKI_exit_task (UINT8 task_id) GKI_INFO("GKI_exit_task %d done", task_id); return; } /******************************************************************************* ** ** Function GKI_sched_lock ** ** Description This function is called by tasks to disable scheduler ** task context switching. ** ** Returns void ** ** NOTE This function is NOT called by the Broadcom stack and ** profiles. If you want to use it in your own implementation, ** put code here to tell the OS to disable context switching. ** *******************************************************************************/ void GKI_sched_lock(void) { GKI_TRACE("GKI_sched_lock"); return; } /******************************************************************************* ** ** Function GKI_sched_unlock ** ** Description This function is called by tasks to enable scheduler switching. ** ** Returns void ** ** NOTE This function is NOT called by the Broadcom stack and ** profiles. If you want to use it in your own implementation, ** put code here to tell the OS to re-enable context switching. ** *******************************************************************************/ void GKI_sched_unlock(void) { GKI_TRACE("GKI_sched_unlock"); } system/bta/ag/bta_ag_api.c +0 −2 Original line number Diff line number Diff line Loading @@ -71,9 +71,7 @@ tBTA_STATUS BTA_AgEnable(tBTA_AG_PARSE_MODE parse_mode, tBTA_AG_CBACK *p_cback) } /* register with BTA system manager */ GKI_sched_lock(); bta_sys_register(BTA_ID_AG, &bta_ag_reg); GKI_sched_unlock(); if ((p_buf = (tBTA_AG_API_ENABLE *) GKI_getbuf(sizeof(tBTA_AG_API_ENABLE))) != NULL) { Loading system/bta/ag/bta_ag_main.c +0 −2 Original line number Diff line number Diff line Loading @@ -713,9 +713,7 @@ static void bta_ag_api_disable(tBTA_AG_DATA *p_data) } /* De-register with BTA system manager */ GKI_sched_lock(); bta_sys_deregister(BTA_ID_AG); GKI_sched_unlock(); for (i = 0; i < BTA_AG_NUM_SCB; i++, p_scb++) { Loading system/bta/av/bta_av_api.c +0 −2 Original line number Diff line number Diff line Loading @@ -63,9 +63,7 @@ void BTA_AvEnable(tBTA_SEC sec_mask, tBTA_AV_FEAT features, tBTA_AV_CBACK *p_cba tBTA_AV_API_ENABLE *p_buf; /* register with BTA system manager */ GKI_sched_lock(); bta_sys_register(BTA_ID_AV, &bta_av_reg); GKI_sched_unlock(); if ((p_buf = (tBTA_AV_API_ENABLE *) GKI_getbuf(sizeof(tBTA_AV_API_ENABLE))) != NULL) { Loading Loading
gki/common/gki.h +0 −2 Original line number Diff line number Diff line Loading @@ -461,8 +461,6 @@ GKI_API extern void GKI_timer_queue_register_callback(SYSTEM_TICK_CBACK *); */ GKI_API extern void GKI_enable(void); GKI_API extern void GKI_disable(void); GKI_API extern void GKI_sched_lock(void); GKI_API extern void GKI_sched_unlock(void); /* Allocate (Free) memory from an OS */ Loading
gki/ulinux/gki_ulinux.c +0 −42 Original line number Diff line number Diff line Loading @@ -1308,45 +1308,3 @@ void GKI_exit_task (UINT8 task_id) GKI_INFO("GKI_exit_task %d done", task_id); return; } /******************************************************************************* ** ** Function GKI_sched_lock ** ** Description This function is called by tasks to disable scheduler ** task context switching. ** ** Returns void ** ** NOTE This function is NOT called by the Broadcom stack and ** profiles. If you want to use it in your own implementation, ** put code here to tell the OS to disable context switching. ** *******************************************************************************/ void GKI_sched_lock(void) { GKI_TRACE("GKI_sched_lock"); return; } /******************************************************************************* ** ** Function GKI_sched_unlock ** ** Description This function is called by tasks to enable scheduler switching. ** ** Returns void ** ** NOTE This function is NOT called by the Broadcom stack and ** profiles. If you want to use it in your own implementation, ** put code here to tell the OS to re-enable context switching. ** *******************************************************************************/ void GKI_sched_unlock(void) { GKI_TRACE("GKI_sched_unlock"); }
system/bta/ag/bta_ag_api.c +0 −2 Original line number Diff line number Diff line Loading @@ -71,9 +71,7 @@ tBTA_STATUS BTA_AgEnable(tBTA_AG_PARSE_MODE parse_mode, tBTA_AG_CBACK *p_cback) } /* register with BTA system manager */ GKI_sched_lock(); bta_sys_register(BTA_ID_AG, &bta_ag_reg); GKI_sched_unlock(); if ((p_buf = (tBTA_AG_API_ENABLE *) GKI_getbuf(sizeof(tBTA_AG_API_ENABLE))) != NULL) { Loading
system/bta/ag/bta_ag_main.c +0 −2 Original line number Diff line number Diff line Loading @@ -713,9 +713,7 @@ static void bta_ag_api_disable(tBTA_AG_DATA *p_data) } /* De-register with BTA system manager */ GKI_sched_lock(); bta_sys_deregister(BTA_ID_AG); GKI_sched_unlock(); for (i = 0; i < BTA_AG_NUM_SCB; i++, p_scb++) { Loading
system/bta/av/bta_av_api.c +0 −2 Original line number Diff line number Diff line Loading @@ -63,9 +63,7 @@ void BTA_AvEnable(tBTA_SEC sec_mask, tBTA_AV_FEAT features, tBTA_AV_CBACK *p_cba tBTA_AV_API_ENABLE *p_buf; /* register with BTA system manager */ GKI_sched_lock(); bta_sys_register(BTA_ID_AV, &bta_av_reg); GKI_sched_unlock(); if ((p_buf = (tBTA_AV_API_ENABLE *) GKI_getbuf(sizeof(tBTA_AV_API_ENABLE))) != NULL) { Loading