projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Doxygen fix.
[bertos.git]
/
cfg
/
cpu.h
diff --git
a/cfg/cpu.h
b/cfg/cpu.h
index f845bde1239daa0530e90708af6ca141c4096909..9b9d31430fea3bc9dbe30d805a4c3493334f65b8 100755
(executable)
--- a/
cfg/cpu.h
+++ b/
cfg/cpu.h
@@
-17,6
+17,9
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.13 2006/03/27 04:49:23 bernie
+ *#* CPU_IDLE(): Fix for new emulator.
+ *#*
*#* Revision 1.12 2006/03/21 10:52:39 bernie
*#* Update ARM support.
*#*
*#* Revision 1.12 2006/03/21 10:52:39 bernie
*#* Update ARM support.
*#*
@@
-75,6
+78,7
@@
#define DEVLIB_CPU_H
#include <cfg/compiler.h> /* for uintXX_t */
#define DEVLIB_CPU_H
#include <cfg/compiler.h> /* for uintXX_t */
+#include <cfg/arch_config.h> /* ARCH_EMUL */
/*!
/*!
@@
-578,15
+582,12
@@
STATIC_ASSERT(sizeof(uint64_t) * CPU_BITS_PER_CHAR == 64);
#if defined(ARCH_EMUL) && (ARCH & ARCH_EMUL)
/* This emulator hook should yield the CPU to the host. */
EXTERN_C_BEGIN
#if defined(ARCH_EMUL) && (ARCH & ARCH_EMUL)
/* This emulator hook should yield the CPU to the host. */
EXTERN_C_BEGIN
- void
SchedulerI
dle(void);
+ void
emul_i
dle(void);
EXTERN_C_END
EXTERN_C_END
- #define CPU_IDLE
SchedulerI
dle()
+ #define CPU_IDLE
emul_i
dle()
#else /* !ARCH_EMUL */
#define CPU_IDLE do { /* nothing */ } while (0)
#endif /* !ARCH_EMUL */
#endif /* !CPU_IDLE */
#else /* !ARCH_EMUL */
#define CPU_IDLE do { /* nothing */ } while (0)
#endif /* !ARCH_EMUL */
#endif /* !CPU_IDLE */
-/* OBSOLETE */
-#define SCHEDULER_IDLE CPU_IDLE
-
#endif /* DEVLIB_CPU_H */
#endif /* DEVLIB_CPU_H */