Changeset 9120b69 in mainline
- Timestamp:
- 2013-08-03T17:49:17Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 296a80e
- Parents:
- 2e842f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/src/mm.c
r2e842f2 r9120b69 60 60 static inline int section_cacheable(pfn_t section) 61 61 { 62 const unsigned long address = section << PTE_SECTION_SHIFT; 62 63 #ifdef MACHINE_gta02 63 unsigned long address = section << PTE_SECTION_SHIFT; 64 65 if (address >= GTA02_IOMEM_START && address < GTA02_IOMEM_END) 66 return 0; 67 else 64 if (address < GTA02_IOMEM_START || address >= GTA02_IOMEM_END) 68 65 return 1; 69 66 #elif defined MACHINE_beagleboardxm 70 const unsigned long address = section << PTE_SECTION_SHIFT;71 67 if (address >= BBXM_RAM_START && address < BBXM_RAM_END) 72 68 return 1; 73 69 #elif defined MACHINE_beaglebone 74 const unsigned long address = section << PTE_SECTION_SHIFT;75 70 if (address >= AM335x_RAM_START && address < AM335x_RAM_END) 76 71 return 1; 77 72 #endif 78 return 0;73 return address * 0; 79 74 } 80 75
Note:
See TracChangeset
for help on using the changeset viewer.