diff options
Diffstat (limited to 'firmware/target/arm/mmu-arm.S')
-rw-r--r-- | firmware/target/arm/mmu-arm.S | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/firmware/target/arm/mmu-arm.S b/firmware/target/arm/mmu-arm.S index 39f0edbfce..88f9095d2f 100644 --- a/firmware/target/arm/mmu-arm.S +++ b/firmware/target/arm/mmu-arm.S | |||
@@ -85,7 +85,7 @@ | |||
85 | /* | 85 | /* |
86 | * void ttb_init(void); | 86 | * void ttb_init(void); |
87 | */ | 87 | */ |
88 | .section .text, "ax", %progbits | 88 | .section .text.ttb_init, "ax", %progbits |
89 | .align 2 | 89 | .align 2 |
90 | .global ttb_init | 90 | .global ttb_init |
91 | .type ttb_init, %function | 91 | .type ttb_init, %function |
@@ -100,7 +100,7 @@ ttb_init: | |||
100 | /* | 100 | /* |
101 | * void map_section(unsigned int pa, unsigned int va, int mb, int flags); | 101 | * void map_section(unsigned int pa, unsigned int va, int mb, int flags); |
102 | */ | 102 | */ |
103 | .section .text, "ax", %progbits | 103 | .section .text.map_section, "ax", %progbits |
104 | .align 2 | 104 | .align 2 |
105 | .global map_section | 105 | .global map_section |
106 | .type map_section, %function | 106 | .type map_section, %function |
@@ -148,7 +148,7 @@ map_section: | |||
148 | /* | 148 | /* |
149 | * void enable_mmu(void); | 149 | * void enable_mmu(void); |
150 | */ | 150 | */ |
151 | .section .text, "ax", %progbits | 151 | .section .text.enable_mmu, "ax", %progbits |
152 | .align 2 | 152 | .align 2 |
153 | .global enable_mmu | 153 | .global enable_mmu |
154 | .type enable_mmu, %function | 154 | .type enable_mmu, %function |
@@ -180,7 +180,7 @@ enable_mmu: | |||
180 | * from DCache afterwards | 180 | * from DCache afterwards |
181 | * void commit_discard_dcache_range(const void *base, unsigned int size); | 181 | * void commit_discard_dcache_range(const void *base, unsigned int size); |
182 | */ | 182 | */ |
183 | .section .text, "ax", %progbits | 183 | .section .text.commit_discard_dcache_range, "ax", %progbits |
184 | .align 2 | 184 | .align 2 |
185 | .global commit_discard_dcache_range | 185 | .global commit_discard_dcache_range |
186 | .type commit_discard_dcache_range, %function | 186 | .type commit_discard_dcache_range, %function |
@@ -228,7 +228,7 @@ invalidate_dcache_range: | |||
228 | * Write DCache back to RAM for the given range | 228 | * Write DCache back to RAM for the given range |
229 | * void commit_dcache_range(const void *base, unsigned int size); | 229 | * void commit_dcache_range(const void *base, unsigned int size); |
230 | */ | 230 | */ |
231 | .section .text, "ax", %progbits | 231 | .section .text.commit_dcache_range, "ax", %progbits |
232 | .align 2 | 232 | .align 2 |
233 | .global commit_dcache_range | 233 | .global commit_dcache_range |
234 | .type commit_dcache_range, %function | 234 | .type commit_dcache_range, %function |
@@ -277,7 +277,7 @@ clean_dcache_range: | |||
277 | * will *NOT* do write back except for buffer edges not on a line boundary | 277 | * will *NOT* do write back except for buffer edges not on a line boundary |
278 | * void discard_dcache_range(const void *base, unsigned int size); | 278 | * void discard_dcache_range(const void *base, unsigned int size); |
279 | */ | 279 | */ |
280 | .section .text, "ax", %progbits | 280 | .section .text.discard_dcache_range, "ax", %progbits |
281 | .align 2 | 281 | .align 2 |
282 | .global discard_dcache_range | 282 | .global discard_dcache_range |
283 | .type discard_dcache_range, %function | 283 | .type discard_dcache_range, %function |
@@ -335,7 +335,7 @@ dump_dcache_range: | |||
335 | * Write entire DCache back to RAM | 335 | * Write entire DCache back to RAM |
336 | * void commit_dcache(void); | 336 | * void commit_dcache(void); |
337 | */ | 337 | */ |
338 | .section .text, "ax", %progbits | 338 | .section .text.commit_dcache, "ax", %progbits |
339 | .align 2 | 339 | .align 2 |
340 | .global commit_dcache | 340 | .global commit_dcache |
341 | .type commit_dcache, %function | 341 | .type commit_dcache, %function |
@@ -372,7 +372,7 @@ cpucache_flush: | |||
372 | * Commit and discard entire DCache, will do writeback | 372 | * Commit and discard entire DCache, will do writeback |
373 | * void commit_discard_dcache(void); | 373 | * void commit_discard_dcache(void); |
374 | */ | 374 | */ |
375 | .section .icode, "ax", %progbits | 375 | .section .icode.commit_discard_dcache, "ax", %progbits |
376 | .align 2 | 376 | .align 2 |
377 | .global commit_discard_dcache | 377 | .global commit_discard_dcache |
378 | .type commit_discard_dcache, %function | 378 | .type commit_discard_dcache, %function |
@@ -405,7 +405,7 @@ invalidate_dcache: | |||
405 | * Discards the entire ICache, and commit+discards the entire DCache | 405 | * Discards the entire ICache, and commit+discards the entire DCache |
406 | * void commit_discard_idcache(void); | 406 | * void commit_discard_idcache(void); |
407 | */ | 407 | */ |
408 | .section .icode, "ax", %progbits | 408 | .section .icode.commit_discard_idcache, "ax", %progbits |
409 | .align 2 | 409 | .align 2 |
410 | .global commit_discard_idcache | 410 | .global commit_discard_idcache |
411 | .type commit_discard_idcache, %function | 411 | .type commit_discard_idcache, %function |