Search
lxdream.org :: lxdream/src/sh4/sh4.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.c
changeset 597:87cbdf62aa35
prev591:7b9612fd2395
next617:476a717a54f3
author nkeynes
date Tue Jan 22 09:45:21 2008 +0000 (14 years ago)
permissions -rw-r--r--
last change Initial VMA support for the SH4 disassembly
file annotate diff log raw
1.1 --- a/src/sh4/sh4.c Thu Jan 17 10:11:37 2008 +0000
1.2 +++ b/src/sh4/sh4.c Tue Jan 22 09:45:21 2008 +0000
1.3 @@ -358,3 +358,8 @@
1.4 xf[10]*fv[2] + xf[14]*fv[3];
1.5 }
1.6
1.7 +gboolean sh4_has_page( sh4vma_t vma )
1.8 +{
1.9 + sh4addr_t addr = mmu_vma_to_phys_disasm(vma);
1.10 + return addr != MMU_VMA_ERROR && mem_has_page(addr);
1.11 +}
.