Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/stand/efiboot/bootaa64 Flush from kernel start, not the ...



details:   https://anonhg.NetBSD.org/src/rev/7db0dd0de1ca
branches:  trunk
changeset: 979735:7db0dd0de1ca
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Jan 09 13:19:27 2021 +0000

description:
Flush from kernel start, not the entry point.

diffstat:

 sys/stand/efiboot/bootaa64/efibootaa64.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ceb790038e51 -r 7db0dd0de1ca sys/stand/efiboot/bootaa64/efibootaa64.c
--- a/sys/stand/efiboot/bootaa64/efibootaa64.c  Sat Jan 09 13:15:15 2021 +0000
+++ b/sys/stand/efiboot/bootaa64/efibootaa64.c  Sat Jan 09 13:19:27 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efibootaa64.c,v 1.4 2021/01/09 13:15:15 jmcneill Exp $ */
+/*     $NetBSD: efibootaa64.c,v 1.5 2021/01/09 13:19:27 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2016 Kimihiro Nonaka <nonaka%netbsd.org@localhost>
@@ -56,7 +56,7 @@
        fdt_start = (u_long)efi_fdt_data();
        fdt_size = efi_fdt_size();
 
-       aarch64_dcache_wbinv_range(kernel_entry, kernel_size);
+       aarch64_dcache_wbinv_range(kernel_start, kernel_size);
        if (efi_fdt_size() > 0) {
                aarch64_dcache_wbinv_range(fdt_start, fdt_size);
        }



Home | Main Index | Thread Index | Old Index