Home
last modified time | relevance | path

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

/hypervisor/arch/x86/guest/
A Dve820.c33 uint64_t start, end, length; in find_space_from_ve820() local
115 entry->length = entry_end - end_pa; in filter_mem_from_service_vm_e820()
120 if (new_entry.length > 0UL) { in filter_mem_from_service_vm_e820()
125 entry->length = new_entry.length; in filter_mem_from_service_vm_e820()
175 .length = 0xA0000UL, /* 640KB */
180 .length = 0x60000UL, /* 384KB */
195 .length = GPU_OPREGION_SIZE,
200 .length = VIRT_ACPI_DATA_LEN,
205 .length = VIRT_ACPI_NVS_LEN,
210 .length = MEM_2G,
[all …]
A Dvm.c342 if (entry->length == 0UL) { in prepare_prelaunched_vm_memmap()
360 remaining_entry_size = entry->length; in prepare_prelaunched_vm_memmap()
503 pr_dbg("BaseAddress: 0x%016lx length: 0x%016lx\n", entry->baseaddr, entry->length); in prepare_service_vm_memmap()
504 service_vm_high64_max_ram = max((entry->baseaddr + entry->length), service_vm_high64_max_ram); in prepare_service_vm_memmap()
514 ept_modify_mr(vm, pml4_page, entry->baseaddr, entry->length, EPT_WB, EPT_MT_MASK); in prepare_service_vm_memmap()
648 entry->baseaddr, entry->length, in prepare_vm_identical_memmap()
A Dtrusty.c76 vm->sworld_control.sworld_memory.length = size; in create_secure_world_ept()
83 uint64_t size = vm->sworld_control.sworld_memory.length; in destroy_secure_world()
415 sworld_ctl->sworld_memory.length, in restore_sworld_context()
/hypervisor/arch/x86/
A De820.c51 uint64_t start, end, length; in e820_alloc_memory() local
54 end = round_page_down(entry->baseaddr + entry->length); in e820_alloc_memory()
55 length = (end > start) ? (end - start) : 0UL; in e820_alloc_memory()
61 if (length == size) { in e820_alloc_memory()
79 new_entry->length = (entry->baseaddr + entry->length) - new_entry->baseaddr; in e820_alloc_memory()
81 entry->length -= new_entry->length; in e820_alloc_memory()
119 hv_e820[index].length = length; in insert_e820_entry()
183 + hv_e820[e820_idx - 1U].length))) { in init_e820_from_efi_mmap()
184 hv_e820[e820_idx - 1U].length += hv_e820[e820_idx].length; in init_e820_from_efi_mmap()
212 hv_e820[i].length = mmap[i].length; in init_e820_from_mmap()
[all …]
A Drtcm.c27 ((uint64_t)e - (uint64_t)rtct) < rtct->length; \
A Dmmu.c272 uint64_t end = entry->baseaddr + entry->length; in init_paging()
/hypervisor/boot/
A Dacpi_base.c41 static struct acpi_table_rsdp *found_rsdp(char *base, uint64_t length) in found_rsdp() argument
47 for (ofs = 0UL; ofs < length; ofs += 16UL) { in found_rsdp()
95 rsdp = found_rsdp((char *)hpa2hva(entry[i].baseaddr), entry[i].length); in init_acpi()
146 count = (xsdt->header.length - sizeof(struct acpi_table_header)) / sizeof(uint64_t); in get_acpi_tbl()
157 count = (rsdt->header.length - sizeof(struct acpi_table_header)) / sizeof(uint32_t); in get_acpi_tbl()
186 end = (void *)madt_ptr + madt_ptr->header.length; in local_parse_madt()
188 for (iterator = first; (iterator) < (end); iterator += entry->length) { in local_parse_madt()
190 if (entry->length < sizeof(struct acpi_subtable_header)) { in local_parse_madt()
229 end = (uint64_t)madt + madt->header.length; in parse_madt_ioapic()
231 for (entry = (uint64_t)(madt + 1); entry < end; entry += ioapic->header.length) { in parse_madt_ioapic()
/hypervisor/acpi_parser/
A Ddmar_parse.c66 (remaining >= (int32_t)apci_devscope->length)) { in handle_dmar_devscope()
68 path_len = (int32_t)((apci_devscope->length - sizeof(struct acpi_dmar_device_scope)) / in handle_dmar_devscope()
76 ret = (int32_t)apci_devscope->length; in handle_dmar_devscope()
90 end = (char *)drhd + drhd->header.length; in get_drhd_dev_scope_cnt()
98 start += scope->length; in get_drhd_dev_scope_cnt()
124 remaining = (int32_t)(acpi_drhd->header.length - sizeof(struct acpi_dmar_hardware_unit)); in handle_one_drhd()
129 cp = (char *)acpi_drhd + acpi_drhd->header.length - remaining; in handle_one_drhd()
173 ptr_end = (char *)dmar_tbl + dmar_tbl->header.length; in parse_dmar_table()
176 for (; ptr < ptr_end; ptr += dmar_header->length) { in parse_dmar_table()
178 ASSERT(dmar_header->length >= sizeof(struct acpi_dmar_header), "corrupted DMAR table"); in parse_dmar_table()
A Dacpi_ext.c86 uint32_t signature, length; in get_facs_table() local
105 length = get_acpi_dt_dword(facs_addr, OFFSET_FACS_LENGTH); in get_facs_table()
107 if (length < 64U) { in get_facs_table()
119 uint32_t length = get_acpi_dt_dword(mcfg_addr, OFFSET_MCFG_LENGTH); in parse_mcfg_allocation_tables() local
121 if (length > OFFSET_MCFG_ENTRY1) { in parse_mcfg_allocation_tables()
/hypervisor/quirks/
A Dsecurity_vm_fixup.c26 entry_cnt = (xsdt->header.length - sizeof(xsdt->header)) / (sizeof(xsdt->table_offset_entry[0])); in get_acpi_mod_entry()
67 vtpm2->header.length = tpm2->header.length; in tpm2_fixup()
148 si->smbios_eps_size = eps3->length; in get_smbios3_info()
156 si->smbios_eps_size = eps2->length; in get_smbios2_info()
206 generate_checksum((uint8_t *)eps2, eps2->length, &eps2->checksum); in copy_smbios_to_guest()
210 generate_checksum((uint8_t *)eps3, eps3->length, &eps3->checksum); in copy_smbios_to_guest()
223 (calculate_sum8(p, ((struct smbios3_entry_point *)p)->length)) == 0); in is_smbios3_present()
229 (calculate_sum8(p, ((struct smbios2_entry_point *)p)->length)) == 0); in is_smbios2_present()
A Dsmbios.h52 uint8_t length; /* length of this entry point structure, currently 1Fh */ member
69 uint8_t length; /* length of this entry point structure, currently 18h */ member
/hypervisor/boot/include/
A Dacpi.h76 uint32_t length; member
105 uint32_t length; member
168 uint8_t length; member
208 uint16_t length; member
227 uint8_t length; member
A Dboot.h43 uint64_t length; member
A Dmultiboot_std.h84 uint64_t length; member
/hypervisor/include/lib/
A Dutil.h43 static inline uint8_t calculate_sum8(const void *buf, uint32_t length) in calculate_sum8() argument
48 for (i = 0U; i < length; i++) { in calculate_sum8()
/hypervisor/arch/x86/configs/
A Dvacpi.c20 .length = ACPI_RSDP_XCHECKSUM_LENGTH, in build_vrsdp()
/hypervisor/include/arch/x86/asm/
A De820.h28 uint64_t length; member
/hypervisor/boot/multiboot/
A Dmultiboot.c39 abi->mmap_entry[i].length = (mmap + i)->length; in multiboot_to_acrn_bi()
A Dmultiboot2.c29 abi->mmap_entry[i].length = (mb2_mmap + i)->len; in mb2_mmap_to_abi()
/hypervisor/debug/
A Dshell.c1015 uint32_t i, length, loop_cnt; in shell_dump_host_mem() local
1023 length = (uint32_t)strtol_deci(argv[2]); in shell_dump_host_mem()
1025 …printf(temp_str, MAX_STR_SIZE, "Dump physical memory addr: 0x%016lx, length %d:\r\n", hva, length); in shell_dump_host_mem()
1028 loop_cnt = ((length & 0x1fU) == 0U) ? ((length >> 5U)) : ((length >> 5U) + 1U); in shell_dump_host_mem()
1049 uint64_t length = dump->len; in dump_guest_mem() local
1058 loop_cnt = ((length & 0x1fUL) == 0UL) ? ((length >> 5UL)) : ((length >> 5UL) + 1UL); in dump_guest_mem()
1081 uint64_t length; in shell_dump_guest_mem() local
1093 length = (uint64_t)strtol_deci(argv[3]); in shell_dump_guest_mem()
1100 dump.len = length; in shell_dump_guest_mem()
/hypervisor/include/arch/x86/asm/guest/
A Dtrusty.h97 uint64_t length; member
/hypervisor/boot/guest/
A Delf_loader.c51 mmap_entry.length = vm->e820_entries[i].length; in prepare_multiboot_mmap()
A Dbzimage_loader.c225 efi_mmap_desc[desc_idx].num_pages = vm->e820_entries[i].length / PAGE_SIZE; in create_service_vm_efi_mmap_desc()
/hypervisor/lib/crypto/mbedtls/
A DChangeLog602 callback) or chain length limitations.
1134 length.
1437 length of an X.509 verification chain.
1469 * On a 0-length input, base64_encode() did not correctly set output length
1652 but shorter than the supplied length.
1968 * On a 0-length input, base64_encode() did not correctly set output length
1975 length of an X.509 verification chain (default = 8).
2408 * Inceased maximum size of ASN1 length reads to 32-bits.
2439 smaller than the hash length. (Closes ticket #41)
2516 length salt lengths
[all …]

Completed in 42 milliseconds