summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/i386
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-10-29 03:59:17 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-10-29 03:59:17 +0000
commit78667e388a8bf948d2239f230af9ce051de70554 (patch)
tree2e85a13928294a3c57d48887f934b6fec22dea1c /cpukit/score/cpu/i386
parent2009-10-28 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-78667e388a8bf948d2239f230af9ce051de70554.tar.bz2
2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* rtems/score/cpu.h: Replaced misleading typedef of CPU_Interrupt_frame by 'void'. The i386 port does not pass any frame info to the interrupt handlers.
Diffstat (limited to 'cpukit/score/cpu/i386')
-rw-r--r--cpukit/score/cpu/i386/ChangeLog12
-rw-r--r--cpukit/score/cpu/i386/rtems/score/cpu.h7
2 files changed, 12 insertions, 7 deletions
diff --git a/cpukit/score/cpu/i386/ChangeLog b/cpukit/score/cpu/i386/ChangeLog
index dab6108b23..82b0f810ad 100644
--- a/cpukit/score/cpu/i386/ChangeLog
+++ b/cpukit/score/cpu/i386/ChangeLog
@@ -1,6 +1,12 @@
2009-10-28 Till Straumann <strauman@slac.stanford.edu>
- * score/cpu/i386/rtems/score/cpu.h:
+ * rtems/score/cpu.h: Replaced misleading typedef of
+ CPU_Interrupt_frame by 'void'. The i386 port does not
+ pass any frame info to the interrupt handlers.
+
+2009-10-28 Till Straumann <strauman@slac.stanford.edu>
+
+ * rtems/score/cpu.h:
Added #ifdef ASM constructs so that this header can be
included from assembly code.
@@ -12,12 +18,12 @@
Make sure _CPU_Context_Initialize() sets the thread stack
up so that it is aligned to CPU_CACHE_ALIGNMENT.
- * score/cpu/i386/cpu_asm.S:
+ * cpu_asm.S:
Align stack to CPU_CACHE_ALIGNMENT before calling C-code.
2009-10-27 Till Straumann <strauman@slac.stanford.edu>
- * score/cpu/i386/rtems/asm.h: Added definition for cr4 register.
+ * rtems/asm.h: Added definition for cr4 register.
2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index 7e2b086914..354166b336 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -155,12 +155,11 @@ extern cpuExcHandlerType _currentExcHandler;
extern void rtems_exception_init_mngt(void);
/*
- * The following structure defines the set of information saved
- * on the current stack by RTEMS upon receipt of each interrupt
- * that will lead to re-enter the kernel to signal the thread.
+ * This port does not pass any frame info to the
+ * interrupt handler.
*/
-typedef CPU_Exception_frame CPU_Interrupt_frame;
+typedef void CPU_Interrupt_frame;
typedef enum {
I386_EXCEPTION_DIVIDE_BY_ZERO = 0,