linux-4.4.1/dma_addr_t
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#j90f74e8]
#backlinks
*説明 [#l80f5fb5]
-パス: [[linux-4.4.1/include/linux/types.h]]
-DMA アドレス
--アーキテクチャにより 64bit の場合と 32bit の場合がある。
**参考 [#vf7c9f3b]
*実装 [#wb16b44e]
/*
* A dma_addr_t can hold any valid DMA address, i.e., an...
* by the DMA API.
*
* If the DMA API only uses 32-bit addresses, dma_addr_t...
* bits wide. Bus addresses, e.g., PCI BARs, may be wid...
* but drivers do memory-mapped I/O to ioremapped kernel...
* so they don't care about the size of the actual bus a...
*/
#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
-
--[[linux-4.4.1/CONFIG_ARCH_DMA_ADDR_T_64BIT]]
typedef u64 dma_addr_t;
#else
typedef u32 dma_addr_t;
#endif
*コメント [#t2aafbb3]
終了行:
*参照元 [#j90f74e8]
#backlinks
*説明 [#l80f5fb5]
-パス: [[linux-4.4.1/include/linux/types.h]]
-DMA アドレス
--アーキテクチャにより 64bit の場合と 32bit の場合がある。
**参考 [#vf7c9f3b]
*実装 [#wb16b44e]
/*
* A dma_addr_t can hold any valid DMA address, i.e., an...
* by the DMA API.
*
* If the DMA API only uses 32-bit addresses, dma_addr_t...
* bits wide. Bus addresses, e.g., PCI BARs, may be wid...
* but drivers do memory-mapped I/O to ioremapped kernel...
* so they don't care about the size of the actual bus a...
*/
#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
-
--[[linux-4.4.1/CONFIG_ARCH_DMA_ADDR_T_64BIT]]
typedef u64 dma_addr_t;
#else
typedef u32 dma_addr_t;
#endif
*コメント [#t2aafbb3]
ページ名: