Subversion Repositories HelenOS-historic

Rev

Rev 980 | Rev 1423 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 980 Rev 1087
Line 68... Line 68...
68
#define PTL3_ENTRIES_ARCH   4096
68
#define PTL3_ENTRIES_ARCH   4096
69
 
69
 
70
#define PTL0_INDEX_ARCH(vaddr)  ((vaddr)>>26) 
70
#define PTL0_INDEX_ARCH(vaddr)  ((vaddr)>>26) 
71
#define PTL1_INDEX_ARCH(vaddr)  0
71
#define PTL1_INDEX_ARCH(vaddr)  0
72
#define PTL2_INDEX_ARCH(vaddr)  0
72
#define PTL2_INDEX_ARCH(vaddr)  0
73
#define PTL3_INDEX_ARCH(vaddr)  (((vaddr)>>14)&0x3fff)
73
#define PTL3_INDEX_ARCH(vaddr)  (((vaddr)>>14) & 0xfff)
74
 
74
 
75
#define SET_PTL0_ADDRESS_ARCH(ptl0)
75
#define SET_PTL0_ADDRESS_ARCH(ptl0)
76
 
76
 
77
#define GET_PTL1_ADDRESS_ARCH(ptl0, i)      (((pte_t *)(ptl0))[(i)].pfn<<12)
77
#define GET_PTL1_ADDRESS_ARCH(ptl0, i)      (((pte_t *)(ptl0))[(i)].pfn<<12)
78
#define GET_PTL2_ADDRESS_ARCH(ptl1, i)      (ptl1)
78
#define GET_PTL2_ADDRESS_ARCH(ptl1, i)      (ptl1)