mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +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
1 changed files with 24 additions and 0 deletions
|
@ -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