/qemu/gdb-xml/ |
H A D | i386-32bit.xml | 13 <field name="" start="22" end="31"/> 14 <field name="ID" start="21" end="21"/> 15 <field name="VIP" start="20" end="20"/> 16 <field name="VIF" start="19" end="19"/> 17 <field name="AC" start="18" end="18"/> 18 <field name="VM" start="17" end="17"/> 19 <field name="RF" start="16" end="16"/> 20 <field name="" start="15" end="15"/> 21 <field name="NT" start="14" end="14"/> 22 <field name="IOPL" start="12" end="13"/> [all …]
|
H A D | i386-64bit.xml | 14 <field name="" start="22" end="31"/> 15 <field name="ID" start="21" end="21"/> 16 <field name="VIP" start="20" end="20"/> 17 <field name="VIF" start="19" end="19"/> 18 <field name="AC" start="18" end="18"/> 19 <field name="VM" start="17" end="17"/> 20 <field name="RF" start="16" end="16"/> 21 <field name="" start="15" end="15"/> 22 <field name="NT" start="14" end="14"/> 23 <field name="IOPL" start="12" end="13"/> [all …]
|
H A D | rx-core.xml | 28 <field name="C" start="0" end="0"/> 29 <field name="Z" start="1" end="1"/> 30 <field name="S" start="2" end="2"/> 31 <field name="O" start="3" end="3"/> 32 <field name="I" start="16" end="16"/> 33 <field name="U" start="17" end="17"/> 34 <field name="PM" start="20" end="20"/> 35 <field name="IPL" start="24" end="27"/> 39 <field name="RM" start="0" end="1"/> 40 <field name="CV" start="2" end="2"/> [all …]
|
H A D | aarch64-core.xml | 48 <field name="SP" start="0" end="0"/> 51 <field name="EL" start="2" end="3"/> 53 <field name="nRW" start="4" end="4"/> 56 <field name="F" start="6" end="6"/> 58 <field name="I" start="7" end="7"/> 60 <field name="A" start="8" end="8"/> 62 <field name="D" start="9" end="9"/> 65 <field name="BTYPE" start="10" end="11"/> 68 <field name="SSBS" start="12" end="12"/> 71 <field name="IL" start="20" end="20"/> [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 146.out | 5 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 9 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 13 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 17 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 21 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 25 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 29 [{ "start": 0, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "compre… 30 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… 31 { "start": 4194304, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… 32 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… [all …]
|
H A D | 179.out | 16 [{ "start": 0, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "compr… 17 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 18 { "start": 4194304, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… 19 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 20 { "start": 8388608, "length": 58720256, "depth": 0, "present": false, "zero": true, "data": false, … 34 [{ "start": 0, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "compr… 35 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 36 { "start": 4194304, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… 37 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 38 { "start": 8388608, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… [all …]
|
H A D | 154.out | 14 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compresse… 15 { "start": 4096, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compre… 16 { "start": 8192, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compres… 17 { "start": 12288, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compr… 18 { "start": 16384, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compre… 19 { "start": 20480, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compr… 20 { "start": 24576, "length": 8192, "depth": 0, "present": true, "zero": true, "data": false, "compre… 21 { "start": 32768, "length": 134184960, "depth": 1, "present": false, "zero": true, "data": false, "… 44 [{ "start": 0, "length": 32768, "depth": 1, "present": false, "zero": true, "data": false, "compres… 45 { "start": 32768, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compre… [all …]
|
H A D | 122.out | 70 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "compress… 71 { "start": 65536, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "co… 72 { "start": 4194304, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "com… 73 { "start": 4259840, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "… 74 { "start": 8388608, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "com… 75 { "start": 8454144, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "… 97 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "compress… 98 { "start": 65536, "length": 65536, "depth": 0, "present": false, "zero": true, "data": false, "comp… 99 { "start": 131072, "length": 196608, "depth": 0, "present": true, "zero": false, "data": true, "com… 100 { "start": 327680, "length": 655360, "depth": 0, "present": false, "zero": true, "data": false, "co… [all …]
|
H A D | 223.out | 25 === End dirty bitmaps, and start serving image over NBD === 49 {"execute":"nbd-server-start", 53 {"execute":"nbd-server-start", 126 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 127 { "start": 4096, "length": 1044480, "depth": 0, "present": true, "zero": true, "data": false, "comp… 128 { "start": 1048576, "length": 3145728, "depth": 0, "present": true, "zero": false, "data": true, "c… 129 [{ "start": 0, "length": 65536, "depth": 0, "present": false, "zero": false, "data": false, "compre… 130 { "start": 65536, "length": 2031616, "depth": 0, "present": true, "zero": false, "data": true, "com… 131 { "start": 2097152, "length": 2097152, "depth": 0, "present": false, "zero": false, "data": false, … 135 [{ "start": 0, "length": 512, "depth": 0, "present": true, "zero": false, "data": true, "compressed… [all …]
|
H A D | 253.out | 6 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 7 { "start": 4096, "length": 1044480, "depth": 0, "present": true, "zero": true, "data": false, "comp… 8 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 9 { "start": 4096, "length": 1044480, "depth": 0, "present": true, "zero": true, "data": false, "comp… 12 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 13 { "start": 4096, "length": 978944, "depth": 0, "present": true, "zero": true, "data": false, "compr… 14 { "start": 983040, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "comp… 15 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 16 { "start": 4096, "length": 978944, "depth": 0, "present": true, "zero": true, "data": false, "compr… 17 { "start": 983040, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "comp…
|
/qemu/hw/hyperv/ |
H A D | hv-balloon-page_range_tree.h | 16 uint64_t start; member 20 /* return just the part of range before (start) */ 22 uint64_t start, PageRange *out) in page_range_part_before() argument 24 uint64_t endr = range->start + range->count; in page_range_part_before() 25 uint64_t end = MIN(endr, start); in page_range_part_before() 27 out->start = range->start; in page_range_part_before() 28 if (end > out->start) { in page_range_part_before() 29 out->count = end - out->start; in page_range_part_before() 35 /* return just the part of range after (start, count) */ 37 uint64_t start, uint64_t count, in page_range_part_after() argument [all …]
|
H A D | hv-balloon-page_range_tree.c | 38 uint64_t start, uint64_t count) in page_range_tree_insert_new() argument 45 *key = range->start = start; in page_range_tree_insert_new() 52 uint64_t start, uint64_t count, in hvb_page_range_tree_insert() argument 60 assert(!SUM_OVERFLOW_U64(start, count)); in hvb_page_range_tree_insert() 65 node = g_tree_upper_bound(tree.t, &start); in hvb_page_range_tree_insert() 75 intersection = page_range_intersection_size(range, start, count); in hvb_page_range_tree_insert() 76 joinable = page_range_joinable_right(range, start, count); in hvb_page_range_tree_insert() 83 * already has a higher key (the start of its range). in hvb_page_range_tree_insert() 88 node = page_range_tree_insert_new(tree, start, count); in hvb_page_range_tree_insert() 101 count += start - range->start; in hvb_page_range_tree_insert() [all …]
|
/qemu/bsd-user/ |
H A D | mmap.c | 66 int target_mprotect(abi_ulong start, abi_ulong len, int prot) in target_mprotect() argument 71 qemu_log_mask(CPU_LOG_PAGE, "mprotect: start=0x" TARGET_ABI_FMT_lx in target_mprotect() 72 " len=0x" TARGET_ABI_FMT_lx " prot=%c%c%c\n", start, len, in target_mprotect() 76 if ((start & ~TARGET_PAGE_MASK) != 0) in target_mprotect() 79 end = start + len; in target_mprotect() 80 if (end < start) in target_mprotect() 87 host_start = start & qemu_host_page_mask; in target_mprotect() 89 if (start > host_start) { in target_mprotect() 90 /* handle host page containing start */ in target_mprotect() 92 for (addr = host_start; addr < start; addr += TARGET_PAGE_SIZE) { in target_mprotect() [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | zoned.out | 5 start: 0x0, len 0x80000, cap 0x80000, wptr 0x0, zcond:1, [type: 2] 8 start: 0x0, len 0x80000, cap 0x80000, wptr 0x0, zcond:1, [type: 2] 9 start: 0x80000, len 0x80000, cap 0x80000, wptr 0x80000, zcond:1, [type: 2] 10 start: 0x100000, len 0x80000, cap 0x80000, wptr 0x100000, zcond:1, [type: 2] 11 start: 0x180000, len 0x80000, cap 0x80000, wptr 0x180000, zcond:1, [type: 2] 12 start: 0x200000, len 0x80000, cap 0x80000, wptr 0x200000, zcond:1, [type: 2] 13 start: 0x280000, len 0x80000, cap 0x80000, wptr 0x280000, zcond:1, [type: 2] 14 start: 0x300000, len 0x80000, cap 0x80000, wptr 0x300000, zcond:1, [type: 2] 15 start: 0x380000, len 0x80000, cap 0x80000, wptr 0x380000, zcond:1, [type: 2] 16 start: 0x400000, len 0x80000, cap 0x80000, wptr 0x400000, zcond:1, [type: 2] [all …]
|
/qemu/linux-user/ |
H A D | mmap.c | 81 static void shm_region_add(abi_ptr start, abi_ptr last) in shm_region_add() argument 85 i->start = start; in shm_region_add() 90 static abi_ptr shm_region_find(abi_ptr start) in shm_region_find() argument 94 for (i = interval_tree_iter_first(&shm_regions, start, start); i; in shm_region_find() 95 i = interval_tree_iter_next(i, start, start)) { in shm_region_find() 96 if (i->start == start) { in shm_region_find() 103 static void shm_region_rm_complete(abi_ptr start, abi_ptr last) in shm_region_rm_complete() argument 107 for (i = interval_tree_iter_first(&shm_regions, start, last); i; i = n) { in shm_region_rm_complete() 108 n = interval_tree_iter_next(i, start, last); in shm_region_rm_complete() 109 if (i->start >= start && i->last <= last) { in shm_region_rm_complete() [all …]
|
/qemu/tests/tcg/hexagon/ |
H A D | circ.c | 65 * START start address of buffer in INIT() 69 #define CIRC_LOAD_IMM(SIZE, RES, ADDR, START, LEN, INC) \ in INIT() argument 76 : "r"(START), "r"(LEN) \ in INIT() 78 #define CIRC_LOAD_IMM_b(RES, ADDR, START, LEN, INC) \ in INIT() argument 79 CIRC_LOAD_IMM(b, RES, ADDR, START, LEN, INC) in INIT() 80 #define CIRC_LOAD_IMM_ub(RES, ADDR, START, LEN, INC) \ in INIT() argument 81 CIRC_LOAD_IMM(ub, RES, ADDR, START, LEN, INC) in INIT() 82 #define CIRC_LOAD_IMM_h(RES, ADDR, START, LEN, INC) \ in INIT() argument 83 CIRC_LOAD_IMM(h, RES, ADDR, START, LEN, INC) in INIT() 84 #define CIRC_LOAD_IMM_uh(RES, ADDR, START, LEN, INC) \ in INIT() argument [all …]
|
/qemu/util/ |
H A D | hbitmap.c | 75 * set(start=0, count=9) 11111000 (iter: 0, 2, 4, 6, 8) 76 * reset(start=1, count=3) 00111000 (iter: 4, 6, 8) 77 * set(start=9, count=2) 00111100 (iter: 4, 6, 8, 10) 78 * reset(start=5, count=5) 00000000 196 int64_t hbitmap_next_dirty(const HBitmap *hb, int64_t start, int64_t count) in hbitmap_next_dirty() argument 202 assert(start >= 0 && count >= 0); in hbitmap_next_dirty() 204 if (start >= hb->orig_size || count == 0) { in hbitmap_next_dirty() 208 end = count > hb->orig_size - start ? hb->orig_size : start + count; in hbitmap_next_dirty() 210 hbitmap_iter_init(&hbi, hb, start); in hbitmap_next_dirty() 217 return MAX(start, first_dirty_off); in hbitmap_next_dirty() [all …]
|
H A D | bitmap.c | 160 void bitmap_set(unsigned long *map, long start, long nr) in bitmap_set() argument 162 unsigned long *p = map + BIT_WORD(start); in bitmap_set() 163 const long size = start + nr; in bitmap_set() 164 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_set() 165 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set() 167 assert(start >= 0 && nr >= 0); in bitmap_set() 182 void bitmap_set_atomic(unsigned long *map, long start, long nr) in bitmap_set_atomic() argument 184 unsigned long *p = map + BIT_WORD(start); in bitmap_set_atomic() 185 const long size = start + nr; in bitmap_set_atomic() 186 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_set_atomic() [all …]
|
/qemu/accel/tcg/ |
H A D | user-exec.c | 96 * The guest pc is already pointing to the start of the TB for which in adjust_signal_pc() 165 static PageFlagsNode *pageflags_find(vaddr start, vaddr last) in pageflags_find() argument 169 n = interval_tree_iter_first(&pageflags_root, start, last); in pageflags_find() 173 static PageFlagsNode *pageflags_next(PageFlagsNode *p, vaddr start, vaddr last) in pageflags_next() argument 177 n = interval_tree_iter_next(&p->itree, start, last); in pageflags_next() 192 rc = fn(priv, n->start, n->last + 1, p->flags); in walk_memory_regions() 202 static int dump_region(void *opaque, vaddr start, vaddr end, int prot) in dump_region() argument 215 width, start & mask, in dump_region() 217 width, (end - start) & mask, in dump_region() 230 width, "start", width, "end", width, "size", "prot"); in page_dump() [all …]
|
/qemu/include/qemu/ |
H A D | hbitmap.h | 110 * @start: First bit to set (0-based). 115 void hbitmap_set(HBitmap *hb, uint64_t start, uint64_t count); 120 * @start: First bit to reset (0-based). 124 * @start and @count must be aligned to bitmap granularity. The only exception 126 * @start, in this case @count may be not aligned. The sum of @start + @count is 127 * allowed to be greater than hb->orig_size, but only if @start < hb->orig_size 128 * and @start + @count = ALIGN_UP(hb->orig_size, granularity). 130 void hbitmap_reset(HBitmap *hb, uint64_t start, uint64_t count); 168 * 1. Chunk start should be aligned to this granularity. 170 * start + count == hb->size) [all …]
|
H A D | bitops.h | 65 * @addr: the address to start counting from 78 * @addr: the address to start counting from 91 * @addr: Address to start counting from 104 * @addr: Address to start counting from 117 * @addr: Address to start counting from 175 * @addr: Address to start counting from 184 * @addr: The address to start the search at 196 * @offset: The bitnumber to start searching at 209 * @offset: The bitnumber to start searching at 222 * @addr: The address to start the search at [all …]
|
/qemu/include/system/ |
H A D | ram_addr.h | 54 * @start: the start page number 59 static inline void clear_bmap_set(RAMBlock *rb, uint64_t start, in clear_bmap_set() argument 64 bitmap_set(rb->clear_bmap, start >> shift, clear_bmap_size(npages, shift)); in clear_bmap_set() 148 void qemu_ram_msync(RAMBlock *block, ram_addr_t start, ram_addr_t length); 159 static inline bool cpu_physical_memory_get_dirty(ram_addr_t start, in cpu_physical_memory_get_dirty() argument 170 end = TARGET_PAGE_ALIGN(start + length) >> TARGET_PAGE_BITS; in cpu_physical_memory_get_dirty() 171 page = start >> TARGET_PAGE_BITS; in cpu_physical_memory_get_dirty() 199 static inline bool cpu_physical_memory_all_dirty(ram_addr_t start, in cpu_physical_memory_all_dirty() argument 210 end = TARGET_PAGE_ALIGN(start + length) >> TARGET_PAGE_BITS; in cpu_physical_memory_all_dirty() 211 page = start >> TARGET_PAGE_BITS; in cpu_physical_memory_all_dirty() [all …]
|
/qemu/hw/uefi/ |
H A D | var-service-siglist.c | 90 uint64_t start; in uefi_vars_siglist_parse() local 101 if (uadd64_overflow(sizeof(*efilist), efilist->header_size, &start)) { in uefi_vars_siglist_parse() 109 if (start + efilist->sig_size != efilist->siglist_size) { in uefi_vars_siglist_parse() 113 (QemuUUID *)(data + start), in uefi_vars_siglist_parse() 114 data + start + sizeof(QemuUUID), in uefi_vars_siglist_parse() 121 if (start + efilist->sig_size > efilist->siglist_size) { in uefi_vars_siglist_parse() 124 while (start <= efilist->siglist_size - efilist->sig_size) { in uefi_vars_siglist_parse() 126 (QemuUUID *)(data + start), in uefi_vars_siglist_parse() 127 data + start + sizeof(QemuUUID)); in uefi_vars_siglist_parse() 128 start += efilist->sig_size; in uefi_vars_siglist_parse() [all …]
|
/qemu/rust/qemu-api/src/ |
H A D | bitops.rs | 38 fn bit(start: u32) -> Self in bit() 40 debug_assert!(start < Self::BITS); in bit() 42 Self::ONE << start in bit() 47 fn mask(start: u32, length: u32) -> Self in mask() 50 debug_assert!(start < Self::BITS && length > 0 && length <= Self::BITS - start); in mask() 52 (Self::MAX >> (Self::BITS - length)) << start in mask() 57 fn deposit<U: IntegerExt>(self, start: u32, length: u32, in deposit() 63 let mask = Self::mask(start, length); in deposit() 64 (self & !mask) | ((Self::from(fieldval) << start) & mask) in deposit() 69 fn extract(self, start: u32, length: u32) -> Self in extract() [all …]
|
/qemu/include/user/ |
H A D | page-protection.h | 24 * @start: first byte of range 33 void page_set_flags(vaddr start, vaddr last, int flags); 35 void page_reset_target_data(vaddr start, vaddr last); 39 * @start: first byte of range 43 * Return true if every page in [@start, @start+@len) has @flags set. 47 bool page_check_range(vaddr start, vaddr last, int flags); 51 * @start: first byte of range 55 * Return true if the entire range [@start, @last] is unmapped. 59 bool page_check_range_empty(vaddr start, vaddr last);
|