mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 19:59:49 +00:00
added definitions for SSDT, SSPT, KeServiceDescriptorTable,
KeServiceDescriptorTableShadow, KeAddSystemService(), KE_SERVIDE_DESCRIPTOR_TABLE_ENTRY. svn path=/trunk/; revision=960
This commit is contained in:
parent
55bb357489
commit
185d2be0f1
|
@ -9,5 +9,29 @@ typedef struct _SERVICE_TABLE
|
|||
unsigned long Function;
|
||||
} SERVICE_TABLE, *PSERVICE_TABLE;
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
// System Service Dispatch Table
|
||||
typedef struct t_SSDT {
|
||||
ULONG SysCallPtr;
|
||||
} SSDT, *PSSDT;
|
||||
|
||||
// System Service Parameters Table
|
||||
typedef struct t_SSPT {
|
||||
unsigned int ParamBytes;
|
||||
} SSPT, *PSSPT;
|
||||
|
||||
typedef struct t_KeServiceDescriptorTableEntry {
|
||||
PSSDT pSSDT;
|
||||
unsigned long* ServiceCounterTable;
|
||||
unsigned int NumberOfServices;
|
||||
PSSPT pSSPT;
|
||||
|
||||
} KE_SERVICE_DESCRIPTOR_TABLE_ENTRY, *PKE_SERVICE_DESCRIPTOR_TABLE_ENTRY;
|
||||
|
||||
#pragma pack()
|
||||
|
||||
NTSTATUS KeAddSystemServiceTable( int SSDTindex, PSSDT pSSDT, PSSPT pSSPT, ULONG* SyscallsCountTable );
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue