* NR_GRANT_ENTRIES definition ??
@ 2007-11-14 2:34 kaushikb
2007-11-14 17:33 ` Kaushik Bhandankar
0 siblings, 1 reply; 2+ messages in thread
From: kaushikb @ 2007-11-14 2:34 UTC (permalink / raw)
To: xen-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: NR_GRANT_ENTRIES definition ??
2007-11-14 2:34 NR_GRANT_ENTRIES definition ?? kaushikb
@ 2007-11-14 17:33 ` Kaushik Bhandankar
0 siblings, 0 replies; 2+ messages in thread
From: Kaushik Bhandankar @ 2007-11-14 17:33 UTC (permalink / raw)
To: xen-devel
kaushikb wrote:
> 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
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
got it... use
nr_grant_entries(rd->grant_table)) instead of NR_GRANT_ENTRIES .. should
have known this earlier.. :)
-Kaushik
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-14 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14 2:34 NR_GRANT_ENTRIES definition ?? kaushikb
2007-11-14 17:33 ` Kaushik Bhandankar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.