Changeset a0d74fd in mainline for arch/ia64/include/mm/asid.h
- Timestamp:
- 2006-03-01T11:07:04Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ad03fe
- Parents:
- 2c49fbbe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/mm/asid.h
r2c49fbbe ra0d74fd 35 35 36 36 typedef __u16 asid_t; 37 typedef __u32 rid_t; 38 39 #endif /* __ASM__ */ 37 40 38 41 /** … … 41 44 * but those extra bits are not used by the kernel. 42 45 */ 43 #endif44 45 46 #define RIDS_PER_ASID 7 47 46 48 #define RID_MAX 262143 /* 2^18 - 1 */ 49 #define RID_KERNEL 0 50 #define RID_INVALID 1 47 51 48 #define ASID2RID(asid, vrn) (((asid) *RIDS_PER_ASID)+(vrn))52 #define ASID2RID(asid, vrn) (((asid)>RIDS_PER_ASID)?(((asid)*RIDS_PER_ASID)+(vrn)):(asid)) 49 53 #define RID2ASID(rid) ((rid)/RIDS_PER_ASID) 50 51 #ifndef __ASM__52 53 54 typedef __u32 rid_t;55 56 #endif57 54 58 55 #define ASID_MAX_ARCH (RID_MAX/RIDS_PER_ASID)
Note:
See TracChangeset
for help on using the changeset viewer.