| /hypervisor/arch/x86/ |
| A D | trampoline.c | 34 uint64_t *hva = (uint64_t *)(hpa2hva(trampoline_start16_paddr) + trampoline_relo_addr(sym)); in read_trampoline_sym() local 35 return *hva; in read_trampoline_sym() 40 uint64_t *hva = (uint64_t *)(hpa2hva(trampoline_start16_paddr) + trampoline_relo_addr(sym)); in write_trampoline_sym() local 41 *hva = val; in write_trampoline_sym() 42 clflush(hva); in write_trampoline_sym() 47 uint64_t *hva, stack_sym_addr; in write_trampoline_stack_sym() local 48 hva = (uint64_t *)(hpa2hva(trampoline_start16_paddr) + trampoline_relo_addr(secondary_cpu_stack)); in write_trampoline_stack_sym() 52 *hva = stack_sym_addr; in write_trampoline_stack_sym() 54 clflush(hva); in write_trampoline_stack_sym()
|
| /hypervisor/common/ |
| A D | sbuf.c | 92 int32_t sbuf_setup_common(struct acrn_vm *vm, uint16_t cpu_id, uint32_t sbuf_id, uint64_t *hva) in sbuf_setup_common() argument 101 ret = sbuf_share_setup(cpu_id, sbuf_id, hva); in sbuf_setup_common() 104 ret = init_asyncio(vm, hva); in sbuf_setup_common() 107 ret = init_vm_event(vm, hva); in sbuf_setup_common()
|
| A D | vm_event.c | 14 int32_t init_vm_event(struct acrn_vm *vm, uint64_t *hva) in init_vm_event() argument 16 struct shared_buf *sbuf = (struct shared_buf *)hva; in init_vm_event()
|
| A D | hypercall.c | 532 uint64_t *hva; in hcall_setup_sbuf() local 537 hva = (uint64_t *)gpa2hva(vm, asp.gpa); in hcall_setup_sbuf() 538 ret = sbuf_setup_common(target_vm, asp.cpu_id, asp.sbuf_id, hva); in hcall_setup_sbuf()
|
| /hypervisor/dm/ |
| A D | vgpio.c | 93 void *hva = hpa2hva(hpa); in vgpio_mmio_handler() local 105 value = mmio_read32((const void *)hva); in vgpio_mmio_handler() 120 (mmio_read32((const void *)hva) & (0xFFU << GPIO_MISGCFG_GPDMINTSEL_SHIFT)); in vgpio_mmio_handler() 122 mmio_write32(value, (void *)hva); in vgpio_mmio_handler()
|
| A D | io_req.c | 348 int init_asyncio(struct acrn_vm *vm, uint64_t *hva) in init_asyncio() argument 350 struct shared_buf *sbuf = (struct shared_buf *)hva; in init_asyncio()
|
| /hypervisor/debug/ |
| A D | sbuf.c | 18 int32_t sbuf_share_setup(uint16_t pcpu_id, uint32_t sbuf_id, uint64_t *hva) in sbuf_share_setup() argument 24 per_cpu(sbuf, pcpu_id)[sbuf_id] = (struct shared_buf *) hva; in sbuf_share_setup()
|
| A D | shell.c | 1013 uint64_t *hva; in shell_dump_host_mem() local 1022 hva = (uint64_t *)strtoul_hex(argv[1]); in shell_dump_host_mem() 1025 …snprintf(temp_str, MAX_STR_SIZE, "Dump physical memory addr: 0x%016lx, length %d:\r\n", hva, lengt… in shell_dump_host_mem() 1031 hva, *hva, *(hva + 1UL), *(hva + 2UL), *(hva + 3UL)); in shell_dump_host_mem() 1032 hva += 4UL; in shell_dump_host_mem()
|
| /hypervisor/include/common/ |
| A D | sbuf.h | 22 int32_t sbuf_share_setup(uint16_t cpu_id, uint32_t sbuf_id, uint64_t *hva); 25 …t sbuf_setup_common(__unused struct acrn_vm *vm, uint16_t cpu_id, uint32_t sbuf_id, uint64_t *hva);
|
| A D | vm_event.h | 13 int32_t init_vm_event(struct acrn_vm *vm, uint64_t *hva);
|
| /hypervisor/dm/vpci/ |
| A D | vmsix.c | 102 void *hva; in rw_vmsix_table() local 128 hva = hpa2hva(vdev->msix.mmio_hpa + (mmio->address - vdev->msix.mmio_gpa)); in rw_vmsix_table() 131 mmio->value = mmio_read(hva, mmio->size); in rw_vmsix_table() 133 mmio_write(hva, mmio->size, mmio->value); in rw_vmsix_table()
|
| A D | pci_pt.c | 45 void *hva = hpa2hva(vdev->msix.mmio_hpa + vdev->msix.table_offset); in get_msix_table_entry() local 47 return ((struct msix_table_entry *)hva + index); in get_msix_table_entry()
|
| /hypervisor/release/ |
| A D | sbuf.c | 11 __unused uint32_t sbuf_id, __unused uint64_t *hva) in sbuf_share_setup() argument
|
| /hypervisor/boot/guest/ |
| A D | bzimage_loader.c | 265 struct zero_page *zeropage, *hva; in create_zero_page() local 272 hva = (struct zero_page *)gpa2hva(vm, gpa); in create_zero_page() 273 zeropage = hva; in create_zero_page() 301 hva = (struct zero_page *)sw_kernel->kernel_src_addr; in create_zero_page() 303 &(hva->hdr), sizeof(hva->hdr)); in create_zero_page()
|
| /hypervisor/include/dm/ |
| A D | io_req.h | 292 int init_asyncio(struct acrn_vm *vm, uint64_t *hva);
|
| /hypervisor/hw/ |
| A D | pci.c | 181 void *hva = hpa2hva(addr); in pci_mmcfg_read_cfg() local 185 return (uint32_t)mmio_read(hva, bytes); in pci_mmcfg_read_cfg() 197 void *hva = hpa2hva(addr); in pci_mmcfg_write_cfg() local 201 mmio_write(hva, bytes, val); in pci_mmcfg_write_cfg()
|