forked from Imagelibrary/rtems
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/tm27.h, startup/bspstart.c: Use "__asm__" instead of "asm" for improved c99-compliance.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* include/tm27.h, startup/bspstart.c:
|
||||
Use "__asm__" instead of "asm" for improved c99-compliance.
|
||||
|
||||
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
set_vector( handler, 0x06, 1 ); \
|
||||
}
|
||||
|
||||
#define Cause_tm27_intr() asm volatile("raise 0x06;" : :);
|
||||
#define Cause_tm27_intr() __asm__ volatile("raise 0x06;" : :);
|
||||
|
||||
#define Clear_tm27_intr() /* empty */
|
||||
|
||||
|
||||
@@ -118,9 +118,9 @@ void Init_PLL (void)
|
||||
*((uint16_t*)PLL_CTL) = PLL_MSEL|PLL_DF;
|
||||
|
||||
/* Commands to set PLL values */
|
||||
asm("cli r0;");
|
||||
asm("idle;");
|
||||
asm("sti r0;");
|
||||
__asm__ ("cli r0;");
|
||||
__asm__ ("idle;");
|
||||
__asm__ ("sti r0;");
|
||||
|
||||
/* Delay for PLL stabilization */
|
||||
for (n=0; n<200; n++) {}
|
||||
|
||||
Reference in New Issue
Block a user