linux-2.6.33/W()(arm)
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#xd539d7e]
#backlinks
*説明 [#h1c5c613]
-パス: [[linux-2.6.33/arch/arm/include/asm/unified.h]]
-FIXME: これは何?
--説明
**引数 [#n9bb0d39]
-instr
--
**返り値 [#r486fded]
-
--
**参考 [#if6dfed1]
*実装 [#h6793149]
#ifdef CONFIG_THUMB2_KERNEL
-カーネル内で THUMB2 命令を使用する。
THUMB 命令を用いることでサイズの削減に繋がる。
--[[linux-2.6.33/CONFIG_THUMB2_KERNEL]]
#if __GNUC__ < 4
#error Thumb-2 kernel requires gcc >= 4
#endif
-gcc-4 以降でないと THUMB2 命令に対応していない。
--[[linux-2.6.33/__GNUC__]]
(略)
#ifdef __ASSEMBLY__
#define W(instr) instr.w
#endif
(略)
#else /* !CONFIG_THUMB2_KERNEL */
(略)
#ifdef __ASSEMBLY__
#define W(instr) instr
#endif
(略)
#endif /* CONFIG_THUMB2_KERNEL */
*コメント [#u93a0d1b]
終了行:
*参照元 [#xd539d7e]
#backlinks
*説明 [#h1c5c613]
-パス: [[linux-2.6.33/arch/arm/include/asm/unified.h]]
-FIXME: これは何?
--説明
**引数 [#n9bb0d39]
-instr
--
**返り値 [#r486fded]
-
--
**参考 [#if6dfed1]
*実装 [#h6793149]
#ifdef CONFIG_THUMB2_KERNEL
-カーネル内で THUMB2 命令を使用する。
THUMB 命令を用いることでサイズの削減に繋がる。
--[[linux-2.6.33/CONFIG_THUMB2_KERNEL]]
#if __GNUC__ < 4
#error Thumb-2 kernel requires gcc >= 4
#endif
-gcc-4 以降でないと THUMB2 命令に対応していない。
--[[linux-2.6.33/__GNUC__]]
(略)
#ifdef __ASSEMBLY__
#define W(instr) instr.w
#endif
(略)
#else /* !CONFIG_THUMB2_KERNEL */
(略)
#ifdef __ASSEMBLY__
#define W(instr) instr
#endif
(略)
#endif /* CONFIG_THUMB2_KERNEL */
*コメント [#u93a0d1b]
ページ名: