Changeset 14676 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Nov 27, 2008 12:43:06 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r14541 r14676 3423 3423 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 3424 3424 PCX86PD pGuestPD = 0; 3425 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **) pGuestPD);3425 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **)&pGuestPD); 3426 3426 if (RT_FAILURE(rc)) 3427 3427 { … … 3447 3447 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 3448 3448 PX86PD pGuestPD = 0; 3449 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **) pGuestPD);3449 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **)&pGuestPD); 3450 3450 AssertRCReturn(rc, 0); 3451 3451 return &pGuestPD->a[GCPtr >> X86_PD_SHIFT]; … … 3466 3466 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 3467 3467 PX86PD pGuestPD = 0; 3468 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **) pGuestPD);3468 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **)&pGuestPD); 3469 3469 AssertRCReturn(rc, 0); 3470 3470 return pGuestPD; … … 3486 3486 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 3487 3487 PX86PDPT pGuestPDPT = 0; 3488 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **) pGuestPDPT);3488 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **)&pGuestPDPT); 3489 3489 AssertRCReturn(rc, 0); 3490 3490 return pGuestPDPT; … … 3509 3509 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 3510 3510 PX86PDPT pGuestPDPT = 0; 3511 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **) pGuestPDPT);3511 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **)&pGuestPDPT); 3512 3512 AssertRCReturn(rc, 0); 3513 3513 return &pGuestPDPT->a[(GCPtr >> X86_PDPT_SHIFT) & X86_PDPT_MASK_PAE]; … … 3697 3697 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 3698 3698 PX86PML4 pGuestPml4; 3699 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **) pGuestPml4);3699 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **)&pGuestPml4); 3700 3700 AssertRCReturn(rc, NULL); 3701 3701 return pGuestPml4; … … 3718 3718 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 3719 3719 PX86PML4 pGuestPml4; 3720 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **) pGuestPml4);3720 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **)&pGuestPml4); 3721 3721 AssertRCReturn(rc, NULL); 3722 3722 return &pGuestPml4->a[iPml4]; … … 3739 3739 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 3740 3740 PX86PML4 pGuestPml4; 3741 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **) pGuestPml4);3741 int rc = PGMDynMapGCPage(PGM2VM(pPGM), pPGM->GCPhysCR3, (void **)&pGuestPml4); 3742 3742 if (RT_FAILURE(rc)) 3743 3743 {
Note:
See TracChangeset
for help on using the changeset viewer.