mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* rtems/score/cpu.h: Do not inline _Thread_Enable_dispatch for Thumb to
|
* rtems/score/cpu.h: Do not inline _Thread_Enable_dispatch for Thumb to
|
||||||
|
|||||||
@@ -385,33 +385,9 @@ typedef CPU_Exception_frame CPU_Interrupt_frame;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
void (*idle_task)( void );
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
void (*stack_free_hook)( void* );
|
|
||||||
/* end of fields required on all CPUs */
|
|
||||||
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access ARM specific additions to the CPU Table
|
|
||||||
*
|
|
||||||
* none required
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* There are no CPU specific additions to the CPU Table for this port. */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This variable is optional. It is used on CPUs on which it is difficult
|
* This variable is optional. It is used on CPUs on which it is difficult
|
||||||
* to generate an "uninitialized" FP context. It is filled in by
|
* to generate an "uninitialized" FP context. It is filled in by
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
|
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
|
||||||
|
|||||||
@@ -429,39 +429,9 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
void (*idle_task)( void );
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
void (*stack_free_hook)( void* );
|
|
||||||
/* end of fields required on all CPUs */
|
|
||||||
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*
|
|
||||||
* AVR Specific Information:
|
|
||||||
*
|
|
||||||
* XXX document implementation including references if appropriate
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access AVR specific additions to the CPU Table
|
|
||||||
*
|
|
||||||
* AVR Specific Information:
|
|
||||||
*
|
|
||||||
* XXX document implementation including references if appropriate
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* There are no CPU specific additions to the CPU Table for this port. */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This variable is optional. It is used on CPUs on which it is difficult
|
* This variable is optional. It is used on CPUs on which it is difficult
|
||||||
* to generate an "uninitialized" FP context. It is filled in by
|
* to generate an "uninitialized" FP context. It is filled in by
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-09-10 Alain Schaefer <alani@easc.ch>
|
2007-09-10 Alain Schaefer <alani@easc.ch>
|
||||||
|
|
||||||
* cpu_asm.S: Fix two problems:
|
* cpu_asm.S: Fix two problems:
|
||||||
|
|||||||
@@ -560,67 +560,13 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/** This element points to the BSP's pretasking hook. */
|
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
/** This element points to the BSP's predriver hook. */
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
/** This element points to the BSP's postdriver hook. */
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
/** This element points to the BSP's optional idle task which may override
|
|
||||||
* the default one provided with RTEMS.
|
|
||||||
*/
|
|
||||||
void (*idle_task)( void );
|
|
||||||
/** If this element is TRUE, then RTEMS will zero the Executive Workspace.
|
|
||||||
* When this element is FALSE, it is assumed that the BSP or invoking
|
|
||||||
* environment has ensured that memory was cleared before RTEMS was
|
|
||||||
* invoked.
|
|
||||||
*/
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
/** This field specifies the size of the IDLE task's stack. If less than or
|
|
||||||
* equal to the minimum stack size, then the IDLE task will have the minimum
|
|
||||||
* stack size.
|
|
||||||
*/
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
/** This field specifies the size of the interrupt stack. If less than or
|
/** This field specifies the size of the interrupt stack. If less than or
|
||||||
* equal to the minimum stack size, then the interrupt stack will be of
|
* equal to the minimum stack size, then the interrupt stack will be of
|
||||||
* minimum stack size.
|
* minimum stack size.
|
||||||
*/
|
*/
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
/** The MPCI Receive server is assumed to have a stack of at least
|
|
||||||
* minimum stack size. This field specifies the amount of extra
|
|
||||||
* stack this task will be given in bytes.
|
|
||||||
*/
|
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
/** The BSP may want to provide it's own stack allocation routines.
|
|
||||||
* In this case, the BSP will provide this stack allocation hook.
|
|
||||||
*/
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
/** The BSP may want to provide it's own stack free routines.
|
|
||||||
* In this case, the BSP will provide this stack free hook.
|
|
||||||
*/
|
|
||||||
void (*stack_free_hook)( void *);
|
|
||||||
/* end of fields required on all CPUs */
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*
|
|
||||||
* Port Specific Information:
|
|
||||||
*
|
|
||||||
* XXX document implementation including references if appropriate
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access Blackfin specific additions to the CPU Table
|
|
||||||
*
|
|
||||||
* Port Specific Information:
|
|
||||||
*
|
|
||||||
* XXX document implementation including references if appropriate
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* There are no CPU specific additions to the CPU Table for this port. */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This variable is optional. It is used on CPUs on which it is difficult
|
* This variable is optional. It is used on CPUs on which it is difficult
|
||||||
* to generate an "uninitialized" FP context. It is filled in by
|
* to generate an "uninitialized" FP context. It is filled in by
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
|
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
|
||||||
|
|||||||
@@ -529,25 +529,9 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
void (*idle_task)( void );
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
void (*stack_free_hook)( void* );
|
|
||||||
/* end of fields required on all CPUs */
|
|
||||||
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Macros to access C4X specific additions to the CPU Table
|
* Macros to access C4X specific additions to the CPU Table
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
|
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
|
||||||
|
|||||||
@@ -404,25 +404,13 @@ typedef struct {
|
|||||||
* NOTE: The interrupt_stack_size field is required if
|
* NOTE: The interrupt_stack_size field is required if
|
||||||
* CPU_ALLOCATE_INTERRUPT_STACK is defined as TRUE.
|
* CPU_ALLOCATE_INTERRUPT_STACK is defined as TRUE.
|
||||||
*
|
*
|
||||||
* The pretasking_hook, predriver_hook, and postdriver_hook,
|
|
||||||
* and the do_zero_of_workspace fields are required on ALL CPUs.
|
|
||||||
*
|
|
||||||
* H8300 Specific Information:
|
* H8300 Specific Information:
|
||||||
*
|
*
|
||||||
* XXX
|
* XXX
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
void (*idle_task)( void );
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
void (*stack_free_hook)( void* );
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* rtems/score/cpu.h: Eliminate the interrupt_table_segment and
|
* rtems/score/cpu.h: Eliminate the interrupt_table_segment and
|
||||||
|
|||||||
@@ -187,21 +187,9 @@ typedef struct {
|
|||||||
void (*pretasking_hook)( void );
|
void (*pretasking_hook)( void );
|
||||||
void (*predriver_hook)( void );
|
void (*predriver_hook)( void );
|
||||||
void (*postdriver_hook)( void );
|
void (*postdriver_hook)( void );
|
||||||
void (*idle_task)( void );
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
void (*stack_free_hook)( void* );
|
|
||||||
/* end of fields required on all CPUs */
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* context size area for floating point
|
* context size area for floating point
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* rtems/score/cpu.h: Eliminate the interrupt_vector_table field in the
|
* rtems/score/cpu.h: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -191,28 +191,13 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
void (*idle_task)( void );
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
void (*stack_free_hook)( void* );
|
|
||||||
/* end of fields required on all CPUs */
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* variables */
|
/* variables */
|
||||||
|
|
||||||
SCORE_EXTERN void *_CPU_Interrupt_stack_low;
|
SCORE_EXTERN void *_CPU_Interrupt_stack_low;
|
||||||
SCORE_EXTERN void *_CPU_Interrupt_stack_high;
|
SCORE_EXTERN void *_CPU_Interrupt_stack_high;
|
||||||
|
|
||||||
extern void* _VBR;
|
extern void* _VBR;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
|
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
|
||||||
|
|||||||
@@ -598,17 +598,7 @@ typedef struct
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
void (*idle_task)( void );
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
void (*stack_free_hook)( void* );
|
|
||||||
/* end of fields required on all CPUs */
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/cpu.h:
|
* rtems/score/cpu.h:
|
||||||
|
|||||||
@@ -558,61 +558,13 @@ typedef struct {
|
|||||||
void (*predriver_hook)( void );
|
void (*predriver_hook)( void );
|
||||||
/** This element points to the BSP's postdriver hook. */
|
/** This element points to the BSP's postdriver hook. */
|
||||||
void (*postdriver_hook)( void );
|
void (*postdriver_hook)( void );
|
||||||
/** This element points to the BSP's optional idle task which may override
|
|
||||||
* the default one provided with RTEMS.
|
|
||||||
*/
|
|
||||||
void (*idle_task)( void );
|
|
||||||
/** If this element is TRUE, then RTEMS will zero the Executive Workspace.
|
|
||||||
* When this element is FALSE, it is assumed that the BSP or invoking
|
|
||||||
* environment has ensured that memory was cleared before RTEMS was
|
|
||||||
* invoked.
|
|
||||||
*/
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
/** This field specifies the size of the IDLE task's stack. If less than or
|
|
||||||
* equal to the minimum stack size, then the IDLE task will have the minimum
|
|
||||||
* stack size.
|
|
||||||
*/
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
/** This field specifies the size of the interrupt stack. If less than or
|
/** This field specifies the size of the interrupt stack. If less than or
|
||||||
* equal to the minimum stack size, then the interrupt stack will be of
|
* equal to the minimum stack size, then the interrupt stack will be of
|
||||||
* minimum stack size.
|
* minimum stack size.
|
||||||
*/
|
*/
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
/** The MPCI Receive server is assumed to have a stack of at least
|
|
||||||
* minimum stack size. This field specifies the amount of extra
|
|
||||||
* stack this task will be given in bytes.
|
|
||||||
*/
|
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
/** The BSP may want to provide it's own stack allocation routines.
|
|
||||||
* In this case, the BSP will provide this stack allocation hook.
|
|
||||||
*/
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
/** The BSP may want to provide it's own stack free routines.
|
|
||||||
* In this case, the BSP will provide this stack free hook.
|
|
||||||
*/
|
|
||||||
void (*stack_free_hook)( void *);
|
|
||||||
/* end of fields required on all CPUs */
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*
|
|
||||||
* Port Specific Information:
|
|
||||||
*
|
|
||||||
* XXX document implementation including references if appropriate
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access NIOS2 specific additions to the CPU Table
|
|
||||||
*
|
|
||||||
* Port Specific Information:
|
|
||||||
*
|
|
||||||
* XXX document implementation including references if appropriate
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* There are no CPU specific additions to the CPU Table for this port. */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This variable is optional. It is used on CPUs on which it is difficult
|
* This variable is optional. It is used on CPUs on which it is difficult
|
||||||
* to generate an "uninitialized" FP context. It is filled in by
|
* to generate an "uninitialized" FP context. It is filled in by
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/cpu.h:
|
* rtems/score/cpu.h:
|
||||||
|
|||||||
@@ -497,67 +497,13 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/** This element points to the BSP's pretasking hook. */
|
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
/** This element points to the BSP's predriver hook. */
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
/** This element points to the BSP's postdriver hook. */
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
/** This element points to the BSP's optional idle task which may override
|
|
||||||
* the default one provided with RTEMS.
|
|
||||||
*/
|
|
||||||
void (*idle_task)( void );
|
|
||||||
/** If this element is TRUE, then RTEMS will zero the Executive Workspace.
|
|
||||||
* When this element is FALSE, it is assumed that the BSP or invoking
|
|
||||||
* environment has ensured that memory was cleared before RTEMS was
|
|
||||||
* invoked.
|
|
||||||
*/
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
/** This field specifies the size of the IDLE task's stack. If less than or
|
|
||||||
* equal to the minimum stack size, then the IDLE task will have the minimum
|
|
||||||
* stack size.
|
|
||||||
*/
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
/** This field specifies the size of the interrupt stack. If less than or
|
/** This field specifies the size of the interrupt stack. If less than or
|
||||||
* equal to the minimum stack size, then the interrupt stack will be of
|
* equal to the minimum stack size, then the interrupt stack will be of
|
||||||
* minimum stack size.
|
* minimum stack size.
|
||||||
*/
|
*/
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
/** The MPCI Receive server is assumed to have a stack of at least
|
|
||||||
* minimum stack size. This field specifies the amount of extra
|
|
||||||
* stack this task will be given in bytes.
|
|
||||||
*/
|
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
/** The BSP may want to provide it's own stack allocation routines.
|
|
||||||
* In this case, the BSP will provide this stack allocation hook.
|
|
||||||
*/
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
/** The BSP may want to provide it's own stack free routines.
|
|
||||||
* In this case, the BSP will provide this stack free hook.
|
|
||||||
*/
|
|
||||||
void (*stack_free_hook)( void *);
|
|
||||||
/* end of fields required on all CPUs */
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*
|
|
||||||
* Port Specific Information:
|
|
||||||
*
|
|
||||||
* XXX document implementation including references if appropriate
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access NO_CPU specific additions to the CPU Table
|
|
||||||
*
|
|
||||||
* Port Specific Information:
|
|
||||||
*
|
|
||||||
* XXX document implementation including references if appropriate
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* There are no CPU specific additions to the CPU Table for this port. */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This variable is optional. It is used on CPUs on which it is difficult
|
* This variable is optional. It is used on CPUs on which it is difficult
|
||||||
* to generate an "uninitialized" FP context. It is filled in by
|
* to generate an "uninitialized" FP context. It is filled in by
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
|
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
|
||||||
|
|||||||
@@ -392,24 +392,10 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
void (*idle_task)( void );
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
void (*stack_free_hook)( void* );
|
|
||||||
/* end of fields required on all CPUs */
|
/* end of fields required on all CPUs */
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This variable is optional. It is used on CPUs on which it is difficult
|
* This variable is optional. It is used on CPUs on which it is difficult
|
||||||
* to generate an "uninitialized" FP context. It is filled in by
|
* to generate an "uninitialized" FP context. It is filled in by
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
PR 1237/rtems
|
PR 1237/rtems
|
||||||
|
|||||||
@@ -505,31 +505,10 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
void (*idle_task)( void );
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
void (*stack_free_hook)( void* );
|
|
||||||
/* end of fields required on all CPUs */
|
/* end of fields required on all CPUs */
|
||||||
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access SPARC specific additions to the CPU Table
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* There are no CPU specific additions to the CPU Table for this port. */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This variable is contains the initialize context for the FP unit.
|
* This variable is contains the initialize context for the FP unit.
|
||||||
* It is filled in by _CPU_Initialize and copied into the task's FP
|
* It is filled in by _CPU_Initialize and copied into the task's FP
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
|
||||||
|
the Configuration Table. This included pretasking_hook,
|
||||||
|
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
|
||||||
|
extra_mpci_receive_server_stack, stack_allocate_hook, and
|
||||||
|
stack_free_hook. As a side-effect of this effort some multiprocessing
|
||||||
|
code was made conditional and some style clean up occurred.
|
||||||
|
|
||||||
2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* cpu.c: Comment out may_alias so this compiles without a compiler
|
* cpu.c: Comment out may_alias so this compiles without a compiler
|
||||||
|
|||||||
@@ -498,30 +498,9 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void (*pretasking_hook)( void );
|
|
||||||
void (*predriver_hook)( void );
|
|
||||||
void (*postdriver_hook)( void );
|
|
||||||
void (*idle_task)( void );
|
|
||||||
boolean do_zero_of_workspace;
|
|
||||||
uint32_t idle_task_stack_size;
|
|
||||||
uint32_t interrupt_stack_size;
|
uint32_t interrupt_stack_size;
|
||||||
uint32_t extra_mpci_receive_server_stack;
|
|
||||||
void * (*stack_allocate_hook)( uint32_t );
|
|
||||||
void (*stack_free_hook)( void* );
|
|
||||||
/* end of required fields */
|
|
||||||
} rtems_cpu_table;
|
} rtems_cpu_table;
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access required entires in the CPU Table are in
|
|
||||||
* the file rtems/system.h.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Macros to access UNIX specific additions to the CPU Table
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* There are no CPU specific additions to the CPU Table for this port. */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This variable is optional. It is used on CPUs on which it is difficult
|
* This variable is optional. It is used on CPUs on which it is difficult
|
||||||
* to generate an "uninitialized" FP context. It is filled in by
|
* to generate an "uninitialized" FP context. It is filled in by
|
||||||
|
|||||||
Reference in New Issue
Block a user