freemyipod r939 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r938‎ | r939 | r940 >
Date:12:30, 14 June 2014
Author:theseven
Status:new
Tags:
Comment:
UMSboot: Add missing ASM file guard
Modified paths:
  • /umsboot/src/sys/util.h (modified) (history)

Diff [purge]

Index: umsboot/src/sys/util.h
@@ -107,6 +107,8 @@
108108 #define DMAALIGN_ATTR __attribute__((aligned(DMAALIGN_SIZE)))
109109 #define DMAALIGN_AT_LEAST_ATTR(x) __attribute__((aligned(MAX(DMAALIGN_SIZE, (x)))))
110110
 111+
 112+#ifndef ASM_FILE
111113 extern __attribute__((noreturn)) void powerdown();
112114 extern __attribute__((noreturn)) void hang();
113115 extern __attribute__((pure)) void idle();
@@ -131,5 +133,6 @@
132134 static inline void discard(uint32_t data)
133135 {
134136 }
 137+#endif
135138
136139 #endif