reserve_round_4k,//先4K字节对齐#ifdef CONFIG_ARMreserve_mmu//为mmu页表保留空间,这里将reserve_mmu展开来看,就是将relocaddr 向下移动页表的大小/*__weak int reserve_mmu(void){#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))/* reserve TLB table */gd->arch....
#2, 5f /* skip flushing cache if disabled */ tbz w0, #12, 4f /* skip invalidating i-cache if disabled */ ic iallu /* i-cache invalidate all */ isb sy 4: ldp x0, x1, [sp, #16] bl __asm_flush_dcache_range bl __asm_flush_l3_dcache 5: ldp x29, x30, [sp],#32 ret...
invalidate_dcache_range(addr, addr + len); else flush_dcache_range(addr, addr + len); return addr; } static inline void dma_unmap_single(dma_addr_t addr, size_t len, enum dma_data_direction dir) { len = ALIGN(len, ARCH_DMA_MINALIGN); if (dir != DMA_TO_DEVICE) invalidate_d...
5f /* skip flushing cache if disabled */ tbz w0, #12, 4f /* skip invalidating i-cache if disabled */ ic iallu /* i-cache invalidate all */ isb sy 4: ldp x0, x1, [sp, #16] bl __asm_flush_dcache_range bl __asm_flush_l3_dcache 5: ldp x29, x30, [sp],#32 ret END...
/* skip flushing cache if disabled */ tbz w0, #12, 4f /* skip invalidating i-cache if disabled */ ic iallu /* i-cache invalidate all */ isb sy 4: ldp x0, x1, [sp, #16] bl __asm_flush_dcache_range bl __asm_flush_l3_dcache ...
return invalidate_dcache_range(start, stop); } #else /* #ifndef CONFIG_SYS_DCACHE_OFF */ #else /* #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) */ void invalidate_dcache_all(void) { } void flush_dcache_all(void) { } #endif /* #ifndef CONFIG_SYS_DCACHE_OFF */ #endif /* #if ...
void flush_dcache_all(void); void flush_dcache_range(unsigned long start, unsigned long stop); void invalidate_dcache_range(unsigned long start, unsigned long stop); void invalidate_dcache_all(void); void invalidate_icache_all(void); enum { /* Disable caches (else flush caches ...
408025c4 g F .text 00000064 invalidate_dcache_range 4083c0a4 g F .text 00000020 fdt_first_property_offset 40811a7c g F .text 00000870 do_bootm_states 40831d54 g F .text 00000010 usb3_get_out_ep 40812e28 g F .text 00000094 eth_validate_ethaddr_str 40843508 g F .text 0000005...
367 368 invalidate_dcache_range(start, end); 369} 370 371static void eqos_flush_desc_generic(void *desc) 372{ 373 unsigned long start = (unsigned long)desc; 374 unsigned long end = ALIGN(start + sizeof(struct eqos_desc), 375 ARCH_DMA_MINALIGN); 376 377 flush_dcache_range(start, ...
ic iallu /* i-cache invalidate all */ isb sy 4: ldp x0, x1, [sp, #16] bl __asm_flush_dcache_range bl __asm_flush_l3_dcache 5: ldp x29, x30, [sp],#32 ret 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.