debuggers.hg

view xen/include/hypervisor-ifs/segment.h @ 628:3e071d151e22

bitkeeper revision 1.329 (3f0d30d74QKz0HxzOWPKez8__UdvjQ)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/rac61/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/sos22/xeno.bk
author sos22@labyrinth.cl.cam.ac.uk
date Thu Jul 10 09:24:39 2003 +0000 (2003-07-10)
parents 01725801761a 5ed7375f954a
children
line source
1 #ifndef __HYP_IFS_SEGMENT_H__
2 #define __HYP_IFS_SEGMENT_H__
4 #define XEN_MAX_SEGMENTS 100 /* total number of segments across all doms */
6 #define XEN_SEGMENT_UNUSED 0 /* bzero default */
7 #define XEN_SEGMENT_RO XEN_DISK_READ_ONLY
8 #define XEN_SEGMENT_RW XEN_DISK_READ_WRITE
10 typedef struct xen_segment_info
11 {
12 int count;
13 struct {
14 unsigned domain;
15 unsigned seg_nr;
16 char key[XEN_SEGMENT_KEYSIZE];
17 unsigned short mode; /* UNUSED, RO, or RW. */
18 } segments[XEN_MAX_SEGMENTS];
19 } xen_segment_info_t;
21 #endif /* __HYP_IFS_SEGMENT_H__ */