diff options
author | bunnei <bunneidev@gmail.com> | 2014-10-25 20:35:31 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-10-25 20:35:31 +0200 |
commit | 4615c73d15f6f27c5e275c57dcafcb56355b9c2d (patch) | |
tree | e11104887d1a680e3aa33bddc4ad3ca764ead696 /src/core/arm/interpreter/mmu/rb.h | |
parent | Merge pull request #149 from linkmauve/open-file-directly-fix (diff) | |
parent | ARM: Removed unnecessary and unused SkyEye MMU code. (diff) | |
download | yuzu-4615c73d15f6f27c5e275c57dcafcb56355b9c2d.tar yuzu-4615c73d15f6f27c5e275c57dcafcb56355b9c2d.tar.gz yuzu-4615c73d15f6f27c5e275c57dcafcb56355b9c2d.tar.bz2 yuzu-4615c73d15f6f27c5e275c57dcafcb56355b9c2d.tar.lz yuzu-4615c73d15f6f27c5e275c57dcafcb56355b9c2d.tar.xz yuzu-4615c73d15f6f27c5e275c57dcafcb56355b9c2d.tar.zst yuzu-4615c73d15f6f27c5e275c57dcafcb56355b9c2d.zip |
Diffstat (limited to 'src/core/arm/interpreter/mmu/rb.h')
-rw-r--r-- | src/core/arm/interpreter/mmu/rb.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/core/arm/interpreter/mmu/rb.h b/src/core/arm/interpreter/mmu/rb.h deleted file mode 100644 index 7bf0ebb26..000000000 --- a/src/core/arm/interpreter/mmu/rb.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef _MMU_RB_H -#define _MMU_RB_H - -enum rb_type_t -{ - RB_INVALID = 0, //invalid - RB_1, //1 word - RB_4, //4 word - RB_8, //8 word -}; - -/*bytes of each rb_type*/ -extern ARMword rb_masks[]; - -#define RB_WORD_NUM 8 -typedef struct rb_entry_s -{ - ARMword data[RB_WORD_NUM]; //array to store data - ARMword va; //first word va - int type; //rb type - fault_t fault; //fault set by rb alloc -} rb_entry_t; - -typedef struct rb_s -{ - int num; - rb_entry_t *entrys; -} rb_s; - -/*mmu_rb_init - * @rb_t :rb_t to init - * @num :number of entry - * */ -int mmu_rb_init (rb_s * rb_t, int num); - -/*mmu_rb_exit*/ -void mmu_rb_exit (rb_s * rb_t); - - -/*mmu_rb_search - * @rb_t :rb_t to serach - * @va :va address to math - * - * $ NULL :not match - * NO-NULL: - * */ -rb_entry_t *mmu_rb_search (rb_s * rb_t, ARMword va); - - -void mmu_rb_invalidate_entry (rb_s * rb_t, int i); -void mmu_rb_invalidate_all (rb_s * rb_t); -void mmu_rb_load (ARMul_State * state, rb_s * rb_t, int i_rb, - int type, ARMword va); - -#endif /*_MMU_RB_H_*/ |