From 2fedbfbb6dfa80d1232c07c1011b467d904abf5b Mon Sep 17 00:00:00 2001 From: kettenis Date: Sun, 24 Dec 2017 23:24:45 +0000 Subject: [PATCH] Re-enable the code that unmaps the startup code. This was temporarily disabled while lld was growing up, but forgotten about when gap.o was added back. ok deraadt@ --- sys/arch/arm64/arm64/autoconf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/arch/arm64/arm64/autoconf.c b/sys/arch/arm64/arm64/autoconf.c index c50fddf687f..a062f039569 100644 --- a/sys/arch/arm64/arm64/autoconf.c +++ b/sys/arch/arm64/arm64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.4 2017/06/29 05:40:35 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.5 2017/12/24 23:24:45 kettenis Exp $ */ /* * Copyright (c) 2009 Miodrag Vallat. * @@ -34,7 +34,6 @@ enum devclass bootdev_class = DV_DULL; void unmap_startup(void) { -#if 0 extern void *_start, *endboot; vaddr_t p = (vaddr_t)&_start; @@ -42,7 +41,6 @@ unmap_startup(void) pmap_kremove(p, PAGE_SIZE); p += PAGE_SIZE; } while (p < (vaddr_t)&endboot); -#endif } void -- 2.20.1