*参照元 [#q7d1a2c3] #backlinks *説明 [#hed2fb5e] -パス: [[linux-4.4.1/arch/arm/mm/proc-macros.S]] -FIXME: これは何? --cpu_tlb_fns の定義に用いるマクロ。 --[[linux-4.4.1/cpu_tlb_fns]] **引数 [#a872bdfa] -name -- -flags_up -- -flags_smp -- **返り値 [#o5047673] -なし、関数では無い **参考 [#c257e403] 利用箇所一覧。 $ 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 *実装 [#r20ac6ae] .macro define_tlb_functions name:req, flags_up:req, flags_smp .type \name\()_tlb_fns, #object ENTRY(\name\()_tlb_fns) - --[[linux-4.4.1/ENTRY()]] .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 *コメント [#n7c0f010]