*参照元 [#z1d30297]
#backlinks

*説明 [#qa3c4338]
-パス: [[linux-4.4.1/arch/arm/mm/proc-macros.S]]

-FIXME: これは何?
--cpu_cache_fns の定義に用いるマクロ。
--[[linux-4.4.1/cpu_cache_fns]]


**引数 [#le080a39]
-name
--


**返り値 [#zfaa440e]
-なし、関数では無い


**参考 [#ad7949a1]

利用箇所一覧。

 $ grep -r define_cache_functions arch/arm
 arch/arm/mm/cache-fa.S: define_cache_functions fa
 arch/arm/mm/cache-v4.S: define_cache_functions v4
 arch/arm/mm/cache-v6.S: define_cache_functions v6
 arch/arm/mm/cache-v7.S: define_cache_functions v7
 arch/arm/mm/proc-arm1020.S:     define_cache_functions arm1020
 arch/arm/mm/proc-arm1022.S:     define_cache_functions arm1022
 arch/arm/mm/proc-arm1026.S:     define_cache_functions arm1026
 arch/arm/mm/proc-xsc3.S:        define_cache_functions xsc3
 arch/arm/mm/proc-feroceon.S:    define_cache_functions feroceon
 arch/arm/mm/proc-feroceon.S:    define_cache_functions feroceon_range
 arch/arm/mm/proc-macros.S:.macro define_cache_functions name:req
 arch/arm/mm/proc-mohawk.S:      define_cache_functions mohawk
 arch/arm/mm/cache-v4wb.S:       define_cache_functions v4wb
 arch/arm/mm/cache-v4wt.S:       define_cache_functions v4wt
 arch/arm/mm/proc-xscale.S:      define_cache_functions xscale
 arch/arm/mm/proc-xscale.S:      define_cache_functions xscale_80200_A0_A1
 arch/arm/mm/proc-arm1020e.S:    define_cache_functions arm1020e
 arch/arm/mm/proc-arm920.S:      define_cache_functions arm920
 arch/arm/mm/proc-arm922.S:      define_cache_functions arm922
 arch/arm/mm/proc-arm925.S:      define_cache_functions arm925
 arch/arm/mm/proc-arm926.S:      define_cache_functions arm926
 arch/arm/mm/proc-arm940.S:      define_cache_functions arm940
 arch/arm/mm/proc-arm946.S:      define_cache_functions arm946
 arch/arm/mm/cache-nop.S:        define_cache_functions nop


*実装 [#e2d64380]
 .macro define_cache_functions name:req
         .align 2
         .type   \name\()_cache_fns, #object
 ENTRY(\name\()_cache_fns)
-
--[[linux-4.4.1/ENTRY()]]

         .long   \name\()_flush_icache_all
         .long   \name\()_flush_kern_cache_all
         .long   \name\()_flush_kern_cache_louis
         .long   \name\()_flush_user_cache_all
         .long   \name\()_flush_user_cache_range
         .long   \name\()_coherent_kern_range
         .long   \name\()_coherent_user_range
         .long   \name\()_flush_kern_dcache_area
         .long   \name\()_dma_map_area
         .long   \name\()_dma_unmap_area
         .long   \name\()_dma_flush_range
         .size   \name\()_cache_fns, . - \name\()_cache_fns
 .endm


*コメント [#a7c13cb4]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS