Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/aarch64 DCZID_EL0:BS[0:3] is log2 of the bl...



details:   https://anonhg.NetBSD.org/src/rev/a64a27761c64
branches:  trunk
changeset: 826293:a64a27761c64
user:      ryo <ryo%NetBSD.org@localhost>
date:      Sun Aug 27 00:29:57 2017 +0000

description:
DCZID_EL0:BS[0:3] is log2 of the block size in *words*, or 4.  Not 16.

diffstat:

 sys/arch/aarch64/aarch64/pmap_page.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5b7a08f7f0d5 -r a64a27761c64 sys/arch/aarch64/aarch64/pmap_page.S
--- a/sys/arch/aarch64/aarch64/pmap_page.S      Sat Aug 26 22:31:02 2017 +0000
+++ b/sys/arch/aarch64/aarch64/pmap_page.S      Sun Aug 27 00:29:57 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_page.S,v 1.1 2014/08/10 05:47:37 matt Exp $ */
+/* $NetBSD: pmap_page.S,v 1.2 2017/08/27 00:29:57 ryo Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 
 #include "assym.h"
 
-RCSID("$NetBSD: pmap_page.S,v 1.1 2014/08/10 05:47:37 matt Exp $");
+RCSID("$NetBSD: pmap_page.S,v 1.2 2017/08/27 00:29:57 ryo Exp $");
 
 /* LINTSTUB: void pmap_zero_page(paddr_t pa); */
 ENTRY(pmap_zero_page)
@@ -42,7 +42,7 @@
        mrs     x2, dczid_el0
        tbnz    x2, #4, 2f
 
-       mov     x3, #16
+       mov     x3, #4
        lsl     x3, x3, x2
 
 1:     dc      zva, x0



Home | Main Index | Thread Index | Old Index