Home
last modified time | relevance | path

Searched refs:gap (Results 1 – 12 of 12) sorted by relevance

/qemu/hw/loongarch/
H A Dboot.c241 hwaddr base, ram_size, gap, low_end; in alloc_initrd_memory() local
245 gap = VIRT_LOWMEM_SIZE; in alloc_initrd_memory()
250 low_end = base + MIN(ram_size, gap); in alloc_initrd_memory()
255 if (ram_size <= gap) { in alloc_initrd_memory()
265 ram_size -= gap; in alloc_initrd_memory()
H A Dvirt-fdt-build.c130 hwaddr base, size, ram_size, gap; in fdt_add_memory_nodes() local
136 gap = VIRT_LOWMEM_SIZE; in fdt_add_memory_nodes()
155 if (size >= gap) { in fdt_add_memory_nodes()
156 fdt_add_memory_node(ms, base, gap, i); in fdt_add_memory_nodes()
157 size -= gap; in fdt_add_memory_nodes()
159 gap = ram_size - VIRT_LOWMEM_SIZE; in fdt_add_memory_nodes()
165 gap -= size; in fdt_add_memory_nodes()
H A Dvirt-acpi-build.c186 hwaddr len, base, gap; in build_srat() local
218 gap = VIRT_LOWMEM_SIZE; in build_srat()
237 if (len >= gap) { in build_srat()
238 build_srat_memory(table_data, base, gap, i, MEM_AFFINITY_ENABLED); in build_srat()
239 len -= gap; in build_srat()
241 gap = machine->ram_size - VIRT_LOWMEM_SIZE; in build_srat()
247 gap -= len; in build_srat()
H A Dvirt.c601 hwaddr base, size, ram_size, gap; in fw_cfg_add_memory() local
607 gap = VIRT_LOWMEM_SIZE; in fw_cfg_add_memory()
621 if (size >= gap) { in fw_cfg_add_memory()
622 memmap_add_entry(base, gap, 1); in fw_cfg_add_memory()
623 size -= gap; in fw_cfg_add_memory()
637 if (numa_info[0].node_mem < gap && ram_size > gap) { in fw_cfg_add_memory()
643 memmap_add_entry(base, gap - numa_info[0].node_mem, 1); in fw_cfg_add_memory()
644 size = ram_size - gap; in fw_cfg_add_memory()
/qemu/semihosting/
H A Darm-compat-semi.c159 RomGap gap = rom_find_largest_gap_between(info.rambase, info.ramsize); in common_semi_find_bases() local
160 info.heapbase = gap.base; in common_semi_find_bases()
161 info.heaplimit = gap.base + gap.size; in common_semi_find_bases()
/qemu/tests/qtest/
H A Dfdc-test.c125 uint8_t gap = 0x1b; in send_read_command() local
141 floppy_send(gap); in send_read_command()
181 uint8_t gap = 0x1b; in send_read_no_dma_command() local
197 floppy_send(gap); in send_read_no_dma_command()
/qemu/hw/i2c/
H A Daspeed_i2c.c1218 int offset = i < aic->gap ? 1 : 5; in aspeed_i2c_realize()
1496 aic->gap = 7; in aspeed_2400_i2c_class_init()
1530 aic->gap = 7; in aspeed_2500_i2c_class_init()
1560 aic->gap = -1; /* no gap */ in aspeed_2600_i2c_class_init()
1584 aic->gap = -1; /* no gap */ in aspeed_1030_i2c_class_init()
1609 aic->gap = -1; /* no gap */ in aspeed_2700_i2c_class_init()
/qemu/include/hw/i2c/
H A Daspeed_i2c.h293 uint8_t gap; member
/qemu/hw/core/
H A Dloader.c1457 size_t gap = cand->base - gapstart; in rom_find_largest_gap_between() local
1458 if (gap > res.size) { in rom_find_largest_gap_between()
1460 res.size = gap; in rom_find_largest_gap_between()
/qemu/qapi/
H A Dmisc.json222 # .. note:: This command only exists as a stop-gap. Its use is highly
/qemu/qga/
H A Dqapi-schema.json149 # file, the guest OS has no idea that there was a big gap in the time.
150 # Depending on how long the gap was, NTP might not be able to
/qemu/tcg/i386/
H A Dtcg-target.c.inc2646 int gap = QEMU_ALIGN_PTR_UP(s->code_ptr + 1, 4) - s->code_ptr;
2647 if (gap != 1) {
2648 tcg_out_nopn(s, gap - 1);