mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-25 13:57:15 +00:00
Commented out the code which yields the CPU when the serial controller is
busy. This type of behavior perturbs the tests and many of them will not pass.
This commit is contained in:
@@ -371,9 +371,11 @@ MC68681_STATIC void mc68681_write_polled(
|
||||
* Yield while we wait
|
||||
*/
|
||||
|
||||
#if 0
|
||||
if(_System_state_Is_up(_System_state_Get())) {
|
||||
rtems_task_wake_after(RTEMS_YIELD_PROCESSOR);
|
||||
}
|
||||
#endif
|
||||
ucLineStatus = (*getReg)(pMC68681_port, MC68681_STATUS);
|
||||
if(!--iTimeout) {
|
||||
break;
|
||||
|
||||
@@ -201,9 +201,11 @@ NS16550_STATIC void ns16550_write_polled(
|
||||
/*
|
||||
* Yield while we wait
|
||||
*/
|
||||
#if 0
|
||||
if(_System_state_Is_up(_System_state_Get())) {
|
||||
rtems_task_wake_after(RTEMS_YIELD_PROCESSOR);
|
||||
}
|
||||
#endif
|
||||
ucLineStatus = (*getReg)(pNS16550, NS16550_LINE_STATUS);
|
||||
if(!--iTimeout) {
|
||||
break;
|
||||
|
||||
@@ -871,9 +871,11 @@ Z85C30_STATIC void z85c30_write_polled(
|
||||
/*
|
||||
* Yield while we wait
|
||||
*/
|
||||
#if 0
|
||||
if (_System_state_Is_up(_System_state_Get())) {
|
||||
rtems_task_wake_after(RTEMS_YIELD_PROCESSOR);
|
||||
}
|
||||
#endif
|
||||
z85c30_status = (*getReg)(ulCtrlPort, SCC_WR0_SEL_RD0);
|
||||
}
|
||||
|
||||
|
||||
@@ -371,9 +371,11 @@ MC68681_STATIC void mc68681_write_polled(
|
||||
* Yield while we wait
|
||||
*/
|
||||
|
||||
#if 0
|
||||
if(_System_state_Is_up(_System_state_Get())) {
|
||||
rtems_task_wake_after(RTEMS_YIELD_PROCESSOR);
|
||||
}
|
||||
#endif
|
||||
ucLineStatus = (*getReg)(pMC68681_port, MC68681_STATUS);
|
||||
if(!--iTimeout) {
|
||||
break;
|
||||
|
||||
@@ -201,9 +201,11 @@ NS16550_STATIC void ns16550_write_polled(
|
||||
/*
|
||||
* Yield while we wait
|
||||
*/
|
||||
#if 0
|
||||
if(_System_state_Is_up(_System_state_Get())) {
|
||||
rtems_task_wake_after(RTEMS_YIELD_PROCESSOR);
|
||||
}
|
||||
#endif
|
||||
ucLineStatus = (*getReg)(pNS16550, NS16550_LINE_STATUS);
|
||||
if(!--iTimeout) {
|
||||
break;
|
||||
|
||||
@@ -871,9 +871,11 @@ Z85C30_STATIC void z85c30_write_polled(
|
||||
/*
|
||||
* Yield while we wait
|
||||
*/
|
||||
#if 0
|
||||
if (_System_state_Is_up(_System_state_Get())) {
|
||||
rtems_task_wake_after(RTEMS_YIELD_PROCESSOR);
|
||||
}
|
||||
#endif
|
||||
z85c30_status = (*getReg)(ulCtrlPort, SCC_WR0_SEL_RD0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user