Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/gemini Generate addresses from this instead ...



details:   https://anonhg.NetBSD.org/src/rev/0f2182580ff5
branches:  trunk
changeset: 761525:0f2182580ff5
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jan 31 06:10:25 2011 +0000

description:
Generate addresses from this instead of including gemini.h

diffstat:

 sys/arch/evbarm/gemini/genassym.cf |  45 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diffs (49 lines):

diff -r 18c72f1daac7 -r 0f2182580ff5 sys/arch/evbarm/gemini/genassym.cf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/evbarm/gemini/genassym.cf        Mon Jan 31 06:10:25 2011 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: genassym.cf,v 1.1 2011/01/31 06:10:25 matt Exp $
+
+#-
+# Copyright (c) 2011 The NetBSD Foundation, Inc.
+# All rights reserved.
+#
+# This code is derived from software contributed to The NetBSD Foundation
+# by Matt Thomas <matt%3am-software.com@localhost>
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+
+include <evbarm/gemini/gemini.h>
+
+#define        KERNEL_BASE_phys        KERNEL_BASE_phys
+#define        KERNEL_BASE_virt        KERNEL_BASE_virt
+define GEMINI_GLOBAL_VBASE     GEMINI_GLOBAL_VBASE
+define GEMINI_GLOBAL_BASE      GEMINI_GLOBAL_BASE
+define GEMINI_UART_VBASE       GEMINI_UART_VBASE
+define GEMINI_UART_BASE        GEMINI_UART_BASE
+define GEMINI_LPCHC_VBASE      GEMINI_LPCHC_VBASE
+define GEMINI_LPCHC_BASE       GEMINI_LPCHC_BASE
+define GEMINI_LPCIO_VBASE      GEMINI_LPCIO_VBASE
+define GEMINI_LPCIO_BASE       GEMINI_LPCIO_BASE
+define GEMINI_DRAMC_VBASE      GEMINI_DRAMC_VBASE
+define GEMINI_DRAMC_BASE       GEMINI_DRAMC_BASE



Home | Main Index | Thread Index | Old Index