Changeset e1ed831f in mainline
- Timestamp:
- 2011-11-08T23:06:08Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc428e2
- Parents:
- 5dd830c
- Location:
- kernel/arch/ia64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/include/mm/km.h
r5dd830c re1ed831f 36 36 #define KERN_ia64_KM_H_ 37 37 38 /* 39 * Be conservative and assume the minimal (3 + 51)-bit virtual address width 40 * of the Itanium CPU even if running on CPU with full 64-bit virtual 41 * address width, such as Itanium 2. 42 */ 43 44 #define KM_IA64_IDENTITY_START UINT64_C(0xe000000000000000) 45 #define KM_IA64_IDENTITY_SIZE UINT64_C(0x0004000000000000) 46 47 #define KM_IA64_NON_IDENTITY_START UINT64_C(0xfffc000000000000) 48 #define KM_IA64_NON_IDENTITY_SIZE UINT64_C(0x0004000000000000) 49 38 50 extern void km_identity_arch_init(void); 39 51 extern void km_non_identity_arch_init(void); -
kernel/arch/ia64/src/mm/km.c
r5dd830c re1ed831f 32 32 33 33 #include <arch/mm/km.h> 34 #include <mm/km.h> 35 #include <config.h> 34 36 35 37 void km_identity_arch_init(void) 36 38 { 39 config.identity_base = KM_IA64_IDENTITY_START; 40 config.identity_size = KM_IA64_IDENTITY_SIZE; 37 41 } 38 42 39 43 void km_non_identity_arch_init(void) 40 44 { 45 km_non_identity_span_add(KM_IA64_NON_IDENTITY_START, 46 KM_IA64_NON_IDENTITY_SIZE); 41 47 } 42 48
Note:
See TracChangeset
for help on using the changeset viewer.