- Timestamp:
- 2015-06-06T01:50:56Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0453261
- Parents:
- 94e46c9 (diff), 87a2f9b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- boot
- Files:
-
- 5 edited
-
arch/arm32/src/mm.c (modified) (2 diffs)
-
arch/ppc32/include/asm.h (modified) (1 diff)
-
arch/sparc32/src/ambapp.c (modified) (3 diffs)
-
arch/sparc32/src/mm.c (modified) (1 diff)
-
generic/include/memstr.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/src/mm.c
r94e46c9 rb5143bd 193 193 } 194 194 195 static void enable_paging() 196 { 197 /* c3 - each two bits controls access to the one of domains (16) 195 static void enable_paging(void) 196 { 197 /* 198 * c3 - each two bits controls access to the one of domains (16) 198 199 * 0b01 - behave as a client (user) of a domain 199 200 */ … … 232 233 233 234 /** Start the MMU - initialize page table and enable paging. */ 234 void mmu_start() { 235 void mmu_start(void) 236 { 235 237 disable_paging(); 236 238 #ifdef PROCESSOR_ARCH_armv7_a -
boot/arch/ppc32/include/asm.h
r94e46c9 rb5143bd 35 35 extern void jump_to_kernel(void *, void *, size_t, void *) 36 36 __attribute__((noreturn)); 37 extern void real_mode( );37 extern void real_mode(void); 38 38 39 39 #endif -
boot/arch/sparc32/src/ambapp.c
r94e46c9 rb5143bd 58 58 static void ambapp_scan_area(uintptr_t, unsigned int); 59 59 60 void ambapp_scan( )60 void ambapp_scan(void) 61 61 { 62 62 amba_fake = false; … … 104 104 } 105 105 106 void ambapp_qemu_fake_scan( )106 void ambapp_qemu_fake_scan(void) 107 107 { 108 108 /* UART */ … … 134 134 } 135 135 136 bool ambapp_fake( )136 bool ambapp_fake(void) 137 137 { 138 138 return amba_fake; 139 139 } 140 140 141 void ambapp_print_devices( )141 void ambapp_print_devices(void) 142 142 { 143 143 printf("ABMA devices:\n"); -
boot/arch/sparc32/src/mm.c
r94e46c9 rb5143bd 76 76 } 77 77 78 static void mmu_disable( )78 static void mmu_disable(void) 79 79 { 80 80 uint32_t cr = asi_u32_read(ASI_MMUREGS, 0x000); -
boot/generic/include/memstr.h
r94e46c9 rb5143bd 36 36 37 37 extern void *memcpy(void *, const void *, size_t) 38 __attribute__ ((optimize("-fno-tree-loop-distribute-patterns"))); 38 __attribute__((nonnull(1, 2))) 39 __attribute__((optimize("-fno-tree-loop-distribute-patterns"))); 39 40 extern void *memset(void *, int, size_t) 40 __attribute__ ((optimize("-fno-tree-loop-distribute-patterns"))); 41 extern void *memmove(void *, const void *, size_t); 41 __attribute__((nonnull(1))) 42 __attribute__((optimize("-fno-tree-loop-distribute-patterns"))); 43 extern void *memmove(void *, const void *, size_t) 44 __attribute__((nonnull(1, 2))); 42 45 43 46 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
