hdwsimuser.h

来自「通过VC源代码」· C头文件 代码 · 共 54 行

H
54
字号
/*****************************************************************************
*           Change Log
*  Date     | Change
*-----------+-----------------------------------------------------------------
*****************************************************************************/
                                            

typedef struct _HDW_SIM_DEVICE_EXTENSION {
    PDEVICE_OBJECT      DeviceObject;
    ULONG               InterruptCount;
    
    ULONG               Level;             // Level    ULONG               Vector;            // Vector    KAFFINITY           Affinity;          // Affinity
    PCM_RESOURCE_LIST  *pResources;

    PVOID               DMARegisterSystemVirtualAddr;   // system address of 

    KSPIN_LOCK          ISRSpinLock;
    PKINTERRUPT         InterruptObject;   // Pointer to the Interrupt Object
    ULONG               mappedSysVect;
                                                

     UNICODE_STRING     ephemeralRegistryPath;
     UNICODE_STRING     parameterRegistryPath;
     UNICODE_STRING     registryPathName;
     
    //
    // Virtual Registers
    //
    void *              pSimulatedRegisterLogicalAddress;    
//    void *              registers;   // defined in HdwSimIoctl.h
    PHYSICAL_ADDRESS    pSimulatedRegisterPhysicalAddress;        
    //
    //  Register spinlock
    //
    BOOLEAN             spin;
    KSPIN_LOCK          registerLock;
    ULONG               interruptLine;
    ULONG               interruptIDT;

    KIRQL               irql;


} HDW_SIM_DEVICE_EXTENSION;
typedef HDW_SIM_DEVICE_EXTENSION *PHDW_SIM_DEVICE_EXTENSION;






⌨️ 快捷键说明

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