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 ...
1: mrs x0, sctlr_el1 0: tbz w0, #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_dc...
(start + size, ARCH_DMA_MINALIGN); 384 385 invalidate_dcache_range(start, end); 386} 387 388static void eqos_inval_buffer_generic(void *buf, size_t size) 389{ 390 unsigned long start = rounddown((unsigned long)buf, ARCH_DMA_MINALIGN); 391 unsigned long end = roundup((unsigned long...
* Invalidate L1 I/D */ mov r0, #0 @ set up for MCR mcr p15, 0, r0, c8, c7, 0 @ invalidate TLBs //将0写入c8,使TLB内容无效 mcr p15, 0, r0, c7, c5, 0 @ invalidate icache //将0写入c7,使Cache内容无效 /* * disable MMU stuff and caches */ mrc p15, 0, r0, c1, c0,...
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...
/** Invalidate L1 I/D*/mov r0, #0 @ set up for MCRmcr p15, 0, r0, c8, c7, 0 @ invalidate TLBs //将0写入c8,使TLB内容无效mcr p15, 0, r0, c7, c5, 0 @ invalidate icache //将0写入c7,使Cache内容无效/** disable MMU stuff and caches*/mrc p15, 0, r0, c1, c0, 0bic ...
/* 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 ENDPROC(relocate_code) ...
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...
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 ...
#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...