Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/common/libelf/
A Dlibelf-dominfo.c392 (int)sizeof(parms->loader), parms->loader, in elf_xen_note_check()
402 (int)sizeof(parms->xen_ver), parms->xen_ver); in elf_xen_note_check()
442 parms->elf_paddr_offset = parms->virt_base; in elf_xen_addr_calc_check()
447 virt_offset = parms->virt_base - parms->elf_paddr_offset; in elf_xen_addr_calc_check()
470 if ( (parms->virt_kstart > parms->virt_kend) || in elf_xen_addr_calc_check()
471 (parms->virt_entry < parms->virt_kstart) || in elf_xen_addr_calc_check()
472 (parms->virt_entry > parms->virt_kend) || in elf_xen_addr_calc_check()
473 (parms->virt_base > parms->virt_kstart) ) in elf_xen_addr_calc_check()
480 (parms->p2m_base >= parms->virt_kstart) && in elf_xen_addr_calc_check()
481 (parms->p2m_base < parms->virt_kend) ) in elf_xen_addr_calc_check()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Ddom0_build.c309 struct elf_dom_parms parms; in dom0_construct_pv() local
354 parms.pae = XEN_PAE_EXTCR3; in dom0_construct_pv()
398 if ( parms.pae == XEN_PAE_EXTCR3 ) in dom0_construct_pv()
416 parms.p2m_base = UNSET_ADDR; in dom0_construct_pv()
428 v_start = parms.virt_base; in dom0_construct_pv()
430 vkern_end = parms.virt_kend; in dom0_construct_pv()
431 if ( parms.unmapped_initrd ) in dom0_construct_pv()
445 if ( parms.p2m_base != UNSET_ADDR ) in dom0_construct_pv()
492 if ( parms.p2m_base != UNSET_ADDR ) in dom0_construct_pv()
494 vphysmap_start = parms.p2m_base; in dom0_construct_pv()
[all …]
/xen-4.10.0-shim-comet/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()
136 rc = elf_xen_parse(&elf, &dom->parms); in xc_dom_probe_elf_kernel()
180 if ( (rc = elf_xen_parse(elf, &dom->parms)) != 0 ) in xc_dom_parse_elf_kernel()
185 if ( elf_xen_feature_get(XENFEAT_dom0, dom->parms.f_required) ) in xc_dom_parse_elf_kernel()
194 dom->kernel_seg.vstart = dom->parms.virt_kstart; in xc_dom_parse_elf_kernel()
195 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.c775 dom->parms.virt_base = UNSET_ADDR; in xc_dom_allocate()
776 dom->parms.virt_entry = UNSET_ADDR; in xc_dom_allocate()
777 dom->parms.virt_hypercall = UNSET_ADDR; in xc_dom_allocate()
778 dom->parms.virt_hv_start_low = UNSET_ADDR; in xc_dom_allocate()
779 dom->parms.elf_paddr_offset = UNSET_ADDR; in xc_dom_allocate()
780 dom->parms.p2m_base = UNSET_ADDR; in xc_dom_allocate()
1176 if ( dom->parms.virt_base != UNSET_ADDR ) in xc_dom_build_image()
1177 dom->virt_alloc_end = dom->parms.virt_base; in xc_dom_build_image()
1233 dom->parms.p2m_base >= dom->parms.virt_base || in xc_dom_build_image()
1235 dom->parms.p2m_base = UNSET_ADDR; in xc_dom_build_image()
[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_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.c444 if ( dom->parms.pae == XEN_PAE_YES ) in setup_pgtables_x86_32_pae()
518 if ( dom->parms.p2m_base != UNSET_ADDR ) in alloc_p2m_list_x86_64()
520 from = dom->parms.p2m_base; in alloc_p2m_list_x86_64()
701 dom->parms.virt_hypercall = -1; in alloc_magic_pages_hvm()
784 if ( dom->parms.p2m_base != UNSET_ADDR ) in start_info_x86_64()
851 ctxt->user_regs.eip = dom->parms.virt_entry; in vcpu_x86_32()
859 if ( dom->parms.pae == XEN_PAE_EXTCR3 || in vcpu_x86_32()
860 dom->parms.pae == XEN_PAE_BIMODAL ) in vcpu_x86_32()
898 ctxt->user_regs.rip = dom->parms.virt_entry; in vcpu_x86_64()
1007 bsp_ctx.cpu.rip = dom->parms.phys_entry; in vcpu_hvm()
[all …]
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.c138 ctxt->user_regs.pc32 = dom->parms.virt_entry; in vcpu_arm32()
182 ctxt->user_regs.pc64 = dom->parms.virt_entry; in vcpu_arm64()
/xen-4.10.0-shim-comet/tools/fuzz/libelf/
A Dlibelf-fuzzer.c11 struct elf_dom_parms parms; in LLVMFuzzerTestOneInput() local
20 elf_xen_parse(elf, &parms); in LLVMFuzzerTestOneInput()
/xen-4.10.0-shim-comet/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()
384 _boot_pdmfn = dom->p2m_host[PHYS_PFN(dom->pgtables_seg.vstart - dom->parms.virt_base)]; in kexec()
388 _boot_start_info = dom->parms.virt_base + PFN_PHYS(dom->start_info_pfn); in kexec()
390 _boot_start = dom->parms.virt_entry; in kexec()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dkernel.c439 info->entry = info->elf.parms.virt_entry; in kernel_elf_load()
442 info->elf.parms.virt_kstart, in kernel_elf_load()
443 info->elf.parms.virt_kend); in kernel_elf_load()
446 info->elf.elf.dest_base = (void*)(unsigned long)info->elf.parms.virt_kstart; in kernel_elf_load()
448 info->elf.parms.virt_kend - info->elf.parms.virt_kstart; in kernel_elf_load()
476 if ( (rc = elf_xen_parse(&info->elf.elf, &info->elf.parms)) != 0 ) in kernel_elf_probe()
A Dkernel.h49 struct elf_dom_parms parms; member
/xen-4.10.0-shim-comet/scripts/
A Dget_maintainer.pl2021 my (@parms) = @_;
2024 @parms = grep(!$saw{$_}++, @parms);
2025 return @parms;
2029 my (@parms) = @_;
2032 @parms = sort @parms;
2033 @parms = grep(!$saw{$_}++, @parms);
2034 return @parms;
2102 my (@parms) = @_;
2105 foreach my $line (@parms) {
2109 print(join($output_separator, @parms));
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Ddom0_build.c453 struct elf_dom_parms parms; in pvh_load_kernel() local
475 if ( (rc = elf_xen_parse(&elf, &parms)) != 0 ) in pvh_load_kernel()
481 if ( parms.phys_entry == UNSET_ADDR32 ) in pvh_load_kernel()
488 elf.dest_base = (void *)(parms.virt_kstart - parms.virt_base); in pvh_load_kernel()
489 elf.dest_size = parms.virt_kend - parms.virt_kstart; in pvh_load_kernel()
500 last_addr = ROUNDUP(parms.virt_kend - parms.virt_base, PAGE_SIZE); in pvh_load_kernel()
557 *entry = parms.phys_entry; in pvh_load_kernel()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Ddom0_build.c278 struct domain *d, struct elf_dom_parms *parms, unsigned long initrd_len) in dom0_compute_nr_pages() argument
339 (parms->p2m_base == UNSET_ADDR) && (dom0_nrpages <= 0) && in dom0_compute_nr_pages()
353 vstart = parms->virt_base; in dom0_compute_nr_pages()
354 vend = round_pgup(parms->virt_kend); in dom0_compute_nr_pages()
355 if ( !parms->unmapped_initrd ) in dom0_compute_nr_pages()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Ddom0_build.h12 struct elf_dom_parms *parms,
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/tools/libxc/include/
A Dxc_dom.h94 struct elf_dom_parms parms; member
417 xen_pfn_t page = (vaddr - dom->parms.virt_base) / page_size; in xc_dom_vaddr_to_ptr()
418 unsigned int offset = (vaddr - dom->parms.virt_base) % page_size; in xc_dom_vaddr_to_ptr()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dlibelf.h452 struct elf_dom_parms *parms,
455 struct elf_dom_parms *parms);
457 struct elf_dom_parms *parms);

Completed in 61 milliseconds