Changeset 36b01bb2 in mainline for arch/ia64/include/mm/asid.h
- Timestamp:
- 2006-01-24T14:38:29Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fa7d9c4
- Parents:
- 0d8d27c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/mm/asid.h
r0d8d27c r36b01bb2 34 34 typedef __u32 asid_t; 35 35 36 /* 37 * ASID_MAX can range from 2^18 - 1 to 2^24 - 1, 38 * depending on architecture implementation. 36 /** Number of ia64 RIDs (Region Identifiers) per kernel ASID. */ 37 #define RIDS_PER_ASID 7 38 #define RID_OVERFLOW 16777216 /* 2^24 */ 39 40 /** 41 * The point is to have ASID_MAX_ARCH big enough 42 * so that it is never reached and the ASID allocation 43 * mechanism in asid_get() never resorts to stealing. 39 44 */ 40 #define ASID_MAX_ARCH 16777215 /* 2^24 - 1*/45 #define ASID_MAX_ARCH ((asid_t) -1) /**< This value is never reached. */ 41 46 42 #define asid_find_free() ASID_MAX_ARCH 47 /** 48 * Value used to recognize the situation when all ASIDs were already allocated. 49 */ 50 #define ASID_OVERFLOW (RID_OVERFLOW/RIDS_PER_ASID) 51 43 52 #define asid_put_arch(x) 44 53
Note:
See TracChangeset
for help on using the changeset viewer.