Move VM ID from `struct mm_ptable` to `struct vm`.
The ID is a property of the VM and when it is needed along side the
ptable, both pieces of information are available.
Change-Id: I4c6165b931a4acd8128a21a9cc92880a1b47ceae
diff --git a/inc/hf/mm.h b/inc/hf/mm.h
index c96e16a..2f52cb3 100644
--- a/inc/hf/mm.h
+++ b/inc/hf/mm.h
@@ -9,7 +9,6 @@
struct mm_ptable {
paddr_t table;
- uint32_t id;
};
#define PAGE_SIZE (1 << PAGE_BITS)
@@ -40,7 +39,7 @@
*/
#define MM_MODE_NOINVALIDATE 0x40
-bool mm_ptable_init(struct mm_ptable *t, uint32_t id, int mode);
+bool mm_ptable_init(struct mm_ptable *t, int mode);
void mm_ptable_dump(struct mm_ptable *t, int mode);
void mm_ptable_defrag(struct mm_ptable *t, int mode);
bool mm_ptable_unmap_hypervisor(struct mm_ptable *t, int mode);