win-pvdrivers

diff xenpci/xenpci.h @ 370:d76831a77d19

merge
author Andy Grover <andy.grover@oracle.com>
date Wed Jul 09 00:26:05 2008 -0700 (2008-07-09)
parents fa0a44a14fe3 097ab7d19ea2
children 25814a68e426
line diff
     1.1 --- a/xenpci/xenpci.h	Wed Jul 09 00:20:30 2008 -0700
     1.2 +++ b/xenpci/xenpci.h	Wed Jul 09 00:26:05 2008 -0700
     1.3 @@ -57,7 +57,7 @@ DEFINE_GUID( GUID_XENPCI_DEVCLASS, 0xC82
     1.4  #define XENPCI_POOL_TAG (ULONG) 'XenP'
     1.5  
     1.6  #define NR_RESERVED_ENTRIES 8
     1.7 -#define NR_GRANT_FRAMES 4
     1.8 +#define NR_GRANT_FRAMES 32
     1.9  #define NR_GRANT_ENTRIES (NR_GRANT_FRAMES * PAGE_SIZE / sizeof(grant_entry_t))
    1.10  
    1.11  #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
    1.12 @@ -184,7 +184,7 @@ typedef struct {
    1.13  
    1.14    grant_entry_t *gnttab_table;
    1.15    PHYSICAL_ADDRESS gnttab_table_physical;
    1.16 -  grant_ref_t gnttab_list[NR_GRANT_ENTRIES];
    1.17 +  grant_ref_t *gnttab_list;
    1.18  
    1.19    ev_action_t ev_actions[NR_EVENTS];
    1.20  //  unsigned long bound_ports[NR_EVENTS/(8*sizeof(unsigned long))];