Home
last modified time | relevance | path

Searched refs:ram_addr (Results 1 – 5 of 5) sorted by relevance

/external/qemu/
Dexec.c392 static void tlb_protect_code(ram_addr_t ram_addr);
393 static void tlb_unprotect_code_phys(CPUState *env, ram_addr_t ram_addr,
1348 ram_addr_t ram_addr; in breakpoint_invalidate() local
1358 ram_addr = (pd & TARGET_PAGE_MASK) | (pc & ~TARGET_PAGE_MASK); in breakpoint_invalidate()
1359 tb_invalidate_phys_page_range(ram_addr, ram_addr + 1, 0); in breakpoint_invalidate()
1854 static void tlb_protect_code(ram_addr_t ram_addr) in tlb_protect_code() argument
1856 cpu_physical_memory_reset_dirty(ram_addr, in tlb_protect_code()
1857 ram_addr + TARGET_PAGE_SIZE, in tlb_protect_code()
1863 static void tlb_unprotect_code_phys(CPUState *env, ram_addr_t ram_addr, in tlb_unprotect_code_phys() argument
1866 cpu_physical_memory_set_dirty_flags(ram_addr, CODE_DIRTY_FLAG); in tlb_unprotect_code_phys()
[all …]
Dkqemu.c268 void kqemu_set_notdirty(CPUState *env, ram_addr_t ram_addr) in kqemu_set_notdirty() argument
271 (unsigned long)ram_addr); in kqemu_set_notdirty()
273 if (phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS] != 0xff) in kqemu_set_notdirty()
278 ram_pages_to_update[nb_ram_pages_to_update++] = ram_addr; in kqemu_set_notdirty()
293 void kqemu_modify_page(CPUState *env, ram_addr_t ram_addr) in kqemu_modify_page() argument
301 page_index = ram_addr >> TARGET_PAGE_BITS; in kqemu_modify_page()
304 printf("%d: modify_page=%08lx\n", nb_modified_ram_pages, ram_addr); in kqemu_modify_page()
307 modified_ram_pages[nb_modified_ram_pages++] = ram_addr; in kqemu_modify_page()
335 kphys_mem->ram_addr = phys_offset & TARGET_PAGE_MASK; in kqemu_set_phys_mem()
Dkqemu.h127 uint64_t ram_addr; /* corresponding ram address */ member
Dcpu-common.h65 int qemu_ram_addr_from_host(void *ptr, ram_addr_t *ram_addr);
/external/qemu/hw/
Dpc.c885 ram_addr_t ram_addr, bios_offset, option_rom_offset; local
936 ram_addr = qemu_ram_alloc(NULL, "pc.ram",
938 cpu_register_physical_memory(0, 0xa0000, ram_addr);
941 ram_addr + 0x100000);
944 ram_addr + below_4g_mem_size);
952 ram_addr = qemu_ram_alloc(NULL, "pc.ram", below_4g_mem_size);
953 cpu_register_physical_memory(0, below_4g_mem_size, ram_addr);
961 ram_addr = qemu_ram_alloc(above_4g_mem_size);
964 ram_addr);