|
|
| version 1.23, 2011/01/15 17:17:23 | version 1.25, 2011/12/16 09:05:42 |
|---|---|
| Line 213 typedef struct { | Line 213 typedef struct { |
| UINT8 *memp; /* shortcut for pre-fetch queue */ | UINT8 *memp; /* shortcut for pre-fetch queue */ |
| } TLB_ENTRY_T; | } TLB_ENTRY_T; |
| #if defined(IA32_SUPPORT_TLB) | |
| void tlb_init(void); | void tlb_init(void); |
| void MEMCALL tlb_flush(BOOL allflush); | void MEMCALL tlb_flush(BOOL allflush); |
| void MEMCALL tlb_flush_page(UINT32 laddr); | void MEMCALL tlb_flush_page(UINT32 laddr); |
| TLB_ENTRY_T* MEMCALL tlb_lookup(const UINT32 laddr, const int ucrw); | TLB_ENTRY_T* MEMCALL tlb_lookup(const UINT32 laddr, const int ucrw); |
| #else | |
| #define tlb_init() | |
| #define tlb_flush(allflush) (void)(allflush) | |
| #define tlb_flush_page(la) (void)(la) | |
| #define tlb_lookup(la, ucrw) NULL | |
| #endif | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |