Lines Matching refs:ram_addr

500 static void tlb_protect_code(ram_addr_t ram_addr);
501 static void tlb_unprotect_code_phys(CPUState *env, ram_addr_t ram_addr,
1525 ram_addr_t ram_addr;
1535 ram_addr = (pd & TARGET_PAGE_MASK) | (pc & ~TARGET_PAGE_MASK);
1536 tb_invalidate_phys_page_range(ram_addr, ram_addr + 1, 0);
2186 static void tlb_protect_code(ram_addr_t ram_addr)
2188 cpu_physical_memory_reset_dirty(ram_addr,
2189 ram_addr + TARGET_PAGE_SIZE,
2193 remR3ProtectCode(cpu_single_env, ram_addr);
2199 static void tlb_unprotect_code_phys(CPUState *env, ram_addr_t ram_addr,
2202 cpu_physical_memory_set_dirty_flags(ram_addr, CODE_DIRTY_FLAG);
2300 ram_addr_t ram_addr;
2307 ram_addr = (tlb_entry->addr_write & TARGET_PAGE_MASK) + tlb_entry->addend;
2311 ram_addr = qemu_ram_addr_from_host(p);
2314 ram_addr = (tlb_entry->addr_write & TARGET_PAGE_MASK) + phys_addend;
2316 if (!cpu_physical_memory_is_dirty(ram_addr)) {
3375 static void notdirty_mem_writeb(void *opaque, target_phys_addr_t ram_addr,
3379 dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr);
3382 tb_invalidate_phys_page_fast(ram_addr, 1);
3383 dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr);
3387 remR3PhysWriteU8(ram_addr, val);
3389 stb_p(qemu_get_ram_ptr(ram_addr), val);
3392 cpu_physical_memory_set_dirty_flags(ram_addr, dirty_flags);
3399 static void notdirty_mem_writew(void *opaque, target_phys_addr_t ram_addr,
3403 dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr);
3406 tb_invalidate_phys_page_fast(ram_addr, 2);
3407 dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr);
3411 remR3PhysWriteU16(ram_addr, val);
3413 stw_p(qemu_get_ram_ptr(ram_addr), val);
3416 cpu_physical_memory_set_dirty_flags(ram_addr, dirty_flags);
3423 static void notdirty_mem_writel(void *opaque, target_phys_addr_t ram_addr,
3427 dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr);
3430 tb_invalidate_phys_page_fast(ram_addr, 4);
3431 dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr);
3435 remR3PhysWriteU32(ram_addr, val);
3437 stl_p(qemu_get_ram_ptr(ram_addr), val);
3440 cpu_physical_memory_set_dirty_flags(ram_addr, dirty_flags);