1
0
Fork 0
forked from len0rd/rockbox

iPod: Code cleanup - the bootloader now compiles with zero warnings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-11-11 17:51:35 +00:00
parent c2a0406e10
commit d31a32c501
17 changed files with 111 additions and 58 deletions

View file

@ -42,7 +42,7 @@ struct regs
void *start; /* Thread start address, or NULL when started */
};
#elif CONFIG_CPU == PP5020
#warning TODO: define struct regs
/* TODO: define struct regs */
struct regs
{
void *sp; /* Stack pointer (a15) */
@ -80,15 +80,16 @@ static inline void load_context(const void* addr) __attribute__ ((always_inline)
#if CONFIG_CPU == PP5020
#warning TODO: Implement store_context and load_context
/* TODO: Implement store_context and load_context */
static inline void store_context(void* addr)
{
(void)addr;
}
static inline void load_context(const void* addr)
{
(void)addr;
}