From 78667e388a8bf948d2239f230af9ce051de70554 Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Thu, 29 Oct 2009 03:59:17 +0000 Subject: 2009-10-28 Till Straumann * 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. --- cpukit/score/cpu/i386/ChangeLog | 12 +++++++++--- cpukit/score/cpu/i386/rtems/score/cpu.h | 7 +++---- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'cpukit/score/cpu/i386') 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 - * 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 + + * 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 - * score/cpu/i386/rtems/asm.h: Added definition for cr4 register. + * rtems/asm.h: Added definition for cr4 register. 2009-09-25 Joel Sherrill 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, -- cgit v1.2.3