From caee146d69a1459e8517d1225adf296847fa10ab Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 30 Apr 2013 19:05:53 -0500 Subject: schedsim/.../cpu.h: Account for new types and methods --- schedsim/rtems/sched_cpu/rtems/score/cpu.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/schedsim/rtems/sched_cpu/rtems/score/cpu.h b/schedsim/rtems/sched_cpu/rtems/score/cpu.h index 4d397d8..04e9d65 100644 --- a/schedsim/rtems/sched_cpu/rtems/score/cpu.h +++ b/schedsim/rtems/sched_cpu/rtems/score/cpu.h @@ -359,6 +359,8 @@ extern "C" { */ #define CPU_STRUCTURE_ALIGNMENT +#define CPU_TIMESTAMP_USE_INT64_INLINE TRUE + /** * @defgroup CPUEndian Processor Dependent Endianness Support * @@ -1204,6 +1206,17 @@ void _CPU_Context_restore_fp( Context_Control_fp **fp_context_ptr ); +typedef struct { + uint32_t trap; + CPU_Interrupt_frame *isf; +} CPU_Exception_frame; + +static inline void _CPU_Exception_frame_print( + const CPU_Exception_frame *frame +) +{ + /* printk( "Printing exception frame\n" ); */ +} /** * @ingroup CPUEndian * The following routine swaps the endian format of an unsigned int. -- cgit v1.2.3