direct-io.hg

view tools/debugger/libxendebug/xendebug.h @ 7477:5a7baecb1c70

Fix an issue for passing arguement from control panel to deivce model
for some arguemnt like 'localtime', 'isa', device model need an argument
"-localtime", instead of "-localtime 1"
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Oct 23 16:51:47 2005 +0100 (2005-10-23)
parents b3a255e88810
children
line source
1 /*
2 * xendebug.h
3 *
4 * alex ho
5 * http://www.cl.cam.ac.uk/netos/pdb
6 *
7 */
9 #ifndef _XENDEBUG_H_DEFINED
10 #define _XENDEBUG_H_DEFINED
12 #include <xenctrl.h>
14 int xendebug_attach(int xc_handle,
15 uint32_t domid,
16 uint32_t vcpu);
18 int xendebug_detach(int xc_handle,
19 uint32_t domid,
20 uint32_t vcpu);
22 int xendebug_read_registers(int xc_handle,
23 uint32_t domid,
24 uint32_t vcpu,
25 cpu_user_regs_t **regs);
27 int xendebug_read_fpregisters (int xc_handle,
28 uint32_t domid,
29 uint32_t vcpu,
30 char **regs);
32 int xendebug_write_registers(int xc_handle,
33 uint32_t domid,
34 uint32_t vcpu,
35 cpu_user_regs_t *regs);
37 int xendebug_step(int xc_handle,
38 uint32_t domid,
39 uint32_t vcpu);
41 int xendebug_continue(int xc_handle,
42 uint32_t domid,
43 uint32_t vcpu);
45 int xendebug_read_memory(int xc_handle,
46 uint32_t domid,
47 uint32_t vcpu,
48 unsigned long address,
49 uint32_t length,
50 uint8_t *data);
53 int xendebug_write_memory(int xc_handle,
54 uint32_t domid,
55 uint32_t vcpu,
56 unsigned long address,
57 uint32_t length,
58 uint8_t *data);
61 int xendebug_insert_memory_breakpoint(int xc_handle,
62 uint32_t domid,
63 uint32_t vcpu,
64 unsigned long address,
65 uint32_t length);
67 int xendebug_remove_memory_breakpoint(int xc_handle,
68 uint32_t domid,
69 uint32_t vcpu,
70 unsigned long address,
71 uint32_t length);
73 int xendebug_query_domain_stop(int xc_handle,
74 int *dom_list,
75 int dom_list_size);
78 #endif /* _XENDEBUG_H_DEFINED */