VirtualBox

Changeset 18611 in vbox for trunk/src/recompiler_new


Ignore:
Timestamp:
Apr 1, 2009 5:31:14 PM (16 years ago)
Author:
vboxsync
Message:

REM: allocate the right map.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler_new/exec.c

    r18601 r18611  
    474474        if (!alloc)
    475475            return NULL;
    476         p = qemu_vmalloc(sizeof(void **) * L0_SIZE);
    477         memset(p, 0, sizeof(void **) * L0_SIZE);
     476        p = qemu_vmalloc(sizeof(void **) * L1_SIZE);
     477        memset(p, 0, sizeof(void **) * L1_SIZE);
    478478        l0_phys_map[index >> (L1_BITS + L2_BITS)] = p;
    479479    }
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