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:
Joel Sherrill
1998-08-05 23:57:35 +00:00
parent d4bf16c50f
commit 0eb85ae3e7
6 changed files with 12 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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);
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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);
}