Et voilĂ , we can delete mach.h.

Signed-off-by: Ralf Ramsauer <[email protected]>
---
 inmates/lib/arm/include/mach.h   | 116 -----------------------------
 inmates/lib/arm64/include/mach.h | 121 -------------------------------
 2 files changed, 237 deletions(-)
 delete mode 100644 inmates/lib/arm/include/mach.h
 delete mode 100644 inmates/lib/arm64/include/mach.h

diff --git a/inmates/lib/arm/include/mach.h b/inmates/lib/arm/include/mach.h
deleted file mode 100644
index a35df626..00000000
--- a/inmates/lib/arm/include/mach.h
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- * Jailhouse, a Linux-based partitioning hypervisor
- *
- * Copyright (c) ARM Limited, 2014
- * Copyright (c) Siemens AG, 2015-2017
- *
- * Authors:
- *  Jan Kiszka <[email protected]>
- *  Jean-Philippe Brucker <[email protected]>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
- * Alternatively, you can use or redistribute this file under the following
- * BSD license:
- *
- * 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 COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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.
- */
-
-#ifdef CONFIG_MACH_JETSON_TK1
-#define CON_TYPE       "8250"
-#define CON_BASE       0x70006300 /* UART D on tegra124, exposed to the DB9
-                                     connector of the Jetson TK1 */
-/* Do not enable the clock in the inmate, as enabling the clock requires access
- * to the tegra-car (Clock and Reset Controller) */
-#define CON_CLOCK_REG  0
-#define CON_GATE_NR    0
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0x50041000)
-#define GICC_V2_BASE   ((void *)0x50042000)
-
-#elif defined(CONFIG_MACH_BANANAPI)
-#define CON_TYPE       "8250"
-#define CON_BASE       0x01c29c00
-#define CON_DIVIDER    0x0d
-
-#define CON_CLOCK_REG  0x01c2006c
-#define CON_GATE_NR    23
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0x01c81000)
-#define GICC_V2_BASE   ((void *)0x01c82000)
-
-#elif defined(CONFIG_MACH_EMCON_RZG)
-#define CON_TYPE       "HSCIF"
-#define CON_BASE       0xe6ee0000
-#define CON_DIVIDER    0x10
-
-#define CON_CLOCK_REG  0xe615014c
-#define CON_GATE_NR    15
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0xf1001000)
-#define GICC_V2_BASE   ((void *)0xf1002000)
-
-#elif defined(CONFIG_MACH_EMCON_RZG1H)
-#define CON_TYPE       "SCIFA"
-#define CON_BASE       0xe6c40000
-#define CON_DIVIDER    0x1b
-
-#define CON_CLOCK_REG  0xe6150138
-#define CON_GATE_NR    4
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0xf1001000)
-#define GICC_V2_BASE   ((void *)0xf1002000)
-
-#elif defined(CONFIG_MACH_ORANGEPI0)
-#define CON_TYPE       "8250"
-#define CON_BASE       0x01c28000
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0x01c81000)
-#define GICC_V2_BASE   ((void *)0x01c82000)
-
-#elif defined(CONFIG_MACH_VEXPRESS)
-#define CON_TYPE       "PL011"
-#define CON_BASE       0x1c090000
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0x2c001000)
-#define GICC_V2_BASE   ((void *)0x2c002000)
-
-/*
-#define GIC_VERSION    3
-#define GICD_V3_BASE   ((void *)0x2f000000)
-#define GICR_V3_BASE   ((void *)0x2f100000)
-*/
-
-#endif
-
-#ifndef TIMER_IRQ
-#define TIMER_IRQ      27
-#endif
diff --git a/inmates/lib/arm64/include/mach.h b/inmates/lib/arm64/include/mach.h
deleted file mode 100644
index 498843c0..00000000
--- a/inmates/lib/arm64/include/mach.h
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * Jailhouse AArch64 support
- *
- * Copyright (C) 2015 Huawei Technologies Duesseldorf GmbH
- * Copyright (c) Siemens AG, 2016-2017
- *
- * Authors:
- *  Antonios Motakis <[email protected]>
- *  Jan Kiszka <[email protected]>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
- * Alternatively, you can use or redistribute this file under the following
- * BSD license:
- *
- * 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 COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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.
- */
-
-#ifdef CONFIG_MACH_AMD_SEATTLE
-#define CON_TYPE       "PL011"
-#define CON_BASE       0xe1010000
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0xe1110000)
-#define GICC_V2_BASE   ((void *)0xe112f000)
-
-#elif defined(CONFIG_MACH_FOUNDATION_V8)
-#define CON_TYPE       "PL011"
-#define CON_BASE       0x1c090000
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0x2c001000)
-#define GICC_V2_BASE   ((void *)0x2c002000)
-
-#elif defined(CONFIG_MACH_HIKEY)
-#define CON_TYPE       "PL011"
-#define CON_BASE       0xf7113000
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0xf6801000)
-#define GICC_V2_BASE   ((void *)0xf6802000)
-
-#elif defined(CONFIG_MACH_JETSON_TX1)
-#define CON_TYPE       "8250"
-#define CON_BASE       0x70006000
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0x50041000)
-#define GICC_V2_BASE   ((void *)0x50042000)
-
-#elif defined(CONFIG_MACH_JETSON_TX2)
-#define CON_TYPE       "8250"
-#define CON_BASE       0x3100000
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0x03881000)
-#define GICC_V2_BASE   ((void *)0x03882000)
-
-#elif defined(CONFIG_MACH_ZYNQMP_ZCU102)
-#define CON_TYPE       "XUARTPS"
-#define CON_BASE       0xff010000
-
-#define GIC_VERSION    2
-#define GICD_V2_BASE   ((void *)0xf9010000)
-#define GICC_V2_BASE   ((void *)0xf902f000)
-
-#elif defined(CONFIG_MACH_ESPRESSOBIN)
-#define CON_TYPE       "MVEBU"
-#define CON_BASE       0xd0012000
-
-#define GIC_VERSION    3
-#define GICD_V3_BASE   ((void *)0xd1d00000)
-#define GICR_V3_BASE   ((void *)0xd1d60000)    /* CPU 1 */
-
-#elif defined(CONFIG_MACH_QEMU_ARM64)
-#define CON_TYPE       "PL011"
-#define CON_BASE       0x09000000
-
-#define GIC_VERSION    3
-#define GICD_V3_BASE   ((void *)0x08000000)
-#define GICR_V3_BASE   ((void *)0x08100000)    /* CPU 3 */
-
-#elif defined(CONFIG_MACH_IMX8MQ)
-#define CON_TYPE       "IMX-UART"
-#define CON_BASE       0x30860000
-
-#define GIC_VERSION    3
-#define GICD_V3_BASE   ((void *)0x38800000)
-/*
- * Note: The GICR_V3_BASE address is core-specific.
- * Address is 0x38880000 + x * 2 * 64K
- */
-#define GICR_V3_BASE   ((void *)0x388e0000)    /* CPU 3 */
-
-#endif
-
-#ifndef TIMER_IRQ
-#define TIMER_IRQ      27
-#endif
-- 
2.17.0

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to