forked from Imagelibrary/rtems
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h, include/tm27.h: 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/bsp.h, include/tm27.h:
|
||||
Use "__asm__" instead of "asm" for improved c99-compliance.
|
||||
|
||||
2011-02-09 Jennifer Averett <jennifer.averett@oarcorp.com>
|
||||
|
||||
* console/ps2_mouse.c: Formatting changes in preparation for making
|
||||
|
||||
@@ -145,7 +145,7 @@ extern int rtems_dec21140_driver_attach(struct rtems_bsdnet_ifconfig *, int);
|
||||
#define rtems_bsp_delay(_microseconds) \
|
||||
{ \
|
||||
uint32_t _cnt = _microseconds; \
|
||||
asm volatile ("0: nop; mov %0,%0; loop 0b" : "=c"(_cnt) : "0"(_cnt)); \
|
||||
__asm__ volatile ("0: nop; mov %0,%0; loop 0b" : "=c"(_cnt) : "0"(_cnt)); \
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#define Install_tm27_vector(handler)
|
||||
|
||||
#define Cause_tm27_intr() asm volatile("int $0x90" : :);
|
||||
#define Cause_tm27_intr() __asm__ volatile("int $0x90" : :);
|
||||
|
||||
#define Clear_tm27_intr() /* empty */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user