mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
PCH for csrss and win32csr, and remove rosrtl usage
svn path=/trunk/; revision=16361
This commit is contained in:
parent
267707560d
commit
14e3b7395b
18 changed files with 62 additions and 91 deletions
|
@ -9,11 +9,7 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "csrss.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
#include "api.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -9,12 +9,7 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "csrss.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
#include "api.h"
|
|
||||||
#include "conio.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -9,16 +9,11 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "csrss.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
#include "api.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
||||||
/* GLOBALS *******************************************************************/
|
/* GLOBALS *******************************************************************/
|
||||||
|
|
||||||
static BOOLEAN ServicesProcessIdValid = FALSE;
|
static BOOLEAN ServicesProcessIdValid = FALSE;
|
||||||
|
|
|
@ -10,12 +10,7 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "csrss.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
#include <rosrtl/thread.h>
|
|
||||||
|
|
||||||
#include "api.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
@ -170,7 +165,7 @@ ClientConnectionThread(HANDLE ServerPort)
|
||||||
|
|
||||||
/* Close the port and exit the thread */
|
/* Close the port and exit the thread */
|
||||||
NtClose(ServerPort);
|
NtClose(ServerPort);
|
||||||
RtlRosExitUserThread(STATUS_SUCCESS);
|
NtTerminateThread(NtCurrentThread(), STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
|
@ -32,13 +32,7 @@
|
||||||
* actually does nothing but running).
|
* actually does nothing but running).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "csrss.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
#include <csrss/csrss.h>
|
|
||||||
#include <reactos/buildno.h>
|
|
||||||
|
|
||||||
#include "api.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
17
reactos/subsys/csrss/csrss.h
Normal file
17
reactos/subsys/csrss/csrss.h
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
/* PSDK/NDK Headers */
|
||||||
|
#include <windows.h>
|
||||||
|
#define NTOS_MODE_USER
|
||||||
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
|
/* Build Number */
|
||||||
|
#include <reactos/buildno.h>
|
||||||
|
|
||||||
|
/* Subsystem Manager Header */
|
||||||
|
#include <sm/helper.h>
|
||||||
|
|
||||||
|
/* Internal CSRSS Headers */
|
||||||
|
#include <api.h>
|
||||||
|
#include <conio.h>
|
||||||
|
#include <csrplugin.h>
|
||||||
|
|
||||||
|
/* EOF */
|
|
@ -13,6 +13,7 @@
|
||||||
<file>user.c</file>
|
<file>user.c</file>
|
||||||
<file>wapi.c</file>
|
<file>wapi.c</file>
|
||||||
</directory>
|
</directory>
|
||||||
|
<pch>csrss.h</pch>
|
||||||
<file>csrss.c</file>
|
<file>csrss.c</file>
|
||||||
<file>init.c</file>
|
<file>init.c</file>
|
||||||
<file>print.c</file>
|
<file>print.c</file>
|
||||||
|
|
|
@ -10,13 +10,7 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "csrss.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
#include <sm/helper.h>
|
|
||||||
|
|
||||||
#include "api.h"
|
|
||||||
#include "csrplugin.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
* Compiled successfully with egcs 1.1.2
|
* Compiled successfully with egcs 1.1.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "csrss.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
#define NDEBUG
|
||||||
#include <csrss/csrss.h>
|
#include <debug.h>
|
||||||
|
|
||||||
VOID STDCALL DisplayString(LPCWSTR lpwString)
|
VOID STDCALL DisplayString(LPCWSTR lpwString)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,16 +3,16 @@
|
||||||
* ReactOS Project
|
* ReactOS Project
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "csrss.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
#define NDEBUG
|
||||||
#include <rosrtl/string.h>
|
#include <debug.h>
|
||||||
|
|
||||||
ULONG
|
ULONG
|
||||||
InitializeVideoAddressSpace(VOID)
|
InitializeVideoAddressSpace(VOID)
|
||||||
{
|
{
|
||||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||||
UNICODE_STRING PhysMemName;
|
UNICODE_STRING PhysMemName = RTL_CONSTANT_STRING(L"\\Device\\PhysicalMemory");
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
HANDLE PhysMemHandle;
|
HANDLE PhysMemHandle;
|
||||||
PVOID BaseAddress;
|
PVOID BaseAddress;
|
||||||
|
@ -25,7 +25,6 @@ InitializeVideoAddressSpace(VOID)
|
||||||
/*
|
/*
|
||||||
* Open the physical memory section
|
* Open the physical memory section
|
||||||
*/
|
*/
|
||||||
RtlRosInitUnicodeStringFromLiteral(&PhysMemName, L"\\Device\\PhysicalMemory");
|
|
||||||
InitializeObjectAttributes(&ObjectAttributes,
|
InitializeObjectAttributes(&ObjectAttributes,
|
||||||
&PhysMemName,
|
&PhysMemName,
|
||||||
0,
|
0,
|
||||||
|
|
|
@ -8,20 +8,7 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "w32csr.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
#include <ddk/ntddblue.h>
|
|
||||||
#include <rosrtl/string.h>
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#include "api.h"
|
|
||||||
#include "conio.h"
|
|
||||||
#include "desktopbg.h"
|
|
||||||
#include "guiconsole.h"
|
|
||||||
#include "tuiconsole.h"
|
|
||||||
#include "win32csr.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -7,12 +7,7 @@
|
||||||
* ReactOS Operating System
|
* ReactOS Operating System
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "w32csr.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
#include "api.h"
|
|
||||||
#include "desktopbg.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -8,11 +8,7 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "w32csr.h"
|
||||||
#include "csrplugin.h"
|
|
||||||
#include "conio.h"
|
|
||||||
#include "desktopbg.h"
|
|
||||||
#include "guiconsole.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -8,13 +8,7 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "w32csr.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
#include <reactos/winlogon.h>
|
|
||||||
|
|
||||||
#include "api.h"
|
|
||||||
#include "win32csr.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -8,10 +8,7 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "w32csr.h"
|
||||||
#include "conio.h"
|
|
||||||
#include "guiconsole.h"
|
|
||||||
#include "win32csr.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -6,13 +6,7 @@
|
||||||
* PURPOSE: Implementation of text-mode consoles
|
* PURPOSE: Implementation of text-mode consoles
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "w32csr.h"
|
||||||
#include <ddk/ntddblue.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include "api.h"
|
|
||||||
#include "conio.h"
|
|
||||||
#include "tuiconsole.h"
|
|
||||||
#include "win32csr.h"
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
21
reactos/subsys/csrss/win32csr/w32csr.h
Normal file
21
reactos/subsys/csrss/win32csr/w32csr.h
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
/* PSDK/NDK Headers */
|
||||||
|
#include <windows.h>
|
||||||
|
#define NTOS_MODE_USER
|
||||||
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
|
/* Our own BLUE.SYS Driver for Console Output */
|
||||||
|
#include <ddk/ntddblue.h>
|
||||||
|
|
||||||
|
/* External Winlogon Header */
|
||||||
|
#include <winlogon.h>
|
||||||
|
|
||||||
|
/* Internal CSRSS Headers */
|
||||||
|
#include <api.h>
|
||||||
|
#include <conio.h>
|
||||||
|
#include <csrplugin.h>
|
||||||
|
#include <desktopbg.h>
|
||||||
|
#include "guiconsole.h"
|
||||||
|
#include "tuiconsole.h"
|
||||||
|
#include <win32csr.h>
|
||||||
|
|
||||||
|
/* EOF */
|
|
@ -8,6 +8,7 @@
|
||||||
<library>kernel32</library>
|
<library>kernel32</library>
|
||||||
<library>user32</library>
|
<library>user32</library>
|
||||||
<library>gdi32</library>
|
<library>gdi32</library>
|
||||||
|
<pch>w32csr.h</pch>
|
||||||
<file>conio.c</file>
|
<file>conio.c</file>
|
||||||
<file>desktopbg.c</file>
|
<file>desktopbg.c</file>
|
||||||
<file>dllmain.c</file>
|
<file>dllmain.c</file>
|
||||||
|
|
Loading…
Reference in a new issue