[rtems-schedsim commit] schedsim/.../cpu.h: Account for new types and methods
Joel Sherrill
joel at rtems.org
Wed May 1 16:05:22 UTC 2013
Module: rtems-schedsim
Branch: master
Commit: caee146d69a1459e8517d1225adf296847fa10ab
Changeset: http://git.rtems.org/rtems-schedsim/commit/?id=caee146d69a1459e8517d1225adf296847fa10ab
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Tue Apr 30 19:05:53 2013 -0500
schedsim/.../cpu.h: Account for new types and methods
---
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.
More information about the vc
mailing list