- Timestamp:
- Apr 3, 2007 4:46:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Devices/Graphics/DevVGA.cpp ¶
r1727 r1900 4745 4745 * Allocate the VRAM. 4746 4746 */ 4747 /** @todo freeing of the VRAM. */4748 4747 rc = SUPPageAlloc(pData->vram_size >> PAGE_SHIFT, (void **)&pData->vram_ptrHC); 4749 4748 if (VBOX_FAILURE(rc)) … … 4986 4985 } 4987 4986 #endif 4987 4988 /* 4989 * Allocate the VRAM. 4990 */ 4991 int rc = SUPPageFree(pData->vram_ptrHC, pData->vram_size >> PAGE_SHIFT); 4992 if (VBOX_FAILURE(rc)) 4993 { 4994 AssertMsgFailed(("SUPPageFree(%p, %#x) -> %d\n", pData->vram_ptrHC, pData->vram_size, rc)); 4995 return rc; 4996 } 4997 pData->vram_ptrHC = NULL; 4988 4998 4989 4999 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.