VirtualBox

Changeset 4761 in vbox


Ignore:
Timestamp:
Sep 13, 2007 8:55:22 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
24444
Message:

And another one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/MMPagePool.cpp

    r4760 r4761  
    6161     * Allocate the pool structures.
    6262     */
    63     int rc = SUPPageAlloc(RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePool), PAGE_SIZE), (void **)&pVM->mm.s.pPagePool);
     63    int rc = SUPPageAlloc(RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePool), PAGE_SIZE)/PAGE_SIZE, (void **)&pVM->mm.s.pPagePool);
    6464    if (VBOX_FAILURE(rc))
    6565        return rc;
     
    7474    STAM_REG(pVM, &pVM->mm.s.pPagePool->cErrors,        STAMTYPE_COUNTER, "/MM/Page/Def/cErrors",       STAMUNIT_ERRORS,"Number of errors for the default pool.");
    7575
    76     rc = SUPPageAlloc(RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePoolLow), PAGE_SIZE), (void **)&pVM->mm.s.pPagePoolLow);
     76    rc = SUPPageAlloc(RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePoolLow), PAGE_SIZE)/PAGE_SIZE, (void **)&pVM->mm.s.pPagePoolLow);
    7777    if (VBOX_FAILURE(rc))
    7878        return rc;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette