aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2016-12-05 11:40:54 +0000
committerAndrew Turner <andrew@FreeBSD.org>2016-12-05 11:40:54 +0000
commit7abeae41fbaec2eb15d2c73fd27e5f5096ea1a2c (patch)
tree9cf8f774c3cdae107774436193ed02aaf9644837 /sys/arm64
parent714935be5a0448c889ae3a3dcf261ea2a7edece3 (diff)
downloadsrc-7abeae41fbaec2eb15d2c73fd27e5f5096ea1a2c.tar.gz
src-7abeae41fbaec2eb15d2c73fd27e5f5096ea1a2c.zip
Remove an unneeded header. It was used when we had an arm64 specific GIC
driver, however with INTRNG this has been merged into a common arm driver. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=309549
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/arm64/gic.h67
1 files changed, 0 insertions, 67 deletions
diff --git a/sys/arm64/arm64/gic.h b/sys/arm64/arm64/gic.h
deleted file mode 100644
index a8ba6a8f3af1..000000000000
--- a/sys/arm64/arm64/gic.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/*-
- * Copyright (c) 2011 The FreeBSD Foundation
- * Copyright (c) 2014 Andrew Turner
- * All rights reserved.
- *
- * Developed by Damjan Marion <damjan.marion@gmail.com>
- *
- * Based on OMAP4 GIC code by Ben Gray
- *
- * 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.
- * 3. The name of the company nor the name of the author may be used to
- * endorse or promote products derived from this software without specific
- * prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
- *
- * $FreeBSD$
- */
-
-#ifndef _ARM64_GIC_H_
-#define _ARM64_GIC_H_
-
-DECLARE_CLASS(arm_gic_driver);
-
-struct arm_gic_softc {
- device_t gic_dev;
- struct resource * gic_res[3];
- bus_space_tag_t gic_c_bst;
- bus_space_tag_t gic_d_bst;
- bus_space_handle_t gic_c_bsh;
- bus_space_handle_t gic_d_bsh;
- uint8_t ver;
- struct mtx mutex;
- uint32_t nirqs;
- uint32_t typer;
-};
-
-DECLARE_CLASS(arm_gicv2m_driver);
-
-struct gicv2m_softc {
- struct resource *sc_mem;
- struct mtx sc_mutex;
- u_int sc_spi_start;
- u_int sc_spi_count;
- u_int sc_spi_offset;
-};
-
-int arm_gic_attach(device_t);
-
-#endif