aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/mtrr.h
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/include/asm-x86/mtrr.h
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/include/asm-x86/mtrr.h')
-rw-r--r--xen/include/asm-x86/mtrr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-x86/mtrr.h b/xen/include/asm-x86/mtrr.h
index 469cdb5111..6b4d6328d7 100644
--- a/xen/include/asm-x86/mtrr.h
+++ b/xen/include/asm-x86/mtrr.h
@@ -52,6 +52,7 @@ struct mtrr_state {
/* ranges in var MSRs are overlapped or not:0(no overlapped) */
bool_t overlapped;
};
+extern struct mtrr_state mtrr_state;
extern void mtrr_save_fixed_ranges(void *);
extern void mtrr_save_state(void);