Changeset 6968948 in mainline
- Timestamp:
- 2013-01-24T21:41:30Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 378757f
- Parents:
- 077b9172
- Location:
- boot/arch/arm32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/include/mm.h
r077b9172 r6968948 63 63 #define BBXM_RAM_END 0xc0000000 64 64 65 /** Start of ram memory on AM335x */ 66 #define AM335x_RAM_START 0x80000000 67 /** End of ram memory on AM335x */ 68 #define AM335x_RAM_END 0xC0000000 69 65 70 66 71 /* Page table level 0 entry - "section" format is used -
boot/arch/arm32/src/mm.c
r077b9172 r6968948 69 69 const unsigned long address = section << PTE_SECTION_SHIFT; 70 70 if (address >= BBXM_RAM_START && address < BBXM_RAM_END) 71 return 1; 72 #elif defined MACHINE_beaglebone 73 const unsigned long address = section << PTE_SECTION_SHIFT; 74 if (address >= AM335x_RAM_START && address < AM335x_RAM_END) 71 75 return 1; 72 76 #endif
Note:
See TracChangeset
for help on using the changeset viewer.