git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4655 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
767f1a01b2
commit
f4b7338558
|
@ -86,6 +86,7 @@ INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
|||
# Compiler settings
|
||||
#
|
||||
|
||||
#MCU = e500mc -meabi -msdata=none -mnew-mnemonics -mregnames
|
||||
MCU = e200zx -meabi -msdata=none -mnew-mnemonics -mregnames
|
||||
|
||||
#TRGT = powerpc-eabi-
|
||||
|
|
|
@ -26,10 +26,12 @@
|
|||
* @{
|
||||
*/
|
||||
|
||||
/*
|
||||
* Imports the PPC configuration headers.
|
||||
*/
|
||||
#define _FROM_ASM_
|
||||
#include "chconf.h"
|
||||
|
||||
#define FALSE 0
|
||||
#define TRUE 1
|
||||
#include "chcore.h"
|
||||
|
||||
#if !defined(__DOXYGEN__)
|
||||
/*
|
||||
|
|
|
@ -26,6 +26,13 @@
|
|||
* @{
|
||||
*/
|
||||
|
||||
/*
|
||||
* Imports the PPC configuration headers.
|
||||
*/
|
||||
#define _FROM_ASM_
|
||||
#include "chconf.h"
|
||||
#include "chcore.h"
|
||||
|
||||
#if !defined(__DOXYGEN__)
|
||||
|
||||
/* BAM info, SWT off, WTE off, VLE from settings.*/
|
||||
|
|
|
@ -359,8 +359,8 @@ struct context {
|
|||
* @details This port function is implemented as inlined code for performance
|
||||
* reasons.
|
||||
*/
|
||||
#if ENABLE_WFI_IDLE != 0
|
||||
#ifndef port_wait_for_interrupt
|
||||
#if PPC_ENABLE_WFI_IDLE
|
||||
#if !defined(port_wait_for_interrupt)
|
||||
#define port_wait_for_interrupt() { \
|
||||
asm volatile ("wait" : : : "memory"); \
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue