diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-04-30 19:05:53 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-04-30 19:07:12 -0500 |
commit | caee146d69a1459e8517d1225adf296847fa10ab (patch) | |
tree | b04f1689759882015228de817aae57496f606361 | |
parent | schedsim/rtems/rtems_init.c: Update to current RTEMS (diff) | |
download | rtems-schedsim-caee146d69a1459e8517d1225adf296847fa10ab.tar.bz2 |
schedsim/.../cpu.h: Account for new types and methods
-rw-r--r-- | schedsim/rtems/sched_cpu/rtems/score/cpu.h | 13 |
1 files changed, 13 insertions, 0 deletions
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. |