Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/lib no need COUNT_KERNEL hack.
details: https://anonhg.NetBSD.org/src/rev/020ab94842a4
branches: trunk
changeset: 821965:020ab94842a4
user: nonaka <nonaka%NetBSD.org@localhost>
date: Thu Feb 23 12:14:53 2017 +0000
description:
no need COUNT_KERNEL hack.
diffstat:
sys/arch/i386/stand/lib/exec.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r fa663f5070c9 -r 020ab94842a4 sys/arch/i386/stand/lib/exec.c
--- a/sys/arch/i386/stand/lib/exec.c Thu Feb 23 12:13:59 2017 +0000
+++ b/sys/arch/i386/stand/lib/exec.c Thu Feb 23 12:14:53 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec.c,v 1.65 2017/02/11 10:23:39 nonaka Exp $ */
+/* $NetBSD: exec.c,v 1.66 2017/02/23 12:14:53 nonaka Exp $ */
/*
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -313,7 +313,6 @@
/* Allocate temporary arena. */
addr = EFI_ALLOCATE_MAX_ADDRESS;
kernsize = marks[MARK_END] - loadaddr;
- kernsize += 1 * 1024 * 1024; /* XXX: kernel size COUNT_KERNEL vs LOAD_KERNL (lacked some SYMTAB?) */
kernsize = EFI_SIZE_TO_PAGES(kernsize);
status = uefi_call_wrapper(BS->AllocatePages, 4,
AllocateMaxAddress, EfiLoaderData, kernsize, &addr);
Home |
Main Index |
Thread Index |
Old Index