Dispersal of internal thread handler resulted in the SYSI task being

only required in a multiprocessor system.  It was replace by the MPCI
Receive Server.  As a result, the CPU Table field for extra stack for
the SYSI task was changed to be extra stack for the MPCI Receive Server.
This commit is contained in:
Joel Sherrill
1996-02-21 14:47:03 +00:00
parent adf98bd423
commit 8cbbe312b6
17 changed files with 22 additions and 23 deletions

View File

@@ -93,7 +93,7 @@ libc_create_hook(rtems_tcb *current_task,
} }
/* /*
* Called for all user TASKS (system tasks are SYSI and IDLE) * Called for all user TASKS (system tasks are MPCI Receive Server and IDLE)
*/ */
rtems_extension rtems_extension
@@ -115,7 +115,7 @@ libc_start_hook(rtems_tcb *current_task,
} }
/* /*
* Called for all user TASKS (system tasks are SYSI and IDLE) * Called for all user TASKS (system tasks are MPCI Receive Server and IDLE)
* *
* NOTE: When using RTEMS fake stat, fstat, and isatty, all output * NOTE: When using RTEMS fake stat, fstat, and isatty, all output
* is line buffered so this setvbuf is not necessary. This * is line buffered so this setvbuf is not necessary. This

View File

@@ -29,7 +29,6 @@
#include <rtems.h> #include <rtems.h>
#include <bsp.h> #include <bsp.h>
#include <rtems/libio.h> #include <rtems/libio.h>
#include <rtems/intthrd.h>
#include <libcsupport.h> #include <libcsupport.h>
@@ -88,9 +87,9 @@ fast_idle_switch_hook(rtems_tcb *current_task,
* but its the best we could think of at the moment. * but its the best we could think of at the moment.
*/ */
if (heir_task == _Internal_threads_Idle_thread) if (heir_task == _Thread_Idle)
CPU_HPPA_CLICKS_PER_TICK = fast_clock; CPU_HPPA_CLICKS_PER_TICK = fast_clock;
else if (current_task == _Internal_threads_Idle_thread) else if (current_task == _Thread_Idle)
CPU_HPPA_CLICKS_PER_TICK = normal_clock; CPU_HPPA_CLICKS_PER_TICK = normal_clock;
} }
@@ -345,7 +344,7 @@ bsp_start(void)
Cpu_table.interrupt_stack_size = (12 * 1024); Cpu_table.interrupt_stack_size = (12 * 1024);
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Set this artificially low for the simulator * Set this artificially low for the simulator

View File

@@ -179,7 +179,7 @@ int main(
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Copy the table * Copy the table

View File

@@ -174,7 +174,7 @@ int main(
Cpu_table.interrupt_table_segment = 0;/* get_ds(); */ Cpu_table.interrupt_table_segment = 0;/* get_ds(); */
Cpu_table.interrupt_table_offset = (void *)0; Cpu_table.interrupt_table_offset = (void *)0;
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Copy the table * Copy the table

View File

@@ -194,7 +194,7 @@ int main(
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
Cpu_table.Prcb = Prcb; Cpu_table.Prcb = Prcb;

View File

@@ -201,7 +201,7 @@ int main(
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Copy the table * Copy the table

View File

@@ -166,7 +166,7 @@ int main(
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Copy the table * Copy the table

View File

@@ -176,7 +176,7 @@ int main(
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Copy the table * Copy the table

View File

@@ -233,7 +233,7 @@ int main(
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Don't forget the other CPU Table entries. * Don't forget the other CPU Table entries.

View File

@@ -208,7 +208,7 @@ int main(
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Copy the table * Copy the table

View File

@@ -191,7 +191,7 @@ int main(
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Copy the table * Copy the table

View File

@@ -208,7 +208,7 @@ int main(
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Copy the table * Copy the table

View File

@@ -237,7 +237,7 @@ int bsp_start(
Cpu_table.interrupt_stack_size = 4096; Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Don't forget the other CPU Table entries. * Don't forget the other CPU Table entries.

View File

@@ -244,7 +244,7 @@ int bsp_start(
Cpu_table.interrupt_stack_size = 4 * 1024; Cpu_table.interrupt_stack_size = 4 * 1024;
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Don't forget the other CPU Table entries. * Don't forget the other CPU Table entries.

View File

@@ -321,7 +321,7 @@ bsp_start(void)
Cpu_table.interrupt_stack_size = (12 * 1024); Cpu_table.interrupt_stack_size = (12 * 1024);
Cpu_table.extra_system_initialization_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
/* /*
* Add 1 region for RTEMS Malloc * Add 1 region for RTEMS Malloc

View File

@@ -93,7 +93,7 @@ libc_create_hook(rtems_tcb *current_task,
} }
/* /*
* Called for all user TASKS (system tasks are SYSI and IDLE) * Called for all user TASKS (system tasks are MPCI Receive Server and IDLE)
*/ */
rtems_extension rtems_extension
@@ -115,7 +115,7 @@ libc_start_hook(rtems_tcb *current_task,
} }
/* /*
* Called for all user TASKS (system tasks are SYSI and IDLE) * Called for all user TASKS (system tasks are MPCI Receive Server and IDLE)
* *
* NOTE: When using RTEMS fake stat, fstat, and isatty, all output * NOTE: When using RTEMS fake stat, fstat, and isatty, all output
* is line buffered so this setvbuf is not necessary. This * is line buffered so this setvbuf is not necessary. This

View File

@@ -93,7 +93,7 @@ libc_create_hook(rtems_tcb *current_task,
} }
/* /*
* Called for all user TASKS (system tasks are SYSI and IDLE) * Called for all user TASKS (system tasks are MPCI Receive Server and IDLE)
*/ */
rtems_extension rtems_extension
@@ -115,7 +115,7 @@ libc_start_hook(rtems_tcb *current_task,
} }
/* /*
* Called for all user TASKS (system tasks are SYSI and IDLE) * Called for all user TASKS (system tasks are MPCI Receive Server and IDLE)
* *
* NOTE: When using RTEMS fake stat, fstat, and isatty, all output * NOTE: When using RTEMS fake stat, fstat, and isatty, all output
* is line buffered so this setvbuf is not necessary. This * is line buffered so this setvbuf is not necessary. This