| /hypervisor/arch/x86/guest/ |
| A D | ve820.c | 33 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 D | vm.c | 342 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 D | trusty.c | 76 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 D | e820.c | 51 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 D | rtcm.c | 27 ((uint64_t)e - (uint64_t)rtct) < rtct->length; \
|
| A D | mmu.c | 272 uint64_t end = entry->baseaddr + entry->length; in init_paging()
|
| /hypervisor/boot/ |
| A D | acpi_base.c | 41 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 D | dmar_parse.c | 66 (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 D | acpi_ext.c | 86 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 D | security_vm_fixup.c | 26 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 D | smbios.h | 52 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 D | acpi.h | 76 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 D | boot.h | 43 uint64_t length; member
|
| A D | multiboot_std.h | 84 uint64_t length; member
|
| /hypervisor/include/lib/ |
| A D | util.h | 43 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 D | vacpi.c | 20 .length = ACPI_RSDP_XCHECKSUM_LENGTH, in build_vrsdp()
|
| /hypervisor/include/arch/x86/asm/ |
| A D | e820.h | 28 uint64_t length; member
|
| /hypervisor/boot/multiboot/ |
| A D | multiboot.c | 39 abi->mmap_entry[i].length = (mmap + i)->length; in multiboot_to_acrn_bi()
|
| A D | multiboot2.c | 29 abi->mmap_entry[i].length = (mb2_mmap + i)->len; in mb2_mmap_to_abi()
|
| /hypervisor/debug/ |
| A D | shell.c | 1015 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 D | trusty.h | 97 uint64_t length; member
|
| /hypervisor/boot/guest/ |
| A D | elf_loader.c | 51 mmap_entry.length = vm->e820_entries[i].length; in prepare_multiboot_mmap()
|
| A D | bzimage_loader.c | 225 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 D | ChangeLog | 602 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 …]
|