Subversion Repositories freemyipod

Rev

Rev 925 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 925 Rev 939
Line 105... Line 105...
105
#endif
105
#endif
106
#define DMAALIGN_SIZE BIT(DMAALIGN_BITS)
106
#define DMAALIGN_SIZE BIT(DMAALIGN_BITS)
107
#define DMAALIGN_ATTR __attribute__((aligned(DMAALIGN_SIZE)))
107
#define DMAALIGN_ATTR __attribute__((aligned(DMAALIGN_SIZE)))
108
#define DMAALIGN_AT_LEAST_ATTR(x) __attribute__((aligned(MAX(DMAALIGN_SIZE, (x)))))
108
#define DMAALIGN_AT_LEAST_ATTR(x) __attribute__((aligned(MAX(DMAALIGN_SIZE, (x)))))
109
 
109
 
-
 
110
 
-
 
111
#ifndef ASM_FILE
110
extern __attribute__((noreturn)) void powerdown();
112
extern __attribute__((noreturn)) void powerdown();
111
extern __attribute__((noreturn)) void hang();
113
extern __attribute__((noreturn)) void hang();
112
extern __attribute__((pure)) void idle();
114
extern __attribute__((pure)) void idle();
113
extern __attribute__((noreturn)) void execfirmware(void* address);
115
extern __attribute__((noreturn)) void execfirmware(void* address);
114
extern void enter_critical_section();
116
extern void enter_critical_section();
Line 129... Line 131...
129
extern void to_hex(char* dest, int len, uint32_t value);
131
extern void to_hex(char* dest, int len, uint32_t value);
130
 
132
 
131
static inline void discard(uint32_t data)
133
static inline void discard(uint32_t data)
132
{
134
{
133
}
135
}
-
 
136
#endif
134
 
137
 
135
#endif
138
#endif