From 267cc84937166c57910549873a6f95ad6ab75ec9 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Mon, 22 Oct 2012 03:16:39 +0000 Subject: [PATCH] Explain the upcoming delay by printing a message when the kernel is about to begin testing memory. Reviewed by: dteske, adri Approved by: cperciva MFC after: 1 week --- sys/amd64/amd64/machdep.c | 2 ++ sys/i386/i386/machdep.c | 2 ++ sys/pc98/pc98/machdep.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index abce8267535..62950b4eaf1 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1532,6 +1532,8 @@ getmemsize(caddr_t kmdp, u_int64_t first) if (memtest == 0) goto skip_memtest; + printf("testing memory...\n"); + /* * map page into kernel: valid, read/write,non-cacheable */ diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 744c3cbbed0..7b645f5ce12 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -2459,6 +2459,8 @@ getmemsize(int first) if (memtest == 0) goto skip_memtest; + printf("testing memory...\n"); + /* * map page into kernel: valid, read/write,non-cacheable */ diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index b34966a1e19..753f6934767 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -2042,6 +2042,8 @@ getmemsize(int first) if (memtest == 0) goto skip_memtest; + printf("testing memory...\n"); + /* * map page into kernel: valid, read/write,non-cacheable */ -- 2.45.2