forked from len0rd/rockbox
Make sure the context functions are always inlined, independent of optimisation level.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6512 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ff3add9f20
commit
8779802aaf
1 changed files with 2 additions and 0 deletions
|
|
@ -64,6 +64,8 @@ extern int stackbegin[];
|
|||
extern int stackend[];
|
||||
|
||||
void switch_thread(void) __attribute__ ((section(".icode")));
|
||||
static inline void store_context(void* addr) __attribute__ ((always_inline));
|
||||
static inline void load_context(const void* addr) __attribute__ ((always_inline));
|
||||
|
||||
#if CONFIG_CPU == MCF5249
|
||||
/*---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue