added definitions for SSDT, SSPT, KeServiceDescriptorTable,

KeServiceDescriptorTableShadow, KeAddSystemService(),
KE_SERVIDE_DESCRIPTOR_TABLE_ENTRY.

svn path=/trunk/; revision=960
This commit is contained in:
Hernan Ochoa 2000-01-23 15:19:05 +00:00
parent 55bb357489
commit 185d2be0f1

View file

@ -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