/xen/xen/arch/x86/mm/shadow/ |
A D | hvm.c | 112 void *p_data, in hvm_read() argument 126 rc = hvm_copy_from_guest_linear(p_data, addr, bytes, in hvm_read() 154 void *p_data, in hvm_emulate_read() argument 167 void *p_data, in hvm_emulate_insn_fetch() argument 179 return hvm_read(seg, offset, p_data, bytes, in hvm_emulate_insn_fetch() 183 memcpy(p_data, &sh_ctxt->insn_buf[insn_off], bytes); in hvm_emulate_insn_fetch() 190 void *p_data, in hvm_emulate_write() argument 223 case 2: write_u16_atomic(ptr, *(uint16_t *)p_data); break; in hvm_emulate_write() 224 case 4: write_u32_atomic(ptr, *(uint32_t *)p_data); break; in hvm_emulate_write() 225 case 8: write_u64_atomic(ptr, *(uint64_t *)p_data); break; in hvm_emulate_write() [all …]
|
/xen/xen/arch/x86/hvm/ |
A D | emulate.c | 174 void *p_data = (void *)data; in hvmemul_do_io() local 1254 void *p_data, in __hvmemul_read() argument 1281 void *p_data, in hvmemul_read() argument 1299 void *p_data, in hvmemul_insn_fetch() argument 1346 void *p_data, in hvmemul_write() argument 1447 void *p_data, in hvmemul_blk() argument 1488 void *p_data, in hvmemul_write_discard() argument 1520 void *p_data, in hvmemul_rep_stos_discard() argument 1985 void *p_data, in hvmemul_rep_stos() argument 2047 buf = p_data; in hvmemul_rep_stos() [all …]
|
A D | stdvga.c | 306 uint64_t addr, uint32_t size, uint64_t *p_data) in stdvga_mem_read() argument 344 *p_data = data; in stdvga_mem_read()
|
/xen/xen/arch/x86/x86_emulate/ |
A D | x86_emulate.h | 251 void *p_data, 265 void *p_data, 276 void *p_data, 322 void *p_data, 386 void *p_data, 745 void *p_data, 754 void *p_data, unsigned int bytes,
|
A D | x86_emulate.c | 2526 void *p_data, in x86emul_unhandleable_rw() argument 12137 void *p_data, unsigned int bytes, in x86_decode_insn() argument
|
/xen/tools/fuzz/x86_instruction_emulator/ |
A D | fuzz-emul.c | 169 void *p_data, in fuzz_read() argument 187 return data_read(ctxt, seg, "read", p_data, bytes); in fuzz_read() 202 void *p_data, in fuzz_insn_fetch() argument 221 assert(p_data == NULL); in fuzz_insn_fetch() 225 return data_read(ctxt, seg, "insn_fetch", p_data, bytes); in fuzz_insn_fetch() 321 void *p_data, in fuzz_rep_stos() argument 341 void *p_data, in fuzz_write() argument
|
/xen/xen/arch/x86/pv/ |
A D | ro-page-fault.c | 39 void *p_data, unsigned int bytes, in ptwr_emulated_read() argument 46 (rc = __copy_from_user(p_data, (void *)addr, bytes)) ) in ptwr_emulated_read() 207 void *p_data, unsigned int bytes, in ptwr_emulated_write() argument 219 memcpy(&val, p_data, bytes); in ptwr_emulated_write()
|
A D | emul-gate-op.c | 99 static int read_mem(enum x86_segment seg, unsigned long offset, void *p_data, in read_mem() argument 152 if ( (rc = __copy_from_user(p_data, (void *)addr, bytes)) ) in read_mem()
|
A D | emul-priv-op.c | 1187 void *p_data, in insn_fetch() argument 1207 if ( (rc = __copy_from_user(p_data, (void *)addr, bytes)) != 0 ) in insn_fetch()
|
/xen/xen/include/asm-x86/hvm/ |
A D | emulate.h | 97 void *p_data,
|
/xen/xen/include/asm-x86/ |
A D | mm.h | 547 void *p_data, 552 void *p_data,
|
/xen/tools/tests/x86_emulator/ |
A D | x86-emulate.h | 110 void *p_data,
|
A D | predicates.c | 540 void *p_data, in do_test() argument 601 void *p_data, in predicates_test() argument
|
A D | test_x86_emulator.c | 544 void *p_data, in read() argument 562 memset(p_data, 0, bytes); in read() 572 memcpy(p_data, &value, bytes); in read() 583 memcpy(p_data, &value, bytes); in read() 592 memcpy(p_data, (void *)offset, bytes); in read() 599 void *p_data, in fetch() argument 606 memcpy(p_data, (void *)offset, bytes); in fetch() 613 void *p_data, in write() argument 622 memcpy((void *)offset, p_data, bytes); in write() 658 void *p_data, in blk() argument [all …]
|
A D | evex-disp8.c | 668 static int read(enum x86_segment seg, unsigned long offset, void *p_data, in read() argument 673 memset(p_data, 0, bytes); in read() 677 static int write(enum x86_segment seg, unsigned long offset, void *p_data, in write() argument
|
/xen/xen/arch/x86/ |
A D | mm.c | 4983 void *p_data, in mmio_ro_emulated_write() argument 5004 void *p_data, in mmcfg_intercept_write() argument 5024 offset, bytes, p_data) >= 0 ) in mmcfg_intercept_write() 5027 *(uint32_t *)p_data); in mmcfg_intercept_write()
|