sys.h changes

This commit is contained in:
NIIBE Yutaka
2013-06-06 12:08:35 +09:00
parent 60e0fbd189
commit c838e3f0e9
13 changed files with 81 additions and 50 deletions

View File

@@ -93,3 +93,23 @@ nvic_system_reset (void)
{
(*vector[12]) ();
}
/*
* Users can override INLINE by 'attribute((used))' to have an
* implementation defined.
*/
#if !defined(INLINE)
#define INLINE __inline__
#endif
static INLINE void
clock_init (void)
{
(*vector[13]) ();
}
static INLINE void
gpio_init (void)
{
(*vector[14]) ();
}