aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mvp/mvpkm/monva_common.h
diff options
context:
space:
mode:
authorSimon Shields <keepcalm444@gmail.com>2016-05-19 22:40:24 +1000
committerSimon Shields <keepcalm444@gmail.com>2016-05-19 22:43:22 +1000
commitd3378b75f8c853b3d963443da07a372fb351758f (patch)
treea6f4be9f3d24f24ce52f468cb507b21f6d7734f0 /arch/arm/mvp/mvpkm/monva_common.h
parent9001c4e0f1e823ba318cdf9e61c75cbc9442a829 (diff)
downloadkernel_samsung_smdk4412-d3378b75f8c853b3d963443da07a372fb351758f.zip
kernel_samsung_smdk4412-d3378b75f8c853b3d963443da07a372fb351758f.tar.gz
kernel_samsung_smdk4412-d3378b75f8c853b3d963443da07a372fb351758f.tar.bz2
purge the vmware mvp driver permanently
Change-Id: Ifae030867a11bca4fcf0439f1cda2bfd10fc22d8
Diffstat (limited to 'arch/arm/mvp/mvpkm/monva_common.h')
-rw-r--r--arch/arm/mvp/mvpkm/monva_common.h106
1 files changed, 0 insertions, 106 deletions
diff --git a/arch/arm/mvp/mvpkm/monva_common.h b/arch/arm/mvp/mvpkm/monva_common.h
deleted file mode 100644
index de3dd1a..0000000
--- a/arch/arm/mvp/mvpkm/monva_common.h
+++ /dev/null
@@ -1,106 +0,0 @@
-/*
- * Linux 2.6.32 and later Kernel module for VMware MVP Hypervisor Support
- *
- * Copyright (C) 2010-2012 VMware, Inc. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; see the file COPYING. If not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-#line 5
-
-/**
- * @file
- *
- * @brief Constant definitions that describing the monitor memory layout
- * (common to both LPV and VE monitors).
- *
- */
-
-#ifndef _MONVA_COMMON_H_
-#define _MONVA_COMMON_H_
-
-#define INCLUDE_ALLOW_MVPD
-#define INCLUDE_ALLOW_VMX
-#define INCLUDE_ALLOW_MODULE
-#define INCLUDE_ALLOW_MONITOR
-#define INCLUDE_ALLOW_HOSTUSER
-#define INCLUDE_ALLOW_GUESTUSER
-#define INCLUDE_ALLOW_GPL
-#include "include_check.h"
-
-#include "mmu_defs.h"
-#include "mmu_types.h"
-
-/*
- * The monitor occupies a hole in the guest virtual address space.
- * The following macros define that hole.
- */
-
-#define MONITOR_VA_START ((MVA)0xE8000000)
-#define MONITOR_VA_LEN 0x03000000
-
-/*
- * Worldswitch page gets mapped right after the stack guard.
- */
-#define MONITOR_VA_WORLDSWITCH \
- ((MVA)(MONITOR_VA_START + 3 * PAGE_SIZE))
-
-#define MONITOR_VA_WORLDSWITCH_CODE \
- (MONITOR_VA_WORLDSWITCH + PAGE_SIZE)
-
-#define MONITOR_VA_UART \
- (MONITOR_VA_WORLDSWITCH_CODE + PAGE_SIZE)
-
-/**
- * @brief Type of physmem region mapping that we want the VMX to know about.
- * Helps to identify Guest page allocations.
- */
-typedef enum {
- MEMREGION_MAINMEM = 1,
- MEMREGION_MODULE = 2,
- MEMREGION_WSP = 3,
- MEMREGION_MONITOR_MISC = 4,
- MEMREGION_DEFAULT = 0
-} PACKED PhysMem_RegionType;
-
-typedef struct MonVA { /* Note that this struct is VE only */
- MA l2BaseMA; ///< MA of monitor L2 page table page
- MVA excVec; ///< Monitor exception vector virtual address
-} MonVA;
-
-/**
- * @brief Monitor VA mapping type, device or memory.
- *
- * These values are used to index HMAIR0 in the VE monitor - do not change
- * without making the required update to HMAIR0.
- */
-typedef enum {
- MVA_MEMORY = 0,
- MVA_DEVICE = 1
-} MVAType;
-
-/**
- * @name Monitor types, used in VMX, Mvpkm and monitors.
- *
- * This is not a C enumeration, as we may want to use the values in CPP macros.
- *
- * @{
- */
-#define MONITOR_TYPE_LPV 0
-#define MONITOR_TYPE_VE 1
-#define MONITOR_TYPE_UNKNOWN 0xf
-
-typedef uint32 MonitorType;
-/*@}*/
-
-#endif