diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-01-25 10:16:11 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-01-25 10:16:11 +0000 |
commit | f610be82c2cb10eb686f440c5d3968d7d6b0c5cf (patch) | |
tree | 6e7aceec18a4e3bbc8de9162a192daf44536ea37 /xen/arch/x86/tboot.c | |
parent | 0c186c667431b06c9991ad61e5e937aeddbb13d8 (diff) | |
download | xen-f610be82c2cb10eb686f440c5d3968d7d6b0c5cf.tar.gz xen-f610be82c2cb10eb686f440c5d3968d7d6b0c5cf.tar.bz2 xen-f610be82c2cb10eb686f440c5d3968d7d6b0c5cf.zip |
vt-d: Do not explicitly exclude tboot ranges from dom0 vt-d
mappings. tboot is not registered as RAM in e820 tables, and hence
will not be mapped anyway (fails memory_is_conventional_ram() check).
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/tboot.c')
-rw-r--r-- | xen/arch/x86/tboot.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/xen/arch/x86/tboot.c b/xen/arch/x86/tboot.c index ec4aa9436d..697ca9f461 100644 --- a/xen/arch/x86/tboot.c +++ b/xen/arch/x86/tboot.c @@ -96,18 +96,6 @@ int tboot_in_measured_env(void) return (g_tboot_shared != NULL); } -int tboot_in_range(paddr_t start, paddr_t end) -{ - if ( g_tboot_shared == NULL || g_tboot_shared->version < 0x02 ) - return 0; - - start = max_t(paddr_t, start, g_tboot_shared->tboot_base); - end = min_t(paddr_t, end, - g_tboot_shared->tboot_base + g_tboot_shared->tboot_size); - - return start < end; -} - /* * Local variables: * mode: C |