diff options
author | Steven Hand <steven@xensource.com> | 2006-12-29 13:02:19 +0000 |
---|---|---|
committer | Steven Hand <steven@xensource.com> | 2006-12-29 13:02:19 +0000 |
commit | bcef756eb4389e6c86abfeb99255303c0b9c5bee (patch) | |
tree | a9aa590241080ddd4c03a7b1ace6dfd1b9eea53f /tools/libxc/xg_save_restore.h | |
parent | c2bb666e0845881fabbafcc87310668bc5509eda (diff) | |
download | xen-bcef756eb4389e6c86abfeb99255303c0b9c5bee.tar.gz xen-bcef756eb4389e6c86abfeb99255303c0b9c5bee.tar.bz2 xen-bcef756eb4389e6c86abfeb99255303c0b9c5bee.zip |
Remove unused #defines.
Signed-off-by: Steven Hand <steven@xensource.com>
Diffstat (limited to 'tools/libxc/xg_save_restore.h')
-rw-r--r-- | tools/libxc/xg_save_restore.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/libxc/xg_save_restore.h b/tools/libxc/xg_save_restore.h index 0000eb7843..00d0753def 100644 --- a/tools/libxc/xg_save_restore.h +++ b/tools/libxc/xg_save_restore.h @@ -101,12 +101,6 @@ static int get_platform_info(int xc_handle, uint32_t dom, /* Number of entries in the pfn_to_mfn_frame_list_list */ #define P2M_FLL_ENTRIES (((max_pfn)+(fpp*fpp)-1)/(fpp*fpp)) -/* Current guests allow 8MB 'slack' in their P2M */ -#define NR_SLACK_ENTRIES ((8 * 1024 * 1024) / PAGE_SIZE) - -/* Is the given PFN within the 'slack' region at the top of the P2M? */ -#define IS_REAL_PFN(_pfn) ((max_pfn - (_pfn)) > NR_SLACK_ENTRIES) - /* Returns TRUE if the PFN is currently mapped */ #define is_mapped(pfn_type) (!((pfn_type) & 0x80000000UL)) |