core_cons.h

来自「6440linuxDriver的源代码」· C头文件 代码 · 共 28 行

H
28
字号
#ifndef _CORE_DIRVER_CONSOLIDATE_H#define _CORE_DRIVER_CONSOLIDATE_H#include "core_header.h"#include "core_exp.h"/* * When you plug-in this command consolidate sub-module to some module * Please define the following the definition. * This is maintained by caller. *//* Get the consolidate sub module extension */#define CONS_GET_EXTENSION(This)					\	(((PCore_Driver_Extension)(This))->pConsolid_Extent)/* Get the device related information consolidate module needs */#define CONS_GET_DEVICE(This, Device_Id)	\	&(((PCore_Driver_Extension)(This))->pConsolid_Device[MapDeviceId(((PCore_Driver_Extension)This),Device_Id)])/* For this device or port, is there any request running? If yes, busy. */#define CONS_DEVICE_IS_BUSY	DEVICE_IO_IS_BUSYextern void Core_InternalSendRequest(MV_PVOID This, PMV_Request pReq);/* In case there is something wrong. We need resend these requests and by pass them. */#define CONS_SEND_REQUEST	Core_InternalSendRequest#endif

⌨️ 快捷键说明

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