Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include/booke Add little endian bus_space_t...



details:   https://anonhg.NetBSD.org/src/rev/76ec42fb0321
branches:  trunk
changeset: 762143:76ec42fb0321
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Feb 16 18:41:48 2011 +0000

description:
Add little endian bus_space_tags.
Note highest memory in cpu_softc.

diffstat:

 sys/arch/powerpc/include/booke/cpuvar.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r 55bb3cd22e5c -r 76ec42fb0321 sys/arch/powerpc/include/booke/cpuvar.h
--- a/sys/arch/powerpc/include/booke/cpuvar.h   Wed Feb 16 18:39:33 2011 +0000
+++ b/sys/arch/powerpc/include/booke/cpuvar.h   Wed Feb 16 18:41:48 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpuvar.h,v 1.3 2011/02/08 06:21:03 matt Exp $  */
+/*     $NetBSD: cpuvar.h,v 1.4 2011/02/16 18:41:48 matt Exp $  */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -49,9 +49,12 @@
        struct cpu_info *cpu_ci;
        struct evcnt *cpu_evcnt_intrs;
        bus_space_tag_t cpu_bst;
+       bus_space_tag_t cpu_le_bst;
        bus_space_handle_t cpu_bsh;
        bus_addr_t cpu_clock_gtbcr;
 
+       paddr_t cpu_highmem;
+
        u_int cpu_pcpls[5];
        struct evcnt cpu_evcnt_spurious_intr;
        struct lwp *cpu_softlwps[SOFTINT_COUNT];
@@ -75,6 +78,7 @@
 struct cpunode_attach_args {
        const char *cna_busname;
        bus_space_tag_t cna_memt;
+       bus_space_tag_t cna_le_memt;
        bus_dma_tag_t cna_dmat;
        struct cpunode_locators cna_locs;
        u_int cna_childmask;
@@ -83,6 +87,7 @@
 struct mainbus_attach_args {
        const char *ma_name;
        bus_space_tag_t ma_memt;
+       bus_space_tag_t ma_le_memt;
        bus_dma_tag_t ma_dmat;
        int ma_node;
 };



Home | Main Index | Thread Index | Old Index