mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Commit a subset of the dual core changes that have to do with cache handling, stacks, firmware startup and thread startup. Tested on e200, H10-20GB, iPod Color and 5.5G. Thread function return implemented for all targets. Some changes to plugins to follow shortly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14879 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
edbf5d81f5
commit
7914e90738
23 changed files with 684 additions and 547 deletions
|
@ -179,6 +179,7 @@ static const char* const uiename[] = {
|
|||
/* Unexpected Interrupt or Exception handler. Currently only deals with
|
||||
exceptions, but will deal with interrupts later.
|
||||
*/
|
||||
void UIE(unsigned int pc, unsigned int num) __attribute__((noreturn));
|
||||
void UIE(unsigned int pc, unsigned int num)
|
||||
{
|
||||
char str[32];
|
||||
|
@ -188,7 +189,8 @@ void UIE(unsigned int pc, unsigned int num)
|
|||
lcd_setfont(FONT_SYSFIXED);
|
||||
#endif
|
||||
lcd_puts(0, 0, uiename[num]);
|
||||
snprintf(str, sizeof(str), "at %08x", pc);
|
||||
snprintf(str, sizeof(str), "at %08x" IF_COP(" (%d)"), pc
|
||||
IF_COP(, CURRENT_CORE));
|
||||
lcd_puts(0, 1, str);
|
||||
lcd_update();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue