Skip to contentSkip to conversation

How to get reference to shared_info?

DISCUSSION David Carr 2 participants 2 messages Jun 1, 2006

lore
Share & tools
lore

David Carr

author
#0 lore raw

I'm working on porting some (experimental) memory management code from Xen 2 to Xen 3. In Xen 3 inside mm.c I need a pointer to shared_info. What is the proper way to get this pointer in the above context?

Thanks,
David Carr

#1 lore raw
Quoted 3 lines · David Carr

I'm working on porting some (experimental) memory management code from Xen 2 to Xen 3. In Xen 3 inside mm.c I need a pointer to shared_info. What is the proper way to get this pointer in the above context?

(struct domain *)->shared_info

-- Keir