forked from len0rd/rockbox
provide system_memory_guard() and system_reboot() dummies for coldfire target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5749 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6ff399faba
commit
dea2434f3c
1 changed files with 13 additions and 0 deletions
|
|
@ -824,3 +824,16 @@ int system_memory_guard(int newmode)
|
|||
return oldmode;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CONFIG_CPU != SH7034
|
||||
/* this does nothing on non-SH systems */
|
||||
int system_memory_guard(int newmode)
|
||||
{
|
||||
(void)newmode;
|
||||
return 0;
|
||||
}
|
||||
void system_reboot (void)
|
||||
{
|
||||
/* dummy */
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue