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 initialize bs_cookie for generic_ds...



details:   https://anonhg.NetBSD.org/src/rev/7ea005a5660a
branches:  trunk
changeset: 833244:7ea005a5660a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Jun 16 13:53:45 2018 +0000

description:
initialize bs_cookie for generic_dsb tags

diffstat:

 sys/arch/aarch64/aarch64/bus_space.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 71ed5f3ca9b5 -r 7ea005a5660a sys/arch/aarch64/aarch64/bus_space.c
--- a/sys/arch/aarch64/aarch64/bus_space.c      Sat Jun 16 13:24:04 2018 +0000
+++ b/sys/arch/aarch64/aarch64/bus_space.c      Sat Jun 16 13:53:45 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space.c,v 1.4 2018/06/08 18:09:43 jmcneill Exp $ */
+/* $NetBSD: bus_space.c,v 1.5 2018/06/16 13:53:45 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: bus_space.c,v 1.4 2018/06/08 18:09:43 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: bus_space.c,v 1.5 2018/06/16 13:53:45 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -166,6 +166,8 @@
 };
 
 struct bus_space aarch64_generic_dsb_bs_tag = {
+       .bs_cookie = &aarch64_generic_dsb_bs_tag,
+
        .bs_stride = 0,
        .bs_flags = 0,
 
@@ -408,6 +410,8 @@
 };
 
 struct bus_space aarch64_generic_a4x_dsb_bs_tag = {
+       .bs_cookie = &aarch64_generic_a4x_dsb_bs_tag,
+
        .bs_stride = 2,
        .bs_flags = 0,
 



Home | Main Index | Thread Index | Old Index