Home
last modified time | relevance | path

Searched full:hpa (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_gvt-d.c123 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 Dvtd.c517 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 Diommu.c98 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 Dppt.c482 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 Diommu.h39 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 Dppt.h34 vm_paddr_t gpa, size_t len, vm_paddr_t hpa);
/freebsd/sys/amd64/vmm/amd/
H A Damdvi_hw.c1074 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 Damdv.c81 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 Dvmm_mem_machdep.c50 vm_paddr_t hpa) in vmm_mmio_alloc() argument
57 error = sglist_append_phys(sg, hpa, len); in vmm_mmio_alloc()
H A Dvmm_mem.h36 vm_paddr_t hpa);
H A Dvmm.c730 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 Dcamcontrol.8290 .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 Dcamcontrol.c227 {"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 Dsequences84 HPA Horizontal Position Absolute ^[ [ G n
85 HPA Horizontal Position Absolute ^[ [ ` n
/freebsd/contrib/netbsd-tests/lib/libcurses/
H A Datf.terminfo12 hpa=hpa%i%p1%dX, ht=^I, hts=hts, ich=ich%p1%dX, il=il%p1%dX,
/freebsd/usr.sbin/bhyve/
H A Dpci_passthru.h20 vm_paddr_t hpa; /* host physical address */ member
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dhsi_struct_def.h80 * 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 Dvmm_dev.c187 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 Dlib_mvcur.c52 ** 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 DTO-DO208 i) ncurses doesn't need move_insert; it never uses cup/hpa/vpa while
/freebsd/contrib/ncurses/misc/
H A Dterminfo.src353 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 Dvmm_dev.h134 vm_paddr_t hpa; member
/freebsd/lib/libvmmapi/
H A Dvmmapi.h208 vm_paddr_t gpa, size_t len, vm_paddr_t hpa);
/freebsd/contrib/ncurses/include/
H A DCaps.hpux11144 # 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 DCaps144 # 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)

12