diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-10-28 10:54:50 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-10-28 10:54:50 +0000 |
commit | a8b1845a784516e51266e9f33fc3fe5b1e2790d5 (patch) | |
tree | e057fa606799edf4f4fd4af58b5b351ead338549 /xen/arch/x86/tboot.c | |
parent | 0a7e9c30b5554194b7b3c80ab751f13df0f7607f (diff) | |
download | xen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.tar.gz xen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.tar.bz2 xen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.zip |
Miscellaneous data placement adjustments
Make various data items const or __read_mostly where
possible/reasonable.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/tboot.c')
-rw-r--r-- | xen/arch/x86/tboot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/x86/tboot.c b/xen/arch/x86/tboot.c index 1dec05515d..f02003d040 100644 --- a/xen/arch/x86/tboot.c +++ b/xen/arch/x86/tboot.c @@ -13,7 +13,7 @@ #include <crypto/vmac.h> /* tboot=<physical address of shared page> */ -static char opt_tboot[20] = ""; +static char __initdata opt_tboot[20] = ""; string_param("tboot", opt_tboot); /* Global pointer to shared data; NULL means no measured launch. */ @@ -26,8 +26,8 @@ static vmac_t frametable_mac; /* MAC for frame table during S3 */ static const uuid_t tboot_shared_uuid = TBOOT_SHARED_UUID; /* used by tboot_protect_mem_regions() and/or tboot_parse_dmar_table() */ -static uint64_t txt_heap_base, txt_heap_size; -static uint64_t sinit_base, sinit_size; +static uint64_t __initdata txt_heap_base, __initdata txt_heap_size; +static uint64_t __initdata sinit_base, __initdata sinit_size; /* * TXT configuration registers (offsets from TXT_{PUB, PRIV}_CONFIG_REGS_BASE) |