Changeset 59847 in vbox for trunk/src/VBox/VMM/testcase/tstSSM.cpp
- Timestamp:
- Feb 26, 2016 11:35:07 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 105740
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstSSM.cpp
r57358 r59847 633 633 * Allocate and init the UVM structure. 634 634 */ 635 PUVM pUVM = (PUVM)RTMem AllocZ(sizeof(*pUVM));635 PUVM pUVM = (PUVM)RTMemPageAllocZ(sizeof(*pUVM)); 636 636 AssertReturn(pUVM, 1); 637 637 pUVM->u32Magic = UVM_MAGIC; … … 685 685 686 686 /** 687 * Destroy the VM structure. 688 * 689 * @param pVM Pointer to the VM. 690 * 691 * @todo Move this to VMM/VM since it's stuff done by several testcases. 692 */ 693 static void destroyFakeVM(PVM pVM) 694 { 695 STAMR3TermUVM(pVM->pUVM); 696 MMR3TermUVM(pVM->pUVM); 697 } 698 699 700 /** 687 701 * Entry point. 688 702 */ … … 913 927 } 914 928 929 destroyFakeVM(pVM); 930 915 931 /* delete */ 916 932 RTFileDelete(pszFilename);
Note:
See TracChangeset
for help on using the changeset viewer.