Changeset 77a493a in mainline
- Timestamp:
- 2011-11-08T22:30:17Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5dd830c
- Parents:
- 5dc34af
- Location:
- kernel/arch/arm32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/mm/km.h
r5dc34af r77a493a 36 36 #define KERN_arm32_KM_H_ 37 37 38 #define KM_ARM32_IDENTITY_START UINT32_C(0x80000000) 39 #define KM_ARM32_IDENTITY_SIZE UINT32_C(0x40000000) 40 41 #define KM_ARM32_NON_IDENTITY_START UINT32_C(0xc0000000) 42 #define KM_ARM32_NON_IDENTITY_SIZE UINT32_C(0x40000000) 43 38 44 extern void km_identity_arch_init(void); 39 45 extern void km_non_identity_arch_init(void); -
kernel/arch/arm32/src/mm/km.c
r5dc34af r77a493a 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_ARM32_IDENTITY_START; 40 config.identity_size = KM_ARM32_IDENTITY_SIZE; 37 41 } 38 42 39 43 void km_non_identity_arch_init(void) 40 44 { 45 km_non_identity_span_add(KM_ARM32_NON_IDENTITY_START, 46 KM_ARM32_NON_IDENTITY_SIZE); 41 47 } 42 48
Note:
See TracChangeset
for help on using the changeset viewer.