/freebsd/usr.sbin/bhyve/amd64/ |
H A D | pci_gvt-d.c | 123 sysctl_len = sizeof(gsm->hpa); in gvt_d_setup_gsm() 124 error = sysctlbyname("hw.intel_graphics_stolen_base", &gsm->hpa, in gvt_d_setup_gsm() 141 gsm->gpa = gvt_d_alloc_mmio_memory(gsm->hpa, gsm->len, in gvt_d_setup_gsm() 145 "%s: Unable to add Graphics Stolen Memory to E820 table (hpa 0x%lx len 0x%lx)", in gvt_d_setup_gsm() 146 __func__, gsm->hpa, gsm->len); in gvt_d_setup_gsm() 150 if (gsm->gpa != gsm->hpa) { in gvt_d_setup_gsm() 196 vbt->hpa = vbt_hpa; in gvt_d_setup_vbt() 199 vbt->hva = mmap(NULL, vbt->len, PROT_READ, MAP_SHARED, memfd, vbt->hpa); in gvt_d_setup_vbt() 205 vbt->gpa = gvt_d_alloc_mmio_memory(vbt->hpa, vbt->len, in gvt_d_setup_vbt() 209 "%s: Unable to add VBT to E820 table (hpa 0x%lx len 0x%lx)", in gvt_d_setup_vbt() [all …]
|
/freebsd/sys/amd64/vmm/intel/ |
H A D | vtd.c | 517 vtd_update_mapping(void *arg, vm_paddr_t gpa, vm_paddr_t hpa, uint64_t len, in vtd_update_mapping() argument 536 if (hpa & PAGE_MASK) in vtd_update_mapping() 537 panic("vtd_create_mapping: unaligned hpa 0x%0lx", hpa); in vtd_update_mapping() 547 * - alignment of the region starting at 'gpa' and 'hpa' in vtd_update_mapping() 555 (hpa & (spsize - 1)) == 0 && in vtd_update_mapping() 591 * Update the 'gpa' -> 'hpa' mapping in vtd_update_mapping() 596 ptp[ptpindex] = hpa | VTD_PTE_RD | VTD_PTE_WR; in vtd_update_mapping() 606 vtd_create_mapping(void *arg, vm_paddr_t gpa, vm_paddr_t hpa, uint64_t len, in vtd_create_mapping() argument 610 *res_len = vtd_update_mapping(arg, gpa, hpa, len, CREATE_MAPPING); in vtd_create_mapping()
|
/freebsd/sys/amd64/vmm/io/ |
H A D | iommu.c | 98 IOMMU_CREATE_MAPPING(void *domain, vm_paddr_t gpa, vm_paddr_t hpa, in IOMMU_CREATE_MAPPING() argument 103 return ((*ops->create_mapping)(domain, gpa, hpa, len, res_len)); in IOMMU_CREATE_MAPPING() 303 iommu_create_mapping(void *dom, vm_paddr_t gpa, vm_paddr_t hpa, size_t len) in iommu_create_mapping() argument 308 for (remaining = len; remaining > 0; gpa += mapped, hpa += mapped, in iommu_create_mapping() 310 error = IOMMU_CREATE_MAPPING(dom, gpa, hpa, remaining, in iommu_create_mapping()
|
H A D | ppt.c | 482 ppt_valid_bar_mapping(struct pptdev *ppt, vm_paddr_t hpa, size_t len) in ppt_valid_bar_mapping() argument 492 if (hpa >= base && hpa + len <= base + size) in ppt_valid_bar_mapping() 500 vm_paddr_t gpa, size_t len, vm_paddr_t hpa) in ppt_map_mmio() argument 507 hpa % PAGE_SIZE != 0 || gpa + len < gpa || hpa + len < hpa) in ppt_map_mmio() 514 if (!ppt_valid_bar_mapping(ppt, hpa, len)) in ppt_map_mmio() 520 error = vm_map_mmio(vm, gpa, len, hpa); in ppt_map_mmio()
|
H A D | iommu.h | 39 vm_paddr_t hpa, uint64_t len, uint64_t *res_len); 68 int iommu_create_mapping(void *dom, vm_paddr_t gpa, vm_paddr_t hpa,
|
H A D | ppt.h | 34 vm_paddr_t gpa, size_t len, vm_paddr_t hpa);
|
/freebsd/sys/amd64/vmm/amd/ |
H A D | amdvi_hw.c | 1074 vm_paddr_t hpa, uint64_t pg_size, bool create) in amdvi_set_pt() argument 1084 if (hpa & (pg_size - 1)) { in amdvi_set_pt() 1085 printf("HPA is not size aligned.\n"); in amdvi_set_pt() 1089 printf("HPA is not size aligned.\n"); in amdvi_set_pt() 1118 pt[index] = hpa | AMDVI_PT_RW | AMDVI_PT_PRESENT; in amdvi_set_pt() 1132 vm_paddr_t hpa, uint64_t size, bool create) in amdvi_update_mapping() argument 1145 len = amdvi_set_pt(ptp, level, gpa + mapped, hpa + mapped, in amdvi_update_mapping() 1148 printf("Error: Couldn't map HPA:0x%lx GPA:0x%lx\n", in amdvi_update_mapping() 1149 hpa, gpa); in amdvi_update_mapping() 1159 amdvi_create_mapping(void *arg, vm_paddr_t gpa, vm_paddr_t hpa, in amdvi_create_mapping() argument [all …]
|
H A D | amdv.c | 81 amd_iommu_create_mapping(void *domain, vm_paddr_t gpa, vm_paddr_t hpa, in amd_iommu_create_mapping() argument
|
/freebsd/sys/amd64/vmm/ |
H A D | vmm_mem_machdep.c | 50 vm_paddr_t hpa) in vmm_mmio_alloc() argument 57 error = sglist_append_phys(sg, hpa, len); in vmm_mmio_alloc()
|
H A D | vmm_mem.h | 36 vm_paddr_t hpa);
|
H A D | vmm.c | 730 vm_map_mmio(struct vm *vm, vm_paddr_t gpa, size_t len, vm_paddr_t hpa) in vm_map_mmio() argument 734 if ((obj = vmm_mmio_alloc(vm->vmspace, gpa, len, hpa)) == NULL) in vm_map_mmio() 751 vm_paddr_t gpa, hpa; in vm_iommu_map() local 770 hpa = pmap_extract(vmspace_pmap(vm->vmspace), gpa); in vm_iommu_map() 784 KASSERT(vm_page_wired(PHYS_TO_VM_PAGE(hpa)), in vm_iommu_map() 785 ("vm_iommu_map: vm %p gpa %jx hpa %jx not wired", in vm_iommu_map() 786 vm, (uintmax_t)gpa, (uintmax_t)hpa)); in vm_iommu_map() 788 iommu_create_mapping(vm->iommu, gpa, hpa, PAGE_SIZE); in vm_iommu_map() 856 /* Set up the IOMMU to do the 'gpa' to 'hpa' translation */ in vm_assign_pptdev()
|
/freebsd/sbin/camcontrol/ |
H A D | camcontrol.8 | 290 .Ic hpa 1566 .It Ic hpa 1570 will print out the HPA support and associated settings of the device. 1572 .Ic hpa 1577 Freeze the HPA configuration of the specified device. 1579 After command completion any other commands that update the HPA configuration 1584 Lock the HPA configuration of the device until a successful call to unlock or 1588 Make the HPA max sectors persist across power-on reset or a hardware reset. 1594 Set the HPA configuration password required for unlock calls. 1617 Unlock the HPA configuration of the specified device using the given password. [all …]
|
H A D | camcontrol.c | 227 {"hpa", CAM_CMD_HPA, CAM_ARG_NONE, "Pflp:qs:U:y"}, 1486 printf("Host Protected Area (HPA) "); in atahpa_print() 1492 printf("HPA - Security "); in atahpa_print() 2855 printf("\nYou are about to configure HPA to limit the user accessible\n" in atahpa_set_confirm() 2864 printf("\nAre you SURE you want to configure HPA? (yes/no) "); in atahpa_set_confirm() 2903 /* default action is to print hpa information */ in atahpa() 2958 warnx("too many hpa actions specified"); in atahpa() 2998 warnx("HPA is not supported by this device"); in atahpa() 3005 warnx("HPA Security is not supported by this device"); in atahpa() 3051 printf("HPA password has been set\n"); in atahpa() [all …]
|
/freebsd/sys/teken/ |
H A D | sequences | 84 HPA Horizontal Position Absolute ^[ [ G n 85 HPA Horizontal Position Absolute ^[ [ ` n
|
/freebsd/contrib/netbsd-tests/lib/libcurses/ |
H A D | atf.terminfo | 12 hpa=hpa%i%p1%dX, ht=^I, hts=hts, ich=ich%p1%dX, il=il%p1%dX,
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_passthru.h | 20 vm_paddr_t hpa; /* host physical address */ member
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | hsi_struct_def.h | 80 * physical address (HPA) or a guest physical address (GPA) and must 1886 * physical address (HPA) or a guest physical address (GPA) and must 9834 * Memory mapping between GPA and HPA has been configured for 14171 * physical address (HPA) or a guest physical address (GPA) and must 14272 * physical address (HPA) or a guest physical address (GPA) and must 14351 * physical address (HPA) or a guest physical address (GPA) and must 14426 * physical address (HPA) or a guest physical address (GPA) and must 14502 * physical address (HPA) or a guest physical address (GPA) and must 14793 * physical address (HPA) or a guest physical address (GPA) and must 15735 * physical address (HPA) or a guest physical address (GPA) and must [all …]
|
/freebsd/sys/dev/vmm/ |
H A D | vmm_dev.c | 187 void *hpa, *cookie; in vmmdev_rw() local 215 hpa = vm_gpa_hold_global(sc->vm, gpa, c, prot, &cookie); in vmmdev_rw() 216 if (hpa == NULL) { in vmmdev_rw() 223 error = uiomove(hpa, c, uio); in vmmdev_rw()
|
/freebsd/contrib/ncurses/ncurses/tty/ |
H A D | lib_mvcur.c | 52 ** 4.4BSD curses can't use cuu/cud/cuf/cub/hpa/vpa/tab/cbt for local 67 ** in decreasing order of suspiciousness): it, tab, cbt, hpa, vpa, cuu, cud, 412 * (3) The average case of cub/cuf/hpa/ech/rep has 2 digits of parameters in NCURSES_SP_NAME() 573 /* move via local motions (cuu/cuu1/cud/cud1/cub1/cub/cuf1/cuf/vpa/hpa) */ in relative_move() 1418 (void) printf("hpa cost: %d\n", CURRENT_SCREEN->_hpa_cost); in main()
|
/freebsd/contrib/ncurses/ |
H A D | TO-DO | 208 i) ncurses doesn't need move_insert; it never uses cup/hpa/vpa while
|
/freebsd/contrib/ncurses/misc/ |
H A D | terminfo.src | 353 hpa=\E[%p1%{1}%+%dG, vpa=\E[%p1%{1}%+%dd, 355 hpa=\E[%i%p1%dG, vpa=\E[%i%p1%dd, 497 dispc=\E=%p1%dg, ech=\E[%p1%dX, hpa=\E[%i%p1%dG, hts=\EH, 571 # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>, 610 hpa=\E[%i%p1%dG, ht=\E[I, ich=\E[%p1%d@, il=\E[%p1%dL, 930 home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ind=\n, 978 flash=\E[?5h$<200/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 1155 hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ind=\n, 1280 # Added nel, hpa, sgr and removed rmacs, smacs based on source -TD 1286 el1=\E[1K, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, ich1=\E[@, [all …]
|
/freebsd/sys/amd64/include/ |
H A D | vmm_dev.h | 134 vm_paddr_t hpa; member
|
/freebsd/lib/libvmmapi/ |
H A D | vmmapi.h | 208 vm_paddr_t gpa, size_t len, vm_paddr_t hpa);
|
/freebsd/contrib/ncurses/include/ |
H A D | Caps.hpux11 | 144 # Yes, BSD tset(1) uses hpa. We elide hpa/vpa anyway because the motion 284 col_addr_glitch xhpa bool YA - - ----- only positive motion for hpa/mhpa caps 372 column_address hpa str ch - - -B-GE* horizontal position #1, absolute (P)
|
H A D | Caps | 144 # Yes, BSD tset(1) uses hpa. We elide hpa/vpa anyway because the motion 283 col_addr_glitch xhpa bool YA - - ----- only positive motion for hpa/mhpa caps 370 column_address hpa str ch - - -B-GE* horizontal position #1, absolute (P)
|