Subversion Repositories HelenOS-historic

Rev

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

Rev 747 Rev 749
Line 40... Line 40...
40
 
40
 
41
/** Number of ia64 RIDs (Region Identifiers) per kernel ASID. */
41
/** Number of ia64 RIDs (Region Identifiers) per kernel ASID. */
42
#define RIDS_PER_ASID       7
42
#define RIDS_PER_ASID       7
43
#define RID_OVERFLOW        16777216    /* 2^24 */
43
#define RID_OVERFLOW        16777216    /* 2^24 */
44
 
44
 
-
 
45
#define ASID2RID(asid, vrn) (((asid)*RIDS_PER_ASID)+(vrn))
-
 
46
#define RID2ASID(rid)       ((rid)/RIDS_PER_ASID)
-
 
47
 
-
 
48
typedef __u32 rid_t;
-
 
49
 
45
/**
50
/**
46
 * This macro is needed only to compile the kernel.
51
 * This macro is needed only to compile the kernel.
47
 * On ia64, its value is ignored.
52
 * On ia64, its value is ignored.
48
 */
53
 */
49
#define ASID_MAX_ARCH       0
54
#define ASID_MAX_ARCH       0