memory_sh.cc File Reference

Back to the index.

Functions
memory_sh.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cpu.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/sh4_exception.h"
#include "thirdparty/sh4_mmu.h"

Go to the source code of this file.

Functions

int sh_translate_v2p (struct cpu *cpu, uint64_t vaddr64, uint64_t *return_paddr, int flags)
 

Function Documentation

◆ sh_translate_v2p()

int sh_translate_v2p ( struct cpu cpu,
uint64_t  vaddr64,
uint64_t *  return_paddr,
int  flags 
)

Definition at line 248 of file memory_sh.cc.

References cpu::cd, sh_cpu::mmucr, cpu::sh, SH4_MMUCR_AT, SH_SR_MD, and sh_cpu::sr.

Referenced by sh_cpu_new().


Generated on Fri Dec 7 2018 19:52:23 for GXemul by doxygen 1.8.13