summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-25 18:45:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-25 18:45:59 +0000
commitc54152a26c3226356a706515b4e4d231e02c47e2 (patch)
tree6666753fa60da395326652499e06ddb909cd8914 /cpukit
parent41caf2df230d94aa52b73723139965be37934770 (diff)
downloadrtems-c54152a26c3226356a706515b4e4d231e02c47e2.tar.bz2
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.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/cpu/unix/ChangeLog6
-rw-r--r--cpukit/score/cpu/unix/cpu.c14
-rw-r--r--cpukit/score/cpu/unix/rtems/score/cpu.h2
3 files changed, 16 insertions, 6 deletions
diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog
index b61fcfcb4e..dc1e64606e 100644
--- a/cpukit/score/cpu/unix/ChangeLog
+++ b/cpukit/score/cpu/unix/ChangeLog
@@ -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().
diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c
index 2bc7e4ece0..f7b6a1464f 100644
--- a/cpukit/score/cpu/unix/cpu.c
+++ b/cpukit/score/cpu/unix/cpu.c
@@ -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();
diff --git a/cpukit/score/cpu/unix/rtems/score/cpu.h b/cpukit/score/cpu/unix/rtems/score/cpu.h
index 0ec126b404..e555877b4a 100644
--- a/cpukit/score/cpu/unix/rtems/score/cpu.h
+++ b/cpukit/score/cpu/unix/rtems/score/cpu.h
@@ -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