Home
last modified time | relevance | path

Searched refs:parms (Results 1 – 24 of 24) sorted by relevance

/xen/xen/common/libelf/
A Dlibelf-dominfo.c354 parms->virt_hypercall += parms->virt_base; in elf_xen_parse_guest_info()
400 (int)sizeof(parms->loader), parms->loader, in elf_xen_note_check()
410 (int)sizeof(parms->xen_ver), parms->xen_ver); in elf_xen_note_check()
450 parms->elf_paddr_offset = parms->virt_base; in elf_xen_addr_calc_check()
478 if ( (parms->virt_kstart > parms->virt_kend) || in elf_xen_addr_calc_check()
479 (parms->virt_entry < parms->virt_kstart) || in elf_xen_addr_calc_check()
480 (parms->virt_entry > parms->virt_kend) || in elf_xen_addr_calc_check()
481 (parms->virt_base > parms->virt_kstart) ) in elf_xen_addr_calc_check()
488 (parms->p2m_base >= parms->virt_kstart) && in elf_xen_addr_calc_check()
489 (parms->p2m_base < parms->virt_kend) ) in elf_xen_addr_calc_check()
[all …]
/xen/xen/arch/x86/pv/
A Ddom0_build.c319 struct elf_dom_parms parms; in dom0_construct_pv() local
364 parms.pae = XEN_PAE_EXTCR3; in dom0_construct_pv()
405 if ( parms.pae == XEN_PAE_EXTCR3 ) in dom0_construct_pv()
423 parms.p2m_base = UNSET_ADDR; in dom0_construct_pv()
433 v_start = parms.virt_base; in dom0_construct_pv()
435 vkern_end = parms.virt_kend; in dom0_construct_pv()
436 if ( parms.unmapped_initrd ) in dom0_construct_pv()
450 if ( parms.p2m_base != UNSET_ADDR ) in dom0_construct_pv()
497 if ( parms.p2m_base != UNSET_ADDR ) in dom0_construct_pv()
768 if ( parms.p2m_base != UNSET_ADDR ) in dom0_construct_pv()
[all …]
/xen/tools/libxc/
A Dxc_dom_elfloader.c60 dom->parms.phys_entry != UNSET_ADDR32 ) in xc_dom_guest_type()
73 switch ( dom->parms.pae ) in xc_dom_guest_type()
139 rc = elf_xen_parse(&elf, &dom->parms); in xc_dom_probe_elf_kernel()
170 if ( elf_xen_parse(elf, &dom->parms) != 0 ) in xc_dom_parse_elf_kernel()
176 if ( elf_xen_feature_get(XENFEAT_dom0, dom->parms.f_required) ) in xc_dom_parse_elf_kernel()
185 dom->kernel_seg.vstart = dom->parms.virt_kstart; in xc_dom_parse_elf_kernel()
186 dom->kernel_seg.vend = dom->parms.virt_kend; in xc_dom_parse_elf_kernel()
A Dxc_dom_armzimageloader.c115 dom->parms.virt_entry = entry_addr; in xc_dom_parse_zimage32_kernel()
116 dom->parms.virt_base = rambase; in xc_dom_parse_zimage32_kernel()
204 dom->parms.virt_entry = v_start; in xc_dom_parse_zimage64_kernel()
205 dom->parms.virt_base = rambase; in xc_dom_parse_zimage64_kernel()
A Dxc_dom_core.c766 dom->parms.virt_base = UNSET_ADDR; in xc_dom_allocate()
767 dom->parms.virt_entry = UNSET_ADDR; in xc_dom_allocate()
768 dom->parms.virt_hypercall = UNSET_ADDR; in xc_dom_allocate()
769 dom->parms.virt_hv_start_low = UNSET_ADDR; in xc_dom_allocate()
770 dom->parms.elf_paddr_offset = UNSET_ADDR; in xc_dom_allocate()
771 dom->parms.p2m_base = UNSET_ADDR; in xc_dom_allocate()
1146 if ( dom->parms.virt_base != UNSET_ADDR ) in xc_dom_build_image()
1147 dom->virt_alloc_end = dom->parms.virt_base; in xc_dom_build_image()
1203 dom->parms.p2m_base >= dom->parms.virt_base || in xc_dom_build_image()
1205 dom->parms.p2m_base = UNSET_ADDR; in xc_dom_build_image()
[all …]
A Dxc_dom_binloader.c218 dom->parms.virt_base = start_addr; in xc_dom_parse_bin_kernel()
219 dom->parms.virt_entry = image_info->entry_addr; in xc_dom_parse_bin_kernel()
241 dom->parms.pae = XEN_PAE_EXTCR3; in xc_dom_parse_bin_kernel()
A Dxc_dom_x86.c468 if ( dom->parms.pae == XEN_PAE_YES ) in setup_pgtables_x86_32_pae()
557 if ( dom->parms.p2m_base != UNSET_ADDR ) in alloc_p2m_list_x86_64()
559 from = dom->parms.p2m_base; in alloc_p2m_list_x86_64()
743 dom->parms.virt_hypercall = -1; in alloc_magic_pages_hvm()
826 if ( dom->parms.p2m_base != UNSET_ADDR ) in start_info_x86_64()
893 ctxt->user_regs.eip = dom->parms.virt_entry; in vcpu_x86_32()
904 if ( dom->parms.pae == XEN_PAE_EXTCR3 || in vcpu_x86_32()
905 dom->parms.pae == XEN_PAE_BIMODAL ) in vcpu_x86_32()
943 ctxt->user_regs.rip = dom->parms.virt_entry; in vcpu_x86_64()
1074 bsp_ctx.cpu.rip = dom->parms.phys_entry; in vcpu_hvm()
[all …]
A Dxc_dom_boot.c47 if ( dom->parms.virt_hypercall == -1 ) in setup_hypercall_page()
49 pfn = (dom->parms.virt_hypercall - dom->parms.virt_base) in setup_hypercall_page()
53 dom->parms.virt_hypercall, pfn); in setup_hypercall_page()
A Dxc_dom_hvmloader.c77 rc = elf_xen_parse(&elf, &dom->parms); in xc_dom_probe_hvm_kernel()
231 dom->parms.phys_entry = elf_uval(elf, elf->ehdr, e_entry); in xc_dom_load_hvm_kernel()
A Dxc_dom_arm.c121 ctxt->user_regs.pc32 = dom->parms.virt_entry; in vcpu_arm32()
165 ctxt->user_regs.pc64 = dom->parms.virt_entry; in vcpu_arm64()
/xen/tools/fuzz/libelf/
A Dlibelf-fuzzer.c11 struct elf_dom_parms parms; in LLVMFuzzerTestOneInput() local
20 elf_xen_parse(elf, &parms); in LLVMFuzzerTestOneInput()
/xen/stubdom/grub/
A Dkexec.c299 if (dom->parms.virt_hypercall != -1) { in kexec()
300 pfn = PHYS_PFN(dom->parms.virt_hypercall - dom->parms.virt_base); in kexec()
316 DEBUG("virt base at %llx\n", dom->parms.virt_base); in kexec()
318 _boot_target = dom->parms.virt_base + PFN_PHYS(dom->bootstack_pfn); in kexec()
320 do_exchange(dom, PHYS_PFN(_boot_target - dom->parms.virt_base), in kexec()
376 _boot_pdmfn = dom->pv_p2m[PHYS_PFN(dom->pgtables_seg.vstart - dom->parms.virt_base)]; in kexec()
380 _boot_start_info = dom->parms.virt_base + PFN_PHYS(dom->start_info_pfn); in kexec()
382 _boot_start = dom->parms.virt_entry; in kexec()
/xen/scripts/
A Dget_maintainer.pl2045 my (@parms) = @_;
2048 @parms = grep(!$saw{$_}++, @parms);
2049 return @parms;
2053 my (@parms) = @_;
2056 @parms = sort @parms;
2057 @parms = grep(!$saw{$_}++, @parms);
2058 return @parms;
2126 my (@parms) = @_;
2129 foreach my $line (@parms) {
2133 print(join($output_separator, @parms));
/xen/xen/arch/x86/
A Ddom0_build.c315 struct domain *d, struct elf_dom_parms *parms, unsigned long initrd_len) in dom0_compute_nr_pages() argument
385 (parms->p2m_base == UNSET_ADDR) && !memsize_gt_zero(&dom0_size) && in dom0_compute_nr_pages()
399 vstart = parms->virt_base; in dom0_compute_nr_pages()
400 vend = round_pgup(parms->virt_kend); in dom0_compute_nr_pages()
401 if ( !parms->unmapped_initrd ) in dom0_compute_nr_pages()
/xen/xen/include/asm-x86/
A Ddom0_build.h12 struct elf_dom_parms *parms,
/xen/stubdom/vtpmmgr/
A Dtpm.c376 pubEK->algorithmParms.parms.rsa.exponent, in TPM_TakeOwnership()
377 pubEK->algorithmParms.parms.rsa.exponentSize); in TPM_TakeOwnership()
383 PACK_IN(UINT32, pubEK->algorithmParms.parms.rsa.keyLength / 8); in TPM_TakeOwnership()
389 in_pos += pubEK->algorithmParms.parms.rsa.keyLength / 8; in TPM_TakeOwnership()
392 PACK_IN(UINT32, pubEK->algorithmParms.parms.rsa.keyLength / 8); in TPM_TakeOwnership()
398 in_pos += pubEK->algorithmParms.parms.rsa.keyLength / 8; in TPM_TakeOwnership()
A Dtcg.h529 } parms; member
539 free_TPM_RSA_KEY_PARMS(&p->parms.rsa); in free_TPM_KEY_PARMS()
544 free_TPM_SYMMETRIC_KEY_PARMS(&p->parms.sym); in free_TPM_KEY_PARMS()
A Dmgmt_authority.c39 .parms.rsa = { in do_provision_aik()
114 .parms.rsa = { in do_load_aik()
A Dmarshal.h525 return pack_TPM_RSA_KEY_PARMS(ptr, &k->parms.rsa); in pack_TPM_KEY_PARMS()
529 return pack_TPM_SYMMETRIC_KEY_PARMS(ptr, &k->parms.sym); in pack_TPM_KEY_PARMS()
545 return unpack3_TPM_RSA_KEY_PARMS(ptr, pos, len, &k->parms.rsa, alloc); in unpack3_TPM_KEY_PARMS()
549 return unpack3_TPM_SYMMETRIC_KEY_PARMS(ptr, pos, len, &k->parms.sym, alloc); in unpack3_TPM_KEY_PARMS()
565 rc += sizeof_TPM_RSA_KEY_PARMS(&k->parms.rsa); in sizeof_TPM_KEY_PARMS()
570 rc += sizeof_TPM_SYMMETRIC_KEY_PARMS(&k->parms.sym); in sizeof_TPM_KEY_PARMS()
A Dinit.c189 .parms.rsa = { in try_take_ownership()
212 .parms.rsa = { in try_take_ownership()
/xen/xen/arch/x86/hvm/
A Ddom0_build.c542 struct elf_dom_parms parms; in pvh_load_kernel() local
564 if ( (rc = elf_xen_parse(&elf, &parms)) != 0 ) in pvh_load_kernel()
570 if ( parms.phys_entry == UNSET_ADDR32 ) in pvh_load_kernel()
577 elf.dest_base = (void *)(parms.virt_kstart - parms.virt_base); in pvh_load_kernel()
578 elf.dest_size = parms.virt_kend - parms.virt_kstart; in pvh_load_kernel()
663 *entry = parms.phys_entry; in pvh_load_kernel()
/xen/tools/libxc/include/
A Dxc_dom.h94 struct elf_dom_parms parms; member
414 xen_pfn_t page = (vaddr - dom->parms.virt_base) / page_size; in xc_dom_vaddr_to_ptr()
415 unsigned int offset = (vaddr - dom->parms.virt_base) % page_size; in xc_dom_vaddr_to_ptr()
/xen/xen/include/xen/
A Dlibelf.h452 struct elf_dom_parms *parms,
455 struct elf_dom_parms *parms);
457 struct elf_dom_parms *parms);
/xen/tools/libxl/
A Dlibxl_x86_acpi.c225 if (strcmp(dom->parms.guest_os, "linux") || in libxl__dom_load_acpi()
227 dom->parms.f_supported)) in libxl__dom_load_acpi()

Completed in 56 milliseconds