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:
Joel Sherrill
2001-01-25 18:45:59 +00:00
parent 41caf2df23
commit c54152a26c
6 changed files with 32 additions and 12 deletions

View File

@@ -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>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().

View File

@@ -73,12 +73,18 @@ int cpu_number;
/*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;
void _CPU_ISR_From_CPU_Init()
void _CPU_Initialize_vectors(void)
{
unsigned32 i;
proc_ptr old_handler;
@@ -309,8 +315,6 @@ void _CPU_Initialize(
_CPU_Table = *cpu_table;
_CPU_ISR_From_CPU_Init();
_CPU_Sync_io_Init();
_CPU_Context_From_CPU_Init();

View File

@@ -678,7 +678,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
* 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

View File

@@ -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>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().

View File

@@ -73,12 +73,18 @@ int cpu_number;
/*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;
void _CPU_ISR_From_CPU_Init()
void _CPU_Initialize_vectors(void)
{
unsigned32 i;
proc_ptr old_handler;
@@ -309,8 +315,6 @@ void _CPU_Initialize(
_CPU_Table = *cpu_table;
_CPU_ISR_From_CPU_Init();
_CPU_Sync_io_Init();
_CPU_Context_From_CPU_Init();

View File

@@ -678,7 +678,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
* 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