NR_GRANT_ENTRIES definition ??
I need to use NR_GRANT_ENTRIES in xen/common/grant_table.c but couldnt find its definition anywhere... grepping could see that INITIAL_NR_GRANT_ENTRIES (but not NR_GRANT_ENTRIES) is defined in xen/include/xen/grant_table.h whereas NR_GRANT_ENTRIES (and NR_GRANT_FRAMES) is defined instead in extras/mini-os/gnttab.c
Do I need to copy the NR_GRANT_ENTRIES and NR_GRANT_FRAMES definitions from extras/mini-os/gnttab.c to xen/include/xen/grant_table.h ?
-Kaushik
Quoted 11 lines · kaushikb
I need to use
NR_GRANT_ENTRIESinxen/common/grant_table.cbut couldnt find its definition anywhere... grepping could see thatINITIAL_NR_GRANT_ENTRIES(but notNR_GRANT_ENTRIES) is defined inxen/include/xen/grant_table.hwhereasNR_GRANT_ENTRIES(andNR_GRANT_FRAMES) is defined instead inextras/mini-os/gnttab.cDo I need to copy the
NR_GRANT_ENTRIESandNR_GRANT_FRAMESdefinitions fromextras/mini-os/gnttab.ctoxen/include/xen/grant_table.h?-Kaushik
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
got it... usenr_grant_entries(rd->grant_table)) instead of NR_GRANT_ENTRIES .. should have known this earlier.. :)
-Kaushik