aboutsummaryrefslogtreecommitdiff
path: root/src/CP15.cpp
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen <nadia@nhp.sh>2020-07-27 16:06:53 +0200
committerGitHub <noreply@github.com>2020-07-27 16:06:53 +0200
commit40a9f41be8ec484728862eb065b9b6985909db33 (patch)
treea037a722e60dc06a8de6990ce9da0c50f2d7015f /src/CP15.cpp
parent5c08207f359479fdd16fa8517f9d2a5e8fe52c63 (diff)
parentdff14ca80ada883870131c7ff17d85866254ccc0 (diff)
Merge branch 'master' into fix/aarch64-ci
Diffstat (limited to 'src/CP15.cpp')
-rw-r--r--src/CP15.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/CP15.cpp b/src/CP15.cpp
index 6ac31aa..f6476ab 100644
--- a/src/CP15.cpp
+++ b/src/CP15.cpp
@@ -635,7 +635,10 @@ void ARMv5::CP15Write(u32 id, u32 val)
}
- if ((id&0xF00)!=0x700)
+ if ((id & 0xF00) == 0xF00) // test/debug shit?
+ return;
+
+ if ((id & 0xF00) != 0x700)
printf("unknown CP15 write op %03X %08X\n", id, val);
}
@@ -729,6 +732,9 @@ u32 ARMv5::CP15Read(u32 id)
return ITCMSetting;
}
+ if ((id & 0xF00) == 0xF00) // test/debug shit?
+ return 0;
+
printf("unknown CP15 read op %03X\n", id);
return 0;
}