From 1888f5c611ee7cf2b830f591b91f695e89b2d8fc Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Wed, 2 Feb 2022 15:33:25 +0000 Subject: [PATCH] Add change to tests/test.c missed in commit dcac5270. --- tests/tests.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/tests.c b/tests/tests.c index 07cc590..7b35682 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -19,6 +19,7 @@ #include "cache.h" #include "cpuid.h" +#include "memsize.h" #include "tsc.h" #include "vmem.h" @@ -84,7 +85,7 @@ int ticks_per_test[NUM_PASS_TYPES][NUM_TEST_PATTERNS]; int run_test(int my_cpu, int test, int stage, int iterations) { if (my_cpu == master_cpu) { - if ((uintptr_t)&_start > LOW_LOAD_ADDR) { + if ((uintptr_t)&_start > SIZE_C(1,MB)) { // Relocated so we need to test all selected lower memory. vm_map[0].start = first_word_mapping(pm_limit_lower);