aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/intercept.c
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@citrix.com>2011-05-27 08:56:12 +0100
committerTim Deegan <Tim.Deegan@citrix.com>2011-05-27 08:56:12 +0100
commitf87806bcecfdd4d57bc1b543045ce3bfa84332a4 (patch)
tree26d8986e03ce83ad6d00a3b22da9915d531a4a63 /xen/arch/x86/hvm/intercept.c
parent2d680dadf189da1774c086f6eed72e5da564eb1e (diff)
downloadxen-f87806bcecfdd4d57bc1b543045ce3bfa84332a4.tar.gz
xen-f87806bcecfdd4d57bc1b543045ce3bfa84332a4.tar.bz2
xen-f87806bcecfdd4d57bc1b543045ce3bfa84332a4.zip
xen: remove more declarations from C files.
This patch moves some more, mostly data, extern declarations into header files. I haven't been as strict as I was with functions; in particular there are a number of declarations of assembler labels that are only used in one place. I've also left a few compat-mode tricks, and all the magic in symbols.c Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'xen/arch/x86/hvm/intercept.c')
-rw-r--r--xen/arch/x86/hvm/intercept.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/xen/arch/x86/hvm/intercept.c b/xen/arch/x86/hvm/intercept.c
index 4f461cbd4c..be6bf95d8b 100644
--- a/xen/arch/x86/hvm/intercept.c
+++ b/xen/arch/x86/hvm/intercept.c
@@ -32,13 +32,6 @@
#include <xen/event.h>
#include <xen/iommu.h>
-extern const struct hvm_mmio_handler hpet_mmio_handler;
-extern const struct hvm_mmio_handler vlapic_mmio_handler;
-extern const struct hvm_mmio_handler vioapic_mmio_handler;
-extern const struct hvm_mmio_handler msixtbl_mmio_handler;
-
-#define HVM_MMIO_HANDLER_NR 4
-
static const struct hvm_mmio_handler *const
hvm_mmio_handlers[HVM_MMIO_HANDLER_NR] =
{