Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/stand/efiboot No longer need to delete reserved memory r...
details: https://anonhg.NetBSD.org/src/rev/bba6d7a18da6
branches: trunk
changeset: 445502:bba6d7a18da6
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Wed Oct 31 09:13:32 2018 +0000
description:
No longer need to delete reserved memory ranges.
diffstat:
sys/stand/efiboot/efifdt.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (20 lines):
diff -r cdfb72cba146 -r bba6d7a18da6 sys/stand/efiboot/efifdt.c
--- a/sys/stand/efiboot/efifdt.c Wed Oct 31 08:41:47 2018 +0000
+++ b/sys/stand/efiboot/efifdt.c Wed Oct 31 09:13:32 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: efifdt.c,v 1.9 2018/09/09 13:37:54 jmcneill Exp $ */
+/* $NetBSD: efifdt.c,v 1.10 2018/10/31 09:13:32 jmcneill Exp $ */
/*-
* Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -146,10 +146,6 @@
panic("FDT: Failed to create " FDT_MEMORY_NODE_PATH " node");
fdt_delprop(fdt_data, memory, "reg");
- while (fdt_num_mem_rsv(fdt_data) > 0) {
- if (fdt_del_mem_rsv(fdt_data, 0) < 0)
- panic("FDT: Failed to remove reserved memory map entry");
- }
const int address_cells = fdt_address_cells(fdt_data, fdt_path_offset(fdt_data, "/"));
const int size_cells = fdt_size_cells(fdt_data, fdt_path_offset(fdt_data, "/"));
Home |
Main Index |
Thread Index |
Old Index