Diff for /np2/i386c/ia32/paging.h between versions 1.21 and 1.22

version 1.21, 2007/02/06 14:20:57 version 1.22, 2008/03/22 04:03:07
Line 126  extern "C" { Line 126  extern "C" {
 /*  /*
  * linear address memory access function   * linear address memory access function
  */   */
 void MEMCALL cpu_memory_access_la_region(UINT32 address, UINT length, const int ucrw, BYTE *data);  void MEMCALL cpu_memory_access_la_region(UINT32 address, UINT length, const int ucrw, UINT8 *data);
 void MEMCALL paging_check(UINT32 laddr, UINT length, const int ucrw);  UINT32 MEMCALL laddr2paddr(const UINT32 laddr, const int ucrw);
   #define laddr_to_paddr(laddr, ucrw) \
           (!CPU_STAT_PAGING) ? (laddr) : (laddr2paddr((laddr), (ucrw)))
   
   
 /* ucrw */  /* ucrw */
 #define CPU_PAGE_WRITE          (1 << 0)  #define CPU_PAGE_WRITE          (1 << 0)
Line 196  void MEMCALL cpu_linear_memory_write_f(U Line 199  void MEMCALL cpu_linear_memory_write_f(U
   
   
 /*  /*
  * CR3 (Page Directory Entry base physical address)  
  */  
 #define set_CR3(cr3) \  
 do { \  
         VERBOSE(("set_CR3: old = %08x, new = 0x%08x", CPU_CR3, (cr3) & CPU_CR3_MASK)); \  
         CPU_CR3 = (cr3) & CPU_CR3_MASK; \  
         CPU_STAT_PDE_BASE = CPU_CR3 & CPU_CR3_PD_MASK; \  
         tlb_flush(FALSE); \  
 } while (/*CONSTCOND*/ 0)  
   
   
 /*  
  * TLB function   * TLB function
  */   */
 typedef struct {  typedef struct {

Removed from v.1.21  
changed lines
  Added in v.1.22


RetroPC.NET-CVS <cvs@retropc.net>