git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6288 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
e81e3b3b1b
commit
2b3150149f
|
@ -51,11 +51,11 @@ typedef funcp_t * funcpp_t;
|
||||||
* Area fill code, it is a macro because here functions cannot be called
|
* Area fill code, it is a macro because here functions cannot be called
|
||||||
* until stacks are initialized.
|
* until stacks are initialized.
|
||||||
*/
|
*/
|
||||||
static void fill32(void *start, void *end, uint32_t filler) {
|
#define fill32(start, end, filler) { \
|
||||||
uint32_t *p1 = start;
|
uint32_t *p1 = (start); \
|
||||||
uint32_t *p2 = end;
|
uint32_t *p2 = (end); \
|
||||||
while (p1 < p2)
|
while (p1 < p2) \
|
||||||
*p1++ = filler;
|
*p1++ = (filler); \
|
||||||
}
|
}
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -245,7 +245,7 @@ void __late_init(void) {}
|
||||||
* @note This function is a weak symbol.
|
* @note This function is a weak symbol.
|
||||||
*/
|
*/
|
||||||
#if !defined(__DOXYGEN__)
|
#if !defined(__DOXYGEN__)
|
||||||
__attribute__((weak, naked))
|
__attribute__((noreturn, weak))
|
||||||
#endif
|
#endif
|
||||||
void _default_exit(void) {
|
void _default_exit(void) {
|
||||||
while (1)
|
while (1)
|
||||||
|
|
Loading…
Reference in New Issue