summaryrefslogtreecommitdiffstats
path: root/src/include/ramdetect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ramdetect.h')
-rw-r--r--src/include/ramdetect.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/ramdetect.h b/src/include/ramdetect.h
index b63cdf14cf8d..e2a7eced674a 100644
--- a/src/include/ramdetect.h
+++ b/src/include/ramdetect.h
@@ -11,6 +11,12 @@
* GNU General Public License for more details.
*/
+
+/*
+ * Used in probe_ramsize(). This is a weak function and it's overridden for
+ * ARMv8. Return 1 when DRAM exists at the address, otherwise return 0.
+ */
+int probe_mb(const uintptr_t dram_start, const uintptr_t size);
/*
* Probe an area if it's read/writable.
* Primary use case is the detection of DRAM amount on emulators.