mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:46:17 +00:00
Restore modification.
svn path=/trunk/; revision=9004
This commit is contained in:
parent
879e613c5d
commit
9334666401
4 changed files with 14 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: genw32k.c,v 1.8 2004/04/07 15:02:31 weiden Exp $
|
||||
/* $Id: genw32k.c,v 1.9 2004/04/07 15:32:24 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS version of ntdll
|
||||
|
@ -88,7 +88,7 @@ char *stmp;
|
|||
* Now write the current system call's name
|
||||
* in the service table.
|
||||
*/
|
||||
fprintf(out,"\t\t{ (ULONG)%s }",name);
|
||||
fprintf(out,"\t\t(PVOID (NTAPI *)(VOID))%s",name);
|
||||
|
||||
/* Next system call index */
|
||||
sys_call_idx++;
|
||||
|
@ -143,7 +143,7 @@ char *stmp;
|
|||
* Now write the current system call's ID
|
||||
* in the service table along with its Parameters Size.
|
||||
*/
|
||||
fprintf(out,"\t\t{ %d }",atoi(nr_args) * sizeof(void*));
|
||||
fprintf(out,"\t\t%d",atoi(nr_args) * sizeof(void*));
|
||||
|
||||
/* Next system call index */
|
||||
sys_call_idx++;
|
||||
|
@ -346,4 +346,3 @@ int main(int argc, char* argv[])
|
|||
|
||||
return(ret);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: genntdll.c,v 1.15 2004/04/07 15:02:31 weiden Exp $
|
||||
/* $Id: genntdll.c,v 1.16 2004/04/07 15:32:41 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS version of ntdll
|
||||
|
@ -135,7 +135,7 @@ char *stmp;
|
|||
* Now write the current system call's name
|
||||
* in the service table.
|
||||
*/
|
||||
fprintf(out,"\t\t{ (ULONG)%s }",name);
|
||||
fprintf(out,"\t\t(PVOID (NTAPI *)(VOID))%s",name);
|
||||
}
|
||||
}
|
||||
/* Close the service table (C syntax) */
|
||||
|
@ -194,7 +194,7 @@ char *stmp;
|
|||
* Now write the current system call's ID
|
||||
* in the service table along with its Parameters Size.
|
||||
*/
|
||||
fprintf(out,"\t\t{ %s }",nr_args);
|
||||
fprintf(out,"\t\t%s",nr_args);
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
@ -368,4 +368,3 @@ int main(int argc, char* argv[])
|
|||
|
||||
return(ret);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
#ifndef __NTOS_SERVICE_H
|
||||
#define __NTOS_SERVICE_H
|
||||
|
||||
|
@ -8,28 +9,21 @@
|
|||
|
||||
#ifndef __USE_W32API
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
/* System Service Dispatch Table */
|
||||
typedef struct t_SSDT {
|
||||
ULONG SysCallPtr;
|
||||
} SSDT, *PSSDT;
|
||||
typedef PVOID (NTAPI * SSDT)(VOID);
|
||||
typedef SSDT * PSSDT;
|
||||
|
||||
/* System Service Parameters Table */
|
||||
typedef struct t_SSPT {
|
||||
unsigned int ParamBytes;
|
||||
} SSPT, *PSSPT;
|
||||
typedef UCHAR SSPT, *PSSPT;
|
||||
|
||||
typedef struct t_KeServiceDescriptorTableEntry {
|
||||
PSSDT SSDT;
|
||||
PULONG ServiceCounterTable;
|
||||
unsigned int NumberOfServices;
|
||||
ULONG NumberOfServices;
|
||||
PSSPT SSPT;
|
||||
|
||||
} SSDT_ENTRY, *PSSDT_ENTRY;
|
||||
|
||||
#pragma pack()
|
||||
|
||||
#endif /* __USE_W32API */
|
||||
|
||||
|
||||
|
@ -81,4 +75,3 @@ KeAddSystemServiceTable (
|
|||
|
||||
#endif /* __NTOS_SERVICE_H */
|
||||
|
||||
|
||||
|
|
|
@ -7114,14 +7114,11 @@ KeAcquireSpinLock(
|
|||
OUT PKIRQL OldIrql);
|
||||
|
||||
/* System Service Dispatch Table */
|
||||
typedef struct _SSDT {
|
||||
ULONG SysCallPtr;
|
||||
} SSDT, *PSSDT;
|
||||
typedef PVOID (NTAPI * SSDT)(VOID);
|
||||
typedef SSDT * PSSDT;
|
||||
|
||||
/* System Service Parameters Table */
|
||||
typedef struct _SSPT {
|
||||
ULONG ParamBytes;
|
||||
} SSPT, *PSSPT;
|
||||
typedef UCHAR SSPT, * PSSPT;
|
||||
|
||||
typedef struct _SSDT_ENTRY {
|
||||
PSSDT SSDT;
|
||||
|
@ -9115,4 +9112,3 @@ extern NTOSAPI PBOOLEAN KdDebuggerEnabled;
|
|||
#endif
|
||||
|
||||
#endif /* __WINDDK_H */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue