Search
lxdream.org :: lxdream/src/sh4/mmu.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/mmu.h
changeset 1217:677b1d85f1b4
prev1067:d3c00ffccfcd
author nkeynes
date Thu Feb 23 15:24:47 2012 +1000 (10 years ago)
permissions -rw-r--r--
last change Check for existence of glDrawBuffer (assuming that glReadBuffer will
follow). Note only need to guard the common code in gl_fbo.c
file annotate diff log raw
1.1 --- a/src/sh4/mmu.h Sun Jul 05 13:54:48 2009 +1000
1.2 +++ b/src/sh4/mmu.h Thu Feb 23 15:24:47 2012 +1000
1.3 @@ -106,8 +106,18 @@
1.4 mem_region_fn_t tlb_multihit;
1.5 };
1.6
1.7 +/** Set the MMU's target external address space
1.8 + * @return the previous address space.
1.9 + */
1.10 +mem_region_fn_t *mmu_set_ext_address_space( mem_region_fn_t *space );
1.11 +
1.12 +/* Address translation functions */
1.13 sh4addr_t FASTCALL mmu_vma_to_phys_disasm( sh4vma_t vma );
1.14 +mem_region_fn_t FASTCALL mmu_get_region_for_vma_read( sh4vma_t *addr );
1.15 +mem_region_fn_t FASTCALL mmu_get_region_for_vma_write( sh4vma_t *addr );
1.16 +mem_region_fn_t FASTCALL mmu_get_region_for_vma_prefetch( sh4vma_t *addr );
1.17
1.18 +/* Translator provided helpers */
1.19 void mmu_utlb_init_vtable( struct utlb_entry *ent, struct utlb_page_entry *page, gboolean writable );
1.20 void mmu_utlb_1k_init_vtable( struct utlb_1k_entry *ent );
1.21 void mmu_utlb_init_storequeue_vtable( struct utlb_entry *ent, struct utlb_page_entry *page );
.