Page 2 of 2

Re: Trying to execute code outside RAM?

Posted: Mon Feb 27, 2012 6:47 pm
by gerryg400
Your compiler trusts you and you lied to it. Shame on you.

What is the real type of the irq0 variable?

Re: Trying to execute code outside RAM?

Posted: Mon Feb 27, 2012 7:06 pm
by Lionel
An assembler function, ok, now I realize it :oops:
If I change it to a external void, it either complains about a incomplete type, or it just crashes qemu again.

Re: Trying to execute code outside RAM?

Posted: Mon Feb 27, 2012 7:16 pm
by gerryg400
Did you change it to

Code: Select all

void irq0(void);
That might do it.

Re: Trying to execute code outside RAM?

Posted: Mon Feb 27, 2012 7:17 pm
by Lionel
:oops: , I forgot the ()!
Thanks, kinda stressed right now so I didn't notice that mistake.
Thank you gerryg400!
~Lionel