VirtualBox

Changeset 14645 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Nov 26, 2008 2:09:41 PM (16 years ago)
Author:
vboxsync
Message:

SUP, VMM: Moved the max alloc/map page count to VBox/param.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/param.h

    r11177 r14645  
    3838 */
    3939
     40/** The maximum number of pages that can be allocated and mapped
     41 * by various MM, PGM and SUP APIs. */
     42#define VBOX_MAX_ALLOC_PAGE_COUNT   (128 * _1M / PAGE_SIZE)
     43
    4044
    4145/** @defgroup   grp_vbox_param_mm  Memory Monitor Parameters
     
    4650/** Initial address of Hypervisor Memory Area.
    4751 * MUST BE PAGE TABLE ALIGNED! */
    48 #define MM_HYPER_AREA_ADDRESS   0xa0000000
     52#define MM_HYPER_AREA_ADDRESS       UINT32_C(0xa0000000)
    4953
    5054/** The max size of the hypervisor memory area. */
    51 #define MM_HYPER_AREA_MAX_SIZE (20 * _1M)
     55#define MM_HYPER_AREA_MAX_SIZE      (20 * _1M)
    5256
    5357/** Maximum number of bytes we can dynamically map into the hypervisor region.
    5458 * This must be a power of 2 number of pages!
    5559 */
    56 #define MM_HYPER_DYNAMIC_SIZE   (8 * PAGE_SIZE)
     60#define MM_HYPER_DYNAMIC_SIZE       (8 * PAGE_SIZE)
    5761
    5862/** @} */
     
    6569
    6670/** VMM stack size. */
    67 #define VMM_STACK_SIZE    8192
     71#define VMM_STACK_SIZE              8192
    6872
    6973/** @} */
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