dyncom: Switch the app and system cores into the correct mode at initialization

This commit is contained in:
Lioncash 2015-02-12 15:11:39 -05:00
parent c3211c9c80
commit b7fac494cd
5 changed files with 21 additions and 17 deletions

View file

@ -270,7 +270,7 @@ enum {
* Mode and Bank Constants *
\***************************************************************************/
enum {
enum PrivilegeMode {
USER32MODE = 16,
FIQ32MODE = 17,
IRQ32MODE = 18,
@ -288,7 +288,7 @@ enum {
ABORTBANK = 4,
UNDEFBANK = 5,
DUMMYBANK = 6,
SYSTEMBANK = USERBANK
SYSTEMBANK = 7
};
/***************************************************************************\