📄 ibmdma.h
字号:
/* ibmDma.h - IBM DMA controller driver header */
/*******************************************************************************
This source and object code has been made available to you by IBM on an
AS-IS basis.
IT IS PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING THE WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE OR OF NONINFRINGEMENT
OF THIRD PARTY RIGHTS. IN NO EVENT SHALL IBM OR ITS LICENSORS BE LIABLE
FOR INCIDENTAL, CONSEQUENTIAL OR PUNITIVE DAMAGES. IBM扴 OR ITS LICENSOR扴
DAMAGES FOR ANY CAUSE OF ACTION, WHETHER IN CONTRACT OR IN TORT, AT LAW OR
AT EQUITY, SHALL BE LIMITED TO A MAXIMUM OF $1,000 PER LICENSE. No license
under IBM patents or patent applications is to be implied by the copyright
license.
Any user of this software should understand that neither IBM nor its
licensors will be responsible for any consequences resulting from the use
of this software.
Any person who transfers this source code or any derivative work must
include the IBM copyright notice, this paragraph, and the preceding two
paragraphs in the transferred software.
Any person who transfers this object code or any derivative work must
include the IBM copyright notice in the transferred software.
COPYRIGHT I B M CORPORATION 2000
LICENSED MATERIAL - PROGRAM PROPERTY OF I B M
*******************************************************************************/
/* modification history
-----------------------
01b,16jul02,mcg use constants for transfer widths in ibmDmaMemToMem
01a,18dec00,mcg created
*/
#ifndef INCibmDmah
#define INCibmDmah
/* Transfer widths supported by ibmDmaMemToMem */
#define IBM_DMA_BYTE 8
#define IBM_DMA_HWORD 16
#define IBM_DMA_WORD 32
#define IBM_DMA_DWORD 64
STATUS ibmDmaDrvInit(void);
STATUS ibmDmaDrvShutdown(void);
STATUS ibmDmaMemToMem(UINT src, UINT dst, int lenBytes,
int channel, int transferWidth);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -