参照元

説明

引数

返り値

参考

利用箇所一覧。

$ grep -r define_tlb_functions arch/arm
arch/arm/mm/tlb-fa.S:   define_tlb_functions fa, fa_tlb_flags
arch/arm/mm/tlb-v4.S:   define_tlb_functions v4, v4_tlb_flags
arch/arm/mm/tlb-v6.S:   define_tlb_functions v6wbi, v6wbi_tlb_flags
arch/arm/mm/tlb-v7.S:   define_tlb_functions v7wbi, v7wbi_tlb_flags_up, flags_smp=v7wbi_tlb_flags_smp
arch/arm/mm/tlb-v4wbi.S:        define_tlb_functions v4wbi, v4wbi_tlb_flags
arch/arm/mm/proc-macros.S:.macro define_tlb_functions name:req, flags_up:req, flags_smp
arch/arm/mm/tlb-v4wb.S: define_tlb_functions v4wb, v4wb_tlb_flags

実装

.macro define_tlb_functions name:req, flags_up:req, flags_smp
        .type   \name\()_tlb_fns, #object
ENTRY(\name\()_tlb_fns)
        .long   \name\()_flush_user_tlb_range
        .long   \name\()_flush_kern_tlb_range
        .ifnb \flags_smp
                ALT_SMP(.long   \flags_smp )
                ALT_UP(.long    \flags_up )
        .else
                .long   \flags_up
        .endif
        .size   \name\()_tlb_fns, . - \name\()_tlb_fns
.endm

コメント


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS