diff options
Diffstat (limited to 'base/remote_gdb.cc')
-rw-r--r-- | base/remote_gdb.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base/remote_gdb.cc b/base/remote_gdb.cc index 818618f28..41f11005d 100644 --- a/base/remote_gdb.cc +++ b/base/remote_gdb.cc @@ -344,6 +344,13 @@ RemoteGDB::acc(Addr va, size_t len) } } + /** + * This code says that all accesses to palcode (instruction and data) + * are valid since there isn't a va->pa mapping because palcode is + * accessed physically. At some point this should probably be cleaned up + * but there is no easy way to do it. + */ + if (PC_PAL(va) || va < 0x10000) return true; |