Home
last modified time | relevance | path

Searched refs:gregs (Results 1 – 2 of 2) sorted by relevance

/xen-4.10.0-shim-comet/tools/debugger/gdbsx/gx/
A Dgx_local.c113 union xg_gdb_regs gregs; in prnt_vcpu_context() local
117 rc = xg_regs_read(XG_GPRS, vcpuid, &gregs, guest_bitness); in prnt_vcpu_context()
123 prnt_32regs(&gregs.gregs_32); in prnt_vcpu_context()
124 prnt_call_trace32(gregs.gregs_32.eip, gregs.gregs_32.esp); in prnt_vcpu_context()
126 prnt_64regs(&gregs.gregs_64); in prnt_vcpu_context()
127 prnt_call_trace64(gregs.gregs_64.rip, gregs.gregs_64.rsp); in prnt_vcpu_context()
A Dgx_main.c57 union xg_gdb_regs gregs; in gx_write_guest_regs() local
60 int regsz = (guest_bitness == 32) ? sizeof(gregs.gregs_32) : in gx_write_guest_regs()
61 sizeof(gregs.gregs_64); in gx_write_guest_regs()
67 gx_convert_ascii_to_int(rbuf, (char *)&gregs, regsz); in gx_write_guest_regs()
69 rc = xg_regs_write(XG_GPRS, current_vcpu, &gregs, guest_bitness); in gx_write_guest_regs()
85 union xg_gdb_regs gregs; in gx_read_guest_regs() local
88 rc = xg_regs_read(XG_GPRS, current_vcpu, &gregs, guest_bitness); in gx_read_guest_regs()
93 int sz = (guest_bitness == 32) ? sizeof(gregs.gregs_32) : in gx_read_guest_regs()
94 sizeof(gregs.gregs_64); in gx_read_guest_regs()
95 gx_convert_int_to_ascii((char *)&gregs, rbuf, sz); in gx_read_guest_regs()

Completed in 3 milliseconds