Changeset 6641295 in mainline
- Timestamp:
- 2011-11-08T23:29:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ec1c8e6
- Parents:
- bc428e2
- Location:
- kernel/arch/ppc32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/mm/km.h
rbc428e2 r6641295 36 36 #define KERN_ppc32_KM_H_ 37 37 38 #define KM_PPC32_IDENTITY_START UINT32_C(0x80000000) 39 #define KM_PPC32_IDENTITY_SIZE UINT32_C(0x40000000) 40 41 #define KM_PPC32_NON_IDENTITY_START UINT32_C(0xc0000000) 42 #define KM_PPC32_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/ppc32/src/mm/km.c
rbc428e2 r6641295 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_PPC32_IDENTITY_START; 40 config.identity_size = KM_PPC32_IDENTITY_SIZE; 37 41 } 38 42 39 43 void km_non_identity_arch_init(void) 40 44 { 45 km_non_identity_span_add(KM_PPC32_NON_IDENTITY_START, 46 KM_PPC32_NON_IDENTITY_SIZE); 41 47 } 42 48
Note:
See TracChangeset
for help on using the changeset viewer.