projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reimplement ser_clearstatus as a macro.
[bertos.git]
/
cfg
/
cpu.h
diff --git
a/cfg/cpu.h
b/cfg/cpu.h
index 9b9d31430fea3bc9dbe30d805a4c3493334f65b8..66ae5d731b891f7cbb3000ff1d04b0e14ba15e6e 100755
(executable)
--- a/
cfg/cpu.h
+++ b/
cfg/cpu.h
@@
-1,4
+1,4
@@
-/*
!
+/*
*
* \file
* <!--
* Copyright 2004, 2005 Develer S.r.l. (http://www.develer.com/)
* \file
* <!--
* Copyright 2004, 2005 Develer S.r.l. (http://www.develer.com/)
@@
-17,6
+17,12
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.15 2006/07/19 12:56:25 bernie
+ *#* Convert to new Doxygen style.
+ *#*
+ *#* Revision 1.14 2006/07/19 12:54:12 bernie
+ *#* Documentation fixes.
+ *#*
*#* Revision 1.13 2006/03/27 04:49:23 bernie
*#* CPU_IDLE(): Fix for new emulator.
*#*
*#* Revision 1.13 2006/03/27 04:49:23 bernie
*#* CPU_IDLE(): Fix for new emulator.
*#*
@@
-81,7
+87,7
@@
#include <cfg/arch_config.h> /* ARCH_EMUL */
#include <cfg/arch_config.h> /* ARCH_EMUL */
-/*
!
+/*
*
* \name Macros for determining CPU endianness.
* \{
*/
* \name Macros for determining CPU endianness.
* \{
*/
@@
-89,10
+95,10
@@
#define CPU_LITTLE_ENDIAN 0x3412 /* Look twice, pal. This is not a bug. */
/*\}*/
#define CPU_LITTLE_ENDIAN 0x3412 /* Look twice, pal. This is not a bug. */
/*\}*/
-/*
!
Macro to include cpu-specific versions of the headers. */
+/*
*
Macro to include cpu-specific versions of the headers. */
#define CPU_HEADER(module) PP_STRINGIZE(PP_CAT3(module, _, CPU_ID).h)
#define CPU_HEADER(module) PP_STRINGIZE(PP_CAT3(module, _, CPU_ID).h)
-/*
!
Macro to include cpu-specific versions of implementation files. */
+/*
*
Macro to include cpu-specific versions of implementation files. */
#define CPU_CSOURCE(module) PP_STRINGIZE(PP_CAT3(module, _, CPU_ID).c)
#define CPU_CSOURCE(module) PP_STRINGIZE(PP_CAT3(module, _, CPU_ID).c)
@@
-369,7
+375,7
@@
#define CPU_BYTE_ORDER CPU_LITTLE_ENDIAN
#define CPU_HARVARD 1
#define CPU_BYTE_ORDER CPU_LITTLE_ENDIAN
#define CPU_HARVARD 1
- /*
!
+ /*
*
* Initialization value for registers in stack frame.
* The register index is not directly corrispondent to CPU
* register numbers. Index 0 is the SREG register: the initial
* Initialization value for registers in stack frame.
* The register index is not directly corrispondent to CPU
* register numbers. Index 0 is the SREG register: the initial
@@
-381,7
+387,7
@@
#error No CPU_... defined.
#endif
#error No CPU_... defined.
#endif
-/*
!
+/*
*
* Execute \a CODE atomically with respect to interrupts.
*
* \see IRQ_SAVE_DISABLE IRQ_RESTORE
* Execute \a CODE atomically with respect to interrupts.
*
* \see IRQ_SAVE_DISABLE IRQ_RESTORE
@@
-395,7
+401,7
@@
} while (0)
} while (0)
-//
!
Default for macro not defined in the right arch section
+//
/
Default for macro not defined in the right arch section
#ifndef CPU_REG_INIT_VALUE
#define CPU_REG_INIT_VALUE(reg) 0
#endif
#ifndef CPU_REG_INIT_VALUE
#define CPU_REG_INIT_VALUE(reg) 0
#endif
@@
-475,7
+481,7
@@
#endif
#endif
-/*
!
+/*
*
* \name Default type sizes.
*
* These defaults are reasonable for most 16/32bit machines.
* \name Default type sizes.
*
* These defaults are reasonable for most 16/32bit machines.
@@
-569,7
+575,7
@@
STATIC_ASSERT(sizeof(int64_t) * CPU_BITS_PER_CHAR == 64);
STATIC_ASSERT(sizeof(uint64_t) * CPU_BITS_PER_CHAR == 64);
#endif
STATIC_ASSERT(sizeof(uint64_t) * CPU_BITS_PER_CHAR == 64);
#endif
-/*
!
+/*
*
* \def CPU_IDLE
*
* \brief Invoked by the scheduler to stop the CPU when idle.
* \def CPU_IDLE
*
* \brief Invoked by the scheduler to stop the CPU when idle.