forked from Imagelibrary/rtems
2001-01-25 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Bug report from Peter Mueller <peter.o.mueller@gmx.de> because of not correcting for the ISR vector table now being allocated from the workspace.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2001-01-25 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* cpu.c, rtems/score/cpu.h: Bug report from Peter Mueller
|
||||||
|
<peter.o.mueller@gmx.de> because of not correcting for the ISR
|
||||||
|
vector table now being allocated from the workspace.
|
||||||
|
|
||||||
2001-01-03 Joel Sherrill <joel@OARcorp.com>
|
2001-01-03 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
|
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
|
||||||
|
|||||||
@@ -73,12 +73,18 @@ int cpu_number;
|
|||||||
|
|
||||||
/*PAGE
|
/*PAGE
|
||||||
*
|
*
|
||||||
* _CPU_ISR_From_CPU_Init
|
* _CPU_Initialize_vectors()
|
||||||
|
*
|
||||||
|
* Support routine to initialize the RTEMS vector table after it is allocated.
|
||||||
|
*
|
||||||
|
* UNIX Specific Information:
|
||||||
|
*
|
||||||
|
* Complete initialization since the table is now allocated.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
sigset_t posix_empty_mask;
|
sigset_t posix_empty_mask;
|
||||||
|
|
||||||
void _CPU_ISR_From_CPU_Init()
|
void _CPU_Initialize_vectors(void)
|
||||||
{
|
{
|
||||||
unsigned32 i;
|
unsigned32 i;
|
||||||
proc_ptr old_handler;
|
proc_ptr old_handler;
|
||||||
@@ -309,8 +315,6 @@ void _CPU_Initialize(
|
|||||||
|
|
||||||
_CPU_Table = *cpu_table;
|
_CPU_Table = *cpu_table;
|
||||||
|
|
||||||
_CPU_ISR_From_CPU_Init();
|
|
||||||
|
|
||||||
_CPU_Sync_io_Init();
|
_CPU_Sync_io_Init();
|
||||||
|
|
||||||
_CPU_Context_From_CPU_Init();
|
_CPU_Context_From_CPU_Init();
|
||||||
|
|||||||
@@ -678,7 +678,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
|
|||||||
* Support routine to initialize the RTEMS vector table after it is allocated.
|
* Support routine to initialize the RTEMS vector table after it is allocated.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _CPU_Initialize_vectors()
|
void _CPU_Initialize_vectors(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disable all interrupts for an RTEMS critical section. The previous
|
* Disable all interrupts for an RTEMS critical section. The previous
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2001-01-25 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* cpu.c, rtems/score/cpu.h: Bug report from Peter Mueller
|
||||||
|
<peter.o.mueller@gmx.de> because of not correcting for the ISR
|
||||||
|
vector table now being allocated from the workspace.
|
||||||
|
|
||||||
2001-01-03 Joel Sherrill <joel@OARcorp.com>
|
2001-01-03 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
|
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
|
||||||
|
|||||||
@@ -73,12 +73,18 @@ int cpu_number;
|
|||||||
|
|
||||||
/*PAGE
|
/*PAGE
|
||||||
*
|
*
|
||||||
* _CPU_ISR_From_CPU_Init
|
* _CPU_Initialize_vectors()
|
||||||
|
*
|
||||||
|
* Support routine to initialize the RTEMS vector table after it is allocated.
|
||||||
|
*
|
||||||
|
* UNIX Specific Information:
|
||||||
|
*
|
||||||
|
* Complete initialization since the table is now allocated.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
sigset_t posix_empty_mask;
|
sigset_t posix_empty_mask;
|
||||||
|
|
||||||
void _CPU_ISR_From_CPU_Init()
|
void _CPU_Initialize_vectors(void)
|
||||||
{
|
{
|
||||||
unsigned32 i;
|
unsigned32 i;
|
||||||
proc_ptr old_handler;
|
proc_ptr old_handler;
|
||||||
@@ -309,8 +315,6 @@ void _CPU_Initialize(
|
|||||||
|
|
||||||
_CPU_Table = *cpu_table;
|
_CPU_Table = *cpu_table;
|
||||||
|
|
||||||
_CPU_ISR_From_CPU_Init();
|
|
||||||
|
|
||||||
_CPU_Sync_io_Init();
|
_CPU_Sync_io_Init();
|
||||||
|
|
||||||
_CPU_Context_From_CPU_Init();
|
_CPU_Context_From_CPU_Init();
|
||||||
|
|||||||
@@ -678,7 +678,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
|
|||||||
* Support routine to initialize the RTEMS vector table after it is allocated.
|
* Support routine to initialize the RTEMS vector table after it is allocated.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _CPU_Initialize_vectors()
|
void _CPU_Initialize_vectors(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disable all interrupts for an RTEMS critical section. The previous
|
* Disable all interrupts for an RTEMS critical section. The previous
|
||||||
|
|||||||
Reference in New Issue
Block a user