debuggers.hg

view xenolinux-2.4.21-sparse/include/asm-xeno/dom0.h @ 620:01725801761a

bitkeeper revision 1.322 (3f0d22cccb17_me9ZBYMkbZaFLovQg)

Get the new segment probing stuff to actually return useful
information...
author sos22@labyrinth.cl.cam.ac.uk
date Thu Jul 10 08:24:44 2003 +0000 (2003-07-10)
parents 3539152a9fab
children
line source
1 /* IOCTLs used when access /proc/xeno/dom0_cmd. */
2 #ifndef __DOM0_H__
3 #define __DOM0_H__
5 #define IOCTL_DOM0_CREATEDOMAIN _IOC(_IOC_READ, 'x', 0, sizeof(struct dom0_createdomain_args))
6 #define IOCTL_DOM0_MAPDOMMEM _IOC(_IOC_READ, 'x', 1, sizeof(struct dom0_mapdommem_args))
7 #define IOCTL_DOM0_UNMAPDOMMEM _IOC(_IOC_READ, 'x', 2, sizeof(struct dom0_unmapdommem_args))
8 #define IOCTL_DOM0_DOPGUPDATES _IOC(_IOC_READ, 'x', 3, sizeof(struct dom0_dopgupdates_args))
10 struct dom0_createdomain_args
11 {
12 unsigned int kb_mem;
13 const char *name;
14 };
16 struct dom0_mapdommem_args
17 {
18 unsigned int domain;
19 unsigned start_pfn;
20 unsigned tot_pages;
21 };
23 struct dom0_unmapdommem_args
24 {
25 unsigned long vaddr;
26 unsigned long start_pfn;
27 unsigned long tot_pages;
28 };
30 struct dom0_dopgupdates_args
31 {
32 unsigned long pgt_update_arr;
33 unsigned long num_pgt_updates;
34 };
36 #endif /* __DOM0_H__ */