diff options
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r-- | cpukit/score/cpu/a29k/rtems/score/cpu.h | 12 | ||||
-rw-r--r-- | cpukit/score/cpu/hppa1.1/rtems/score/cpu.h | 15 | ||||
-rw-r--r-- | cpukit/score/cpu/i386/rtems/score/cpu.h | 15 | ||||
-rw-r--r-- | cpukit/score/cpu/i960/rtems/score/cpu.h | 12 | ||||
-rw-r--r-- | cpukit/score/cpu/m68k/rtems/score/cpu.h | 12 | ||||
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/cpu.h | 9 | ||||
-rw-r--r-- | cpukit/score/cpu/mips64orion/rtems/score/cpu.h | 9 | ||||
-rw-r--r-- | cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 12 | ||||
-rw-r--r-- | cpukit/score/cpu/sh/rtems/score/cpu.h | 11 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/score/cpu.h | 11 | ||||
-rw-r--r-- | cpukit/score/cpu/unix/rtems/score/cpu.h | 11 |
11 files changed, 127 insertions, 2 deletions
diff --git a/cpukit/score/cpu/a29k/rtems/score/cpu.h b/cpukit/score/cpu/a29k/rtems/score/cpu.h index 9cf2fa6f2f..1235e991c8 100644 --- a/cpukit/score/cpu/a29k/rtems/score/cpu.h +++ b/cpukit/score/cpu/a29k/rtems/score/cpu.h @@ -459,10 +459,20 @@ typedef struct { unsigned32 idle_task_stack_size; unsigned32 interrupt_stack_size; unsigned32 extra_system_initialization_stack; - unsigned32 some_other_cpu_dependent_info; } rtems_cpu_table; /* + * Macros to access required entires in the CPU Table are in + * the file rtems/system.h. + */ + +/* + * Macros to access AMD A29K 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 * to generate an "uninitialized" FP context. It is filled in by * _CPU_Initialize and copied into the task's FP context area during diff --git a/cpukit/score/cpu/hppa1.1/rtems/score/cpu.h b/cpukit/score/cpu/hppa1.1/rtems/score/cpu.h index 7e810bac52..e5db793923 100644 --- a/cpukit/score/cpu/hppa1.1/rtems/score/cpu.h +++ b/cpukit/score/cpu/hppa1.1/rtems/score/cpu.h @@ -238,6 +238,21 @@ typedef struct { unsigned32 itimer_clicks_per_microsecond; /* for use by Clock driver */ } rtems_cpu_table; +/* + * Macros to access required entires in the CPU Table are in + * the file rtems/system.h. + */ + +/* + * Macros to access HPPA specific additions to the CPU Table + */ + +#define rtems_cpu_configuration_get_spurious_handler() \ + (_CPU_Table.spurious_handler) + +#define rtems_cpu_configuration_get_itimer_clicks_per_microsecond() \ + (_CPU_Table.itimer_clicks_per_microsecond) + /* variables */ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h index 045df2ae72..68fdea703d 100644 --- a/cpukit/score/cpu/i386/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/rtems/score/cpu.h @@ -198,6 +198,21 @@ typedef struct { } rtems_cpu_table; /* + * Macros to access required entires in the CPU Table are in + * the file rtems/system.h. + */ + +/* + * Macros to access i386 specific additions to the CPU Table + */ + +#define rtems_cpu_configuration_get_interrupt_table_segment() \ + (_CPU_Table.interrupt_table_segment) + +#define rtems_cpu_configuration_get_interrupt_table_offset() \ + (_CPU_Table.interrupt_table_offset) + +/* * context size area for floating point * * NOTE: This is out of place on the i386 to avoid a forward reference. diff --git a/cpukit/score/cpu/i960/rtems/score/cpu.h b/cpukit/score/cpu/i960/rtems/score/cpu.h index 14083d9860..45a7fb85d6 100644 --- a/cpukit/score/cpu/i960/rtems/score/cpu.h +++ b/cpukit/score/cpu/i960/rtems/score/cpu.h @@ -172,6 +172,18 @@ typedef struct { i960_PRCB *Prcb; } rtems_cpu_table; +/* + * Macros to access required entires in the CPU Table are in + * the file rtems/system.h. + */ + +/* + * Macros to access i960 specific additions to the CPU Table + */ + +#define rtems_cpu_configuration_get_prcb() \ + (_CPU_Table.Prcb) + /* variables */ SCORE_EXTERN void *_CPU_Interrupt_stack_low; diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h index cc51428243..248492ba97 100644 --- a/cpukit/score/cpu/m68k/rtems/score/cpu.h +++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h @@ -195,6 +195,18 @@ typedef struct { m68k_isr *interrupt_vector_table; } rtems_cpu_table; +/* + * Macros to access required entires in the CPU Table are in + * the file rtems/system.h. + */ + +/* + * Macros to access M68K specific additions to the CPU Table + */ + +#define rtems_cpu_configuration_get_interrupt_vector_table() \ + (_CPU_Table.interrupt_vector_table) + /* variables */ SCORE_EXTERN void *_CPU_Interrupt_stack_low; diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h index 0722a81ca6..69478af9ee 100644 --- a/cpukit/score/cpu/mips/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/rtems/score/cpu.h @@ -438,6 +438,15 @@ typedef struct { unsigned32 clicks_per_microsecond; } rtems_cpu_table; +/* + * Macros to access required entires in the CPU Table are in + * the file rtems/system.h. + */ + +/* + * Macros to access MIPS64ORION specific additions to the CPU Table + */ + #define rtems_cpu_configuration_get_clicks_per_microsecond() \ (_CPU_Table.clicks_per_microsecond) diff --git a/cpukit/score/cpu/mips64orion/rtems/score/cpu.h b/cpukit/score/cpu/mips64orion/rtems/score/cpu.h index 0722a81ca6..69478af9ee 100644 --- a/cpukit/score/cpu/mips64orion/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips64orion/rtems/score/cpu.h @@ -438,6 +438,15 @@ typedef struct { unsigned32 clicks_per_microsecond; } rtems_cpu_table; +/* + * Macros to access required entires in the CPU Table are in + * the file rtems/system.h. + */ + +/* + * Macros to access MIPS64ORION specific additions to the CPU Table + */ + #define rtems_cpu_configuration_get_clicks_per_microsecond() \ (_CPU_Table.clicks_per_microsecond) diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h index ea18fe2cf3..9bd8c2b045 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h @@ -360,10 +360,20 @@ typedef struct { void (*stack_free_hook)( void* ); /* end of fields required on all CPUs */ - unsigned32 some_other_cpu_dependent_info; } rtems_cpu_table; /* + * Macros to access required entires in the CPU Table are in + * the file rtems/system.h. + */ + +/* + * Macros to access NO_CPU 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 * to generate an "uninitialized" FP context. It is filled in by * _CPU_Initialize and copied into the task's FP context area during diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h index 935cbd4e48..8a18848f09 100644 --- a/cpukit/score/cpu/sh/rtems/score/cpu.h +++ b/cpukit/score/cpu/sh/rtems/score/cpu.h @@ -380,6 +380,17 @@ typedef struct { } rtems_cpu_table; /* + * Macros to access required entires in the CPU Table are in + * the file rtems/system.h. + */ + +/* + * Macros to access SH 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 * to generate an "uninitialized" FP context. It is filled in by * _CPU_Initialize and copied into the task's FP context area during diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index 5e34126b2f..3442adc67d 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -527,6 +527,17 @@ typedef struct { } 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. * It is filled in by _CPU_Initialize and copied into the task's FP * context area during _CPU_Context_Initialize. diff --git a/cpukit/score/cpu/unix/rtems/score/cpu.h b/cpukit/score/cpu/unix/rtems/score/cpu.h index 466a5dc5c7..96c7522b53 100644 --- a/cpukit/score/cpu/unix/rtems/score/cpu.h +++ b/cpukit/score/cpu/unix/rtems/score/cpu.h @@ -513,6 +513,17 @@ typedef struct { } 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 * to generate an "uninitialized" FP context. It is filled in by * _CPU_Initialize and copied into the task's FP context area during |