Changeset 371bd7d in mainline for kernel/arch/ia64/include/mm
- Timestamp:
- 2010-03-27T09:22:17Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36a75a2
- Parents:
- cd82bb1 (diff), eaf22d4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/arch/ia64/include/mm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/include/mm/asid.h
rcd82bb1 r371bd7d 38 38 #ifndef __ASM__ 39 39 40 #include < arch/types.h>40 #include <typedefs.h> 41 41 42 42 typedef uint16_t asid_t; … … 50 50 * but those extra bits are not used by the kernel. 51 51 */ 52 #define RIDS_PER_ASID 752 #define RIDS_PER_ASID 8 53 53 54 54 #define RID_MAX 262143 /* 2^18 - 1 */ 55 #define RID_KERNEL 0 56 #define RID_INVALID 1 55 #define RID_KERNEL7 7 57 56 58 #define ASID2RID(asid, vrn) (((asid)>RIDS_PER_ASID)?(((asid)*RIDS_PER_ASID)+(vrn)):(asid))59 #define RID2ASID(rid) ((rid)/RIDS_PER_ASID)57 #define ASID2RID(asid, vrn) \ 58 ((asid) * RIDS_PER_ASID + (vrn)) 60 59 61 #define ASID_MAX_ARCH (RID_MAX/RIDS_PER_ASID) 60 #define RID2ASID(rid) \ 61 ((rid) / RIDS_PER_ASID) 62 63 #define ASID_MAX_ARCH (RID_MAX / RIDS_PER_ASID) 62 64 63 65 #endif -
kernel/arch/ia64/include/mm/frame.h
rcd82bb1 r371bd7d 42 42 #ifndef __ASM__ 43 43 44 #include < arch/types.h>44 #include <typedefs.h> 45 45 46 46 extern uintptr_t last_frame; -
kernel/arch/ia64/include/mm/page.h
rcd82bb1 r371bd7d 108 108 #include <arch/barrier.h> 109 109 #include <arch/mm/asid.h> 110 #include < arch/types.h>110 #include <typedefs.h> 111 111 #include <debug.h> 112 112 -
kernel/arch/ia64/include/mm/tlb.h
rcd82bb1 r371bd7d 39 39 #include <arch/mm/asid.h> 40 40 #include <arch/interrupt.h> 41 #include < arch/types.h>41 #include <typedefs.h> 42 42 43 43 /** Data and instruction Translation Register indices. */
Note:
See TracChangeset
for help on using the changeset viewer.
