aboutsummaryrefslogtreecommitdiff
path: root/src/core/hardware_properties.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-06 12:56:01 -0400
committerLiam <byteslice@airmail.cc>2022-06-16 13:18:07 -0400
commit8d2abc710cbcf98f0e2e5ed4645bb6f53301dfb1 (patch)
tree56c1a3cbddf392d700e817cd4093564e3f096013 /src/core/hardware_properties.h
parent1d8e860c47a2bd9944443d9f4d717f6f19eaf72d (diff)
core/debugger: memory breakpoint support
Diffstat (limited to 'src/core/hardware_properties.h')
-rw-r--r--src/core/hardware_properties.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hardware_properties.h b/src/core/hardware_properties.h
index aac362c51e..13cbdb734c 100644
--- a/src/core/hardware_properties.h
+++ b/src/core/hardware_properties.h
@@ -25,6 +25,9 @@ constexpr std::array<s32, Common::BitSize<u64>()> VirtualToPhysicalCoreMap{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3,
};
+// Cortex-A57 supports 4 memory watchpoints
+constexpr u64 NUM_WATCHPOINTS = 4;
+
} // namespace Hardware
} // namespace Core