Changeset 7719 in vbox
- Timestamp:
- Apr 3, 2008 12:03:36 PM (17 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CFGM.cpp
r6475 r7719 773 773 rc = CFGMR3InsertBytes(pCfg, "UUID", &Uuid, sizeof(Uuid)); 774 774 UPDATERC(); 775 /* Bios logo. */776 rc = CFGMR3InsertInteger(pCfg, "FadeIn", 1);777 UPDATERC();778 rc = CFGMR3InsertInteger(pCfg, "FadeOut", 1);779 UPDATERC();780 rc = CFGMR3InsertInteger(pCfg, "LogoTime", 0);781 UPDATERC();782 rc = CFGMR3InsertString(pCfg, "LogoFile", "");783 UPDATERC();784 775 785 776 /* … … 886 877 rc = CFGMR3InsertInteger(pCfg, "VRamSize", 4 * _1M); 887 878 UPDATERC(); 879 880 /* Bios logo. */ 881 rc = CFGMR3InsertInteger(pCfg, "FadeIn", 1); 882 UPDATERC(); 883 rc = CFGMR3InsertInteger(pCfg, "FadeOut", 1); 884 UPDATERC(); 885 rc = CFGMR3InsertInteger(pCfg, "LogoTime", 0); 886 UPDATERC(); 887 rc = CFGMR3InsertString(pCfg, "LogoFile", ""); 888 UPDATERC(); 889 888 890 #if 0 889 891 rc = CFGMR3InsertNode(pInst, "LUN#0", &pLunL0); -
trunk/src/VBox/VMM/PGMInternal.h
r7715 r7719 918 918 #if GC_ARCH_BITS == 32 919 919 /** Pointer alignment. */ 920 RTGCPTR GCPtrAlignment; 920 RTGCPTR GCPtrAlignment; 921 921 #endif 922 922 /** Start of the range. Page aligned. */ … … 3268 3268 3269 3269 /** 3270 * Gets the page directory for the specified address and returns the index into the page directory 3270 * Gets the page directory pointer table entry for the specified address 3271 * and returns the index into the page directory 3271 3272 * 3272 3273 * @returns Pointer to the page directory in question. … … 3276 3277 * @param piPD Receives the index into the returned page directory 3277 3278 */ 3278 DECLINLINE(PX86PDPAE) pgmGstGetPaePDPt (PPGM pPGM, RTGCUINTPTR GCPtr, unsigned *piPD)3279 DECLINLINE(PX86PDPAE) pgmGstGetPaePDPtr(PPGM pPGM, RTGCUINTPTR GCPtr, unsigned *piPD) 3279 3280 { 3280 3281 const unsigned iPdPt = GCPtr >> X86_PDPT_SHIFT; -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r7718 r7719 94 94 # else /* PAE */ 95 95 unsigned iPDSrc; 96 PGSTPD pPDSrc = pgmGstGetPaePDPt (&pVM->pgm.s, (RTGCUINTPTR)pvFault, &iPDSrc);96 PGSTPD pPDSrc = pgmGstGetPaePDPtr(&pVM->pgm.s, (RTGCUINTPTR)pvFault, &iPDSrc); 97 97 # endif 98 98 # else … … 523 523 524 524 /* Check to see if we need to emulate the instruction as X86_CR0_WP has been cleared. */ 525 if ( CPUMGetGuestCPL(pVM, pRegFrame) == 0 525 if ( CPUMGetGuestCPL(pVM, pRegFrame) == 0 526 526 && ((CPUMGetGuestCR0(pVM) & (X86_CR0_WP|X86_CR0_PG)) == X86_CR0_PG) 527 527 && (uErr & X86_TRAP_PF_RW)) … … 822 822 # else /* PAE */ 823 823 unsigned iPDSrc; 824 PX86PDPAE pPDSrc = pgmGstGetPaePDPt (&pVM->pgm.s, GCPtrPage, &iPDSrc);824 PX86PDPAE pPDSrc = pgmGstGetPaePDPtr(&pVM->pgm.s, GCPtrPage, &iPDSrc); 825 825 GSTPDE PdeSrc = pPDSrc->a[iPDSrc]; 826 826 # endif … … 2305 2305 # else /* PAE */ 2306 2306 unsigned iPDSrc; 2307 PGSTPD pPDSrc = pgmGstGetPaePDPt (&pVM->pgm.s, GCPtrPage, &iPDSrc);2307 PGSTPD pPDSrc = pgmGstGetPaePDPtr(&pVM->pgm.s, GCPtrPage, &iPDSrc); 2308 2308 # endif 2309 2309 const GSTPDE PdeSrc = pPDSrc->a[iPDSrc]; … … 2395 2395 # else /* PAE */ 2396 2396 unsigned iPDSrc; 2397 PGSTPD pPDSrc = pgmGstGetPaePDPt (&pVM->pgm.s, GCPtrPage, &iPDSrc);2397 PGSTPD pPDSrc = pgmGstGetPaePDPtr(&pVM->pgm.s, GCPtrPage, &iPDSrc); 2398 2398 # endif 2399 2399 # else … … 2609 2609 # endif 2610 2610 PX86PDEPAE pPDEDst = &pPDPAE->a[0]; 2611 PGSTPD pPDSrc = pgmGstGetPaePDPt (&pVM->pgm.s, iPDPTE << X86_PDPT_SHIFT, &iPDSrc);2611 PGSTPD pPDSrc = pgmGstGetPaePDPtr(&pVM->pgm.s, iPDPTE << X86_PDPT_SHIFT, &iPDSrc); 2612 2612 2613 2613 if (pPDSrc == NULL)
Note:
See TracChangeset
for help on using the changeset viewer.