win-pvdrivers

changeset 594:309e3de49a48

add more memory debug messages
author James Harper <james.harper@bendigoit.com.au>
date Thu Jun 25 21:03:17 2009 +1000 (2009-06-25)
parents 682273b8ce5b
children 63a4d934929f
files xenpci/xenpci_fdo.c
line diff
     1.1 --- a/xenpci/xenpci_fdo.c	Fri Jun 19 22:18:07 2009 +1000
     1.2 +++ b/xenpci/xenpci_fdo.c	Thu Jun 25 21:03:17 2009 +1000
     1.3 @@ -656,6 +656,7 @@ XenPci_EvtDeviceD0EntryPostInterruptsEna
     1.4    char *value;
     1.5    domid_t domid = DOMID_SELF;
     1.6    ULONG ret;
     1.7 +  xen_ulong_t *max_ram_page;
     1.8  
     1.9    UNREFERENCED_PARAMETER(previous_state);
    1.10  
    1.11 @@ -673,6 +674,8 @@ XenPci_EvtDeviceD0EntryPostInterruptsEna
    1.12    KdPrint((__DRIVER_NAME "     XENMEM_current_reservation = %d\n", ret));
    1.13    ret = HYPERVISOR_memory_op(xpdd, XENMEM_maximum_reservation, &domid);
    1.14    KdPrint((__DRIVER_NAME "     XENMEM_maximum_reservation = %d\n", ret));
    1.15 +  ret = HYPERVISOR_memory_op(xpdd, XENMEM_maximum_ram_page, &max_ram_page);
    1.16 +  KdPrint((__DRIVER_NAME "     XENMEM_maximum_ram_page = %d\n", ret));
    1.17  
    1.18    if (!xpdd->initial_memory)
    1.19    {