adviocfg.h

来自「pc机上经由pci连接的ata和atapi设备驱动」· C头文件 代码 · 共 29 行

H
29
字号

// ATAIOCFG.H - ADVDRVR Configuration file

// Use these #define values to determine what functions are
// included in ADVDRVR for you application.

//---------------------------------------------------------

#define ADVIO_INCL_ATAPI_PIO 1      // not 0 to include ATAPI PIO

#define ADVIO_INCL_ATAPI_DMA 1      // not 0 to inlucde ATAPI DMA

//---------------------------------------------------------

// The following are used to define a 'yield' function for
// multi-thread programs that use ATADRVR. See the file ATAIOPIC.C.

#define ADVIO_INCL_MULTI_THREAD     0  // not 0 for multi-thread support

// the following are not used when ADVIO_INCL_MULIT_THREAD is 0.

#define ADVIO_DEFINE_YIELD extern void Yield( void )

#define ADVIO_CALL_YIELD Yield()

//---------------------------------------------------------

// end adviocfg.h

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?