forked from Imagelibrary/rtems
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:
@@ -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
|
||||
@@ -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
|
||||
* is line buffered so this setvbuf is not necessary. This
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <rtems.h>
|
||||
#include <bsp.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <rtems/intthrd.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.
|
||||
*/
|
||||
|
||||
if (heir_task == _Internal_threads_Idle_thread)
|
||||
if (heir_task == _Thread_Idle)
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -345,7 +344,7 @@ bsp_start(void)
|
||||
|
||||
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
|
||||
|
||||
@@ -179,7 +179,7 @@ int main(
|
||||
|
||||
Cpu_table.interrupt_stack_size = 4096;
|
||||
|
||||
Cpu_table.extra_system_initialization_stack = 0;
|
||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
||||
|
||||
/*
|
||||
* Copy the table
|
||||
|
||||
@@ -174,7 +174,7 @@ int main(
|
||||
Cpu_table.interrupt_table_segment = 0;/* get_ds(); */
|
||||
Cpu_table.interrupt_table_offset = (void *)0;
|
||||
Cpu_table.interrupt_stack_size = 4096;
|
||||
Cpu_table.extra_system_initialization_stack = 0;
|
||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
||||
|
||||
/*
|
||||
* Copy the table
|
||||
|
||||
@@ -194,7 +194,7 @@ int main(
|
||||
|
||||
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;
|
||||
|
||||
|
||||
@@ -201,7 +201,7 @@ int main(
|
||||
|
||||
Cpu_table.interrupt_stack_size = 4096;
|
||||
|
||||
Cpu_table.extra_system_initialization_stack = 0;
|
||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
||||
|
||||
/*
|
||||
* Copy the table
|
||||
|
||||
@@ -166,7 +166,7 @@ int main(
|
||||
|
||||
Cpu_table.interrupt_stack_size = 4096;
|
||||
|
||||
Cpu_table.extra_system_initialization_stack = 0;
|
||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
||||
|
||||
/*
|
||||
* Copy the table
|
||||
|
||||
@@ -176,7 +176,7 @@ int main(
|
||||
|
||||
Cpu_table.interrupt_stack_size = 4096;
|
||||
|
||||
Cpu_table.extra_system_initialization_stack = 0;
|
||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
||||
|
||||
/*
|
||||
* Copy the table
|
||||
|
||||
@@ -233,7 +233,7 @@ int main(
|
||||
|
||||
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.
|
||||
|
||||
@@ -208,7 +208,7 @@ int main(
|
||||
|
||||
Cpu_table.interrupt_stack_size = 4096;
|
||||
|
||||
Cpu_table.extra_system_initialization_stack = 0;
|
||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
||||
|
||||
/*
|
||||
* Copy the table
|
||||
|
||||
@@ -191,7 +191,7 @@ int main(
|
||||
|
||||
Cpu_table.interrupt_stack_size = 4096;
|
||||
|
||||
Cpu_table.extra_system_initialization_stack = 0;
|
||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
||||
|
||||
/*
|
||||
* Copy the table
|
||||
|
||||
@@ -208,7 +208,7 @@ int main(
|
||||
|
||||
Cpu_table.interrupt_stack_size = 4096;
|
||||
|
||||
Cpu_table.extra_system_initialization_stack = 0;
|
||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
||||
|
||||
/*
|
||||
* Copy the table
|
||||
|
||||
@@ -237,7 +237,7 @@ int bsp_start(
|
||||
|
||||
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.
|
||||
|
||||
@@ -244,7 +244,7 @@ int bsp_start(
|
||||
|
||||
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.
|
||||
|
||||
@@ -321,7 +321,7 @@ bsp_start(void)
|
||||
|
||||
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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
* is line buffered so this setvbuf is not necessary. This
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
* is line buffered so this setvbuf is not necessary. This
|
||||
|
||||
Reference in New Issue
Block a user