diff options
Diffstat (limited to 'src/emu/cpu/drccache.h')
-rw-r--r-- | src/emu/cpu/drccache.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/emu/cpu/drccache.h b/src/emu/cpu/drccache.h index ae90ca0aea1..3f54a5139ab 100644 --- a/src/emu/cpu/drccache.h +++ b/src/emu/cpu/drccache.h @@ -49,8 +49,8 @@ //************************************************************************** // ensure that a given pointer is within the cache boundaries -#define assert_in_cache(c,p) assert((c).contains_pointer(p)) -#define assert_in_near_cache(c,p) assert((c).contains_near_pointer(p)) +#define assert_in_cache(c,p) assert((c).contains_pointer(p)) +#define assert_in_near_cache(c,p) assert((c).contains_near_pointer(p)) @@ -110,33 +110,33 @@ private: static const size_t NEAR_CACHE_SIZE = 65536; // core parameters - drccodeptr m_near; // pointer to the near part of the cache - drccodeptr m_neartop; // top of the near part of the cache - drccodeptr m_base; // base pointer to the compiler cache - drccodeptr m_top; // current top of cache - drccodeptr m_end; // end of cache memory - drccodeptr m_codegen; // start of generated code - size_t m_size; // size of the cache in bytes + drccodeptr m_near; // pointer to the near part of the cache + drccodeptr m_neartop; // top of the near part of the cache + drccodeptr m_base; // base pointer to the compiler cache + drccodeptr m_top; // current top of cache + drccodeptr m_end; // end of cache memory + drccodeptr m_codegen; // start of generated code + size_t m_size; // size of the cache in bytes // oob management struct oob_handler { oob_handler *next() const { return m_next; } - oob_handler * m_next; // next handler - drc_oob_delegate m_callback; // callback function - void * m_param1; // 1st pointer parameter - void * m_param2; // 2nd pointer parameter + oob_handler * m_next; // next handler + drc_oob_delegate m_callback; // callback function + void * m_param1; // 1st pointer parameter + void * m_param2; // 2nd pointer parameter }; - simple_list<oob_handler> m_ooblist; // list of oob handlers + simple_list<oob_handler> m_ooblist; // list of oob handlers // free lists struct free_link { - free_link * m_next; // pointer to the next guy + free_link * m_next; // pointer to the next guy }; - free_link * m_free[MAX_PERMANENT_ALLOC / CACHE_ALIGNMENT]; - free_link * m_nearfree[MAX_PERMANENT_ALLOC / CACHE_ALIGNMENT]; + free_link * m_free[MAX_PERMANENT_ALLOC / CACHE_ALIGNMENT]; + free_link * m_nearfree[MAX_PERMANENT_ALLOC / CACHE_ALIGNMENT]; }; |