Searched defs:cbRam (Results 1 - 8 of 8) sorted by relevance
/vbox/src/VBox/VMM/VMMR3/ |
H A D | MM.cpp | 315 uint64_t cbRam; local 316 rc = CFGMR3QueryU64(CFGMR3GetRoot(pVM), "RamSize", &cbRam); 318 cbRam = 0; 321 AssertLogRelMsg(!(cbRam & ~X86_PTE_PAE_PG_MASK), ("%RGp X86_PTE_PAE_PG_MASK=%RX64\n", cbRam, X86_PTE_PAE_PG_MASK)); 322 AssertLogRelMsgReturn(cbRam <= GMM_GCPHYS_LAST, ("cbRam=%RGp GMM_GCPHYS_LAST=%RX64\n", cbRam, GMM_GCPHYS_LAST), VERR_OUT_OF_RANGE); 323 cbRam &= X86_PTE_PAE_PG_MASK; 324 pVM->mm.s.cbRamBase = cbRam; [all...] |
H A D | PGMPool.cpp | 153 uint64_t cbRam; local 154 rc = CFGMR3QueryU64Def(CFGMR3GetRoot(pVM), "RamSize", &cbRam, 0); AssertRCReturn(rc, rc); 155 uint64_t u64MaxPages = (cbRam >> 9) 156 + (cbRam >> 18) 157 + (cbRam >> 27)
|
H A D | MMHyper.cpp | 64 uint64_t cbRam; local 65 rc = CFGMR3QueryU64(CFGMR3GetRoot(pVM), "RamSize", &cbRam); 66 AssertStmt(RT_SUCCESS(rc), cbRam = _1G); local 74 && cbRam < 16*_1G64) 92 if (cbRam > 16*_1G64)
|
H A D | PGM.cpp | 1321 uint64_t cbRam; local 1322 rc = CFGMR3QueryU64(CFGMR3GetRoot(pVM), "RamSize", &cbRam); 1324 cbRam = 0; 1327 if (cbRam < PAGE_SIZE) 1328 cbRam = 0; 1329 cbRam = RT_ALIGN_64(cbRam, PAGE_SIZE); 1376 rc = pgmR3InitSavedState(pVM, cbRam); 3890 uint64_t cbRam = 0; 3891 CFGMR3QueryU64Def(CFGMR3GetRootU(pUVM), "RamSize", &cbRam, [all...] |
H A D | PGMSavedState.cpp | 1213 uint64_t cbRam = 0; local 1214 rc = CFGMR3QueryU64Def(CFGMR3GetRoot(pVM), "RamSize", &cbRam, 0); 1218 return SSMR3PutU64(pSSM, cbRam); 3337 * @param cbRam The RAM size. 3339 int pgmR3InitSavedState(PVM pVM, uint64_t cbRam) argument 3341 return SSMR3RegisterInternal(pVM, "pgm", 1, PGM_SAVED_STATE_VERSION, (size_t)cbRam + sizeof(PGM),
|
/vbox/src/VBox/Devices/PC/ |
H A D | DevPcBios.cpp | 152 uint64_t cbRam; member in struct:DEVPCBIOS 557 u32 = pThis->cbRam > 640 ? 640 : (uint32_t)pThis->cbRam / _1K; /* <-- this test is wrong, but it doesn't matter since we never assign less than 1MB */ 562 u32 = pThis->cbRam >= 65 * _1M ? 0xffff : ((uint32_t)pThis->cbRam - _1M) / _1K; 574 if (pThis->cbRam > 16 * _1M) 575 u32 = (uint32_t)( (RT_MIN(RT_MIN(pThis->cbRam, offRamHole), UINT32_C(0xffe00000)) - 16U * _1M) / _64K ); 585 if (pThis->cbRam <= offRamHole) 589 c64KBAbove4GB = (pThis->cbRam - offRamHole) / _64K; 1084 rc = CFGMR3QueryU64(pCfg, "RamSize", &pThis->cbRam); [all...] |
/vbox/src/VBox/Devices/EFI/ |
H A D | DevEFI.cpp | 190 uint64_t cbRam; member in struct:DEVEFI 1710 if (pThis->cbRam > 16 * _1M) 1712 u32Low = (uint32_t)RT_MIN(RT_MIN(pThis->cbRam, offRamHole), UINT32_C(0xffe00000)); 1718 if (u32Low < pThis->cbRam) 1720 uint64_t u64 = pThis->cbRam - u32Low; 2162 rc = CFGMR3QueryU64(pCfg, "RamSize", &pThis->cbRam); 2166 pThis->cbBelow4GB = RT_MIN(pThis->cbRam, _4G - pThis->cbRamHole); 2167 pThis->cbAbove4GB = pThis->cbRam - pThis->cbBelow4GB;
|
/vbox/src/VBox/Main/src-client/ |
H A D | ConsoleImpl2.cpp | 1014 uint64_t const cbRam = cRamMBs * (uint64_t)_1M; local 1076 InsertConfigInteger(pRoot, "RamSize", cbRam); 1235 && ( cbRam + cbRamHole > _4G 1243 if (cbRam + cbRamHole > _4G) 1747 InsertConfigInteger(pBiosCfg, "RamSize", cbRam); 1850 InsertConfigInteger(pCfg, "RamSize", cbRam); 2740 InsertConfigInteger(pCfg, "RamSize", cbRam); 3134 InsertConfigInteger(pCfg, "RamSize", cbRam);
|
Completed in 532 milliseconds