typedef struct xen_remove_from_physmap xen_remove_from_physmap_t;\r
DEFINE_XEN_GUEST_HANDLE(xen_remove_from_physmap_t);\r
\r
+/*\r
+ * Returns the pseudo-physical memory map as it was when the domain\r
+ * was started (specified by XENMEM_set_memory_map).\r
+ * arg == addr of xen_memory_map_t.\r
+ */\r
+#define XENMEM_memory_map 9\r
+struct xen_memory_map {\r
+ /*\r
+ * On call the number of entries which can be stored in buffer. On\r
+ * return the number of entries which have been stored in\r
+ * buffer.\r
+ */\r
+ UINT32 nr_entries;\r
+\r
+ /*\r
+ * Entries in the buffer are in the same format as returned by the\r
+ * BIOS INT 0x15 EAX=0xE820 call.\r
+ */\r
+ XEN_GUEST_HANDLE(void) buffer;\r
+};\r
+typedef struct xen_memory_map xen_memory_map_t;\r
+DEFINE_XEN_GUEST_HANDLE(xen_memory_map_t);\r
+\r
#endif /* __XEN_PUBLIC_MEMORY_H__ */\r
\r
/*\r