1
0
Fork 0
forked from len0rd/rockbox

New system_init function

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@780 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-05-29 09:11:04 +00:00
parent 082ba5196d
commit 951fe18a40
2 changed files with 14 additions and 0 deletions

View file

@ -450,3 +450,16 @@ asm (
"_UIE107:\tbsr\t_UIE\n\tmov.l\t@r15+,r4\t\n"
"_UIE108:\tbsr\t_UIE\n\tmov.l\t@r15+,r4\t\n"
"_UIE109:\tbsr\t_UIE\n\tmov.l\t@r15+,r4");
void system_init(void)
{
/* Disable all interrupts */
IPRA = 0;
IPRB = 0;
IPRC = 0;
IPRD = 0;
IPRE = 0;
/* NMI level low, falling edge on all interrupts */
ICR = 0;
}