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.
This commit is contained in:
Till Straumann
2009-10-29 03:59:17 +00:00
parent af3bf16045
commit 78667e388a
2 changed files with 12 additions and 7 deletions

View File

@@ -1,6 +1,12 @@
2009-10-28 Till Straumann <strauman@slac.stanford.edu> 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 Added #ifdef ASM constructs so that this header can be
included from assembly code. included from assembly code.
@@ -12,12 +18,12 @@
Make sure _CPU_Context_Initialize() sets the thread stack Make sure _CPU_Context_Initialize() sets the thread stack
up so that it is aligned to CPU_CACHE_ALIGNMENT. 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. Align stack to CPU_CACHE_ALIGNMENT before calling C-code.
2009-10-27 Till Straumann <strauman@slac.stanford.edu> 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> 2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>

View File

@@ -155,12 +155,11 @@ extern cpuExcHandlerType _currentExcHandler;
extern void rtems_exception_init_mngt(void); extern void rtems_exception_init_mngt(void);
/* /*
* The following structure defines the set of information saved * This port does not pass any frame info to the
* on the current stack by RTEMS upon receipt of each interrupt * interrupt handler.
* that will lead to re-enter the kernel to signal the thread.
*/ */
typedef CPU_Exception_frame CPU_Interrupt_frame; typedef void CPU_Interrupt_frame;
typedef enum { typedef enum {
I386_EXCEPTION_DIVIDE_BY_ZERO = 0, I386_EXCEPTION_DIVIDE_BY_ZERO = 0,