Commit graph

24 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto a0dd01612e [KERNEL32]
- Move history-functions to a dedicated source file. The functions were created in r47580 and therefore update the description header of the file.

svn path=/branches/ros-csrss/; revision=57709
2012-11-15 17:09:51 +00:00
Hermès Bélusca-Maïto c13acb3749 Fix header (no code changes).
svn path=/branches/ros-csrss/; revision=57708
2012-11-15 16:53:30 +00:00
Hermès Bélusca-Maïto 2ae258d08d [KERNEL32]
- Move alias-functions to a dedicated file. The names of the programmers were retrieved via svn information (see r32093 and r32118).

svn path=/branches/ros-csrss/; revision=57707
2012-11-15 16:51:29 +00:00
Hermès Bélusca-Maïto 66b2c326a5 [KERNEL32]
Fix some comments formatting.

svn path=/branches/ros-csrss/; revision=57706
2012-11-15 16:29:21 +00:00
Hermès Bélusca-Maïto aa2347c408 [KERNEL32]
- Place console.c file in a dedicated directory because I will after split it into logical units (eg. a file for Alias-functions, a file for Read-write functions, etc...) to facilitate maintenance.

svn path=/branches/ros-csrss/; revision=57705
2012-11-15 16:24:43 +00:00
Hermès Bélusca-Maïto f77f05cd9d Synchronize up to trunk's revision r57689.
svn path=/branches/ros-csrss/; revision=57690
2012-11-07 23:07:18 +00:00
Hermès Bélusca-Maïto d736f0b914 [NTDLL]
- Add parameter annotations.
- Improve CSR buffer allocation with 4-byte align.
- Simplify the capture-buffer pointers settings.

[CSRSRV]
- Remove last console structure from csrsrv.h (in next commits it will be placed in a proper header).
- Enable global CSR debugging (for debugging purposes... ;-) ).
- api.c: Enable debugging.
- api.c/.h: Remove old code and deprecated unused definitions.
- Use the Win2k3-compliant version of CsrCreateThread (code from subsystems/csr/csrsrv) (TODO: correct its usage in basesrv:BaseSrvCreateThread).
- init.c: Implement a helper routine, CsrInitCsrRootProcess, in order to initialize the per-process server data (see CSR_PROCESS structure) in the Root CSR process. New process inherit it from this Root process.
- server.c - Add a DPRINT. Remove a hack. Correct a parameter passing.
- session.c - Remove a hack (it will go to the new process initialization in consrv)
- Disable the code of CsrConnectToUser while user32:ClientThreadSetup doesn't work.
- Correct the implementation of CsrValidateMessageBuffer.
- Basic implementation of CsrValidateMessageString using CsrValidateMessageBuffer.

TODO:
- Compare CsrpHandleConnectionRequest with the other one function in api.c.
- Compare CsrValidateMessageBuffer with Win32CsrValidateBuffer ?

svn path=/branches/ros-csrss/; revision=57673
2012-11-05 00:23:58 +00:00
Hermès Bélusca-Maïto a8f1d34118 [KERNEL32]
Use the new messaging structures...

svn path=/branches/ros-csrss/; revision=57668
2012-11-02 18:30:27 +00:00
Hermès Bélusca-Maïto 1f05ce5f28 [KERNEL32]
- Use new messaging structures, defined-names instead of hardcoded values.
- Enable temporary debugging tracing and add some DPRINTs.
- Delete an unused variable.

svn path=/branches/ros-csrss/; revision=57667
2012-11-02 18:28:42 +00:00
Hermès Bélusca-Maïto 1e4253f2c0 [KERNEL32]
This is the first of a series of commits aiming at making kernel32 using the new CSR messaging structures for communicating with Server Dlls.

svn path=/branches/ros-csrss/; revision=57666
2012-11-02 18:00:47 +00:00
Hermès Bélusca-Maïto bd4d83d88f [WIN32K]
- Remove the now unneeded CSR messaging support.
- CsrInit() goes away also and the usage of the CsrProcess is replaced by that of gpepCSRSS.

[WINSRV]
- Use a DLL instance for loading resources, instead of calling GetModuleHandle.

[KERNEL32/NTDLL]
- Remove unneeded variables.

svn path=/branches/ros-csrss/; revision=57665
2012-11-02 13:50:31 +00:00
Hermès Bélusca-Maïto eb1f9f74b7 Forgot two files.
svn path=/branches/ros-csrss/; revision=57654
2012-10-31 00:41:02 +00:00
Hermès Bélusca-Maïto 509461cd33 Synchronize with trunk's revision r57652.
svn path=/branches/ros-csrss/; revision=57653
2012-10-31 00:26:38 +00:00
Hermès Bélusca-Maïto e5f19654e3 [NTDLL/CSR/SM]
- Clean some headers.
- Code formatting.

svn path=/branches/ros-csrss/; revision=57643
2012-10-28 22:56:13 +00:00
Hermès Bélusca-Maïto 43c7fc0c8d Synchronize with trunk's revision r57629.
svn path=/branches/ros-csrss/; revision=57630
2012-10-28 10:05:08 +00:00
Hermès Bélusca-Maïto 3cb1779934 [WIN32SS/USER32]
- Use the new subsystems header winmsg.h
- Use the new USER_API_MESSAGE structure, and adapt co_CsrNotify in consequence.
- Code formatting.

[KERNEL32]
- Use the new subsystems headers basemsg.h, conmsg.h, winmsg.h, etc...

[NTDLL]
- Code formatting only.

svn path=/branches/ros-csrss/; revision=57628
2012-10-27 23:52:28 +00:00
Hermès Bélusca-Maïto 5a3ba45059 [NTDLL]
- Code formatting.
- Fix CSR message length computation.

[CSR]
- Remove unneeded comments.
- Correct arguments names.

svn path=/branches/ros-csrss/; revision=57625
2012-10-27 19:05:10 +00:00
Hermès Bélusca-Maïto b507bd0612 [CSR/BASESRV/CONSRV/WINSRV]
- Fix code headers. No code changes.
- Rename csrcl.h to csr.h for readability purposes.
- exitros.c --> shutdown.c

svn path=/branches/ros-csrss/; revision=57618
2012-10-25 20:40:41 +00:00
Hermès Bélusca-Maïto aab393ca70 Synchronize with trunk's revision r57599.
svn path=/branches/ros-csrss/; revision=57600
2012-10-23 19:54:03 +00:00
Hermès Bélusca-Maïto a195c2bcb5 [NTDLL]
- Fix a variable and a header names.

[CSR]
- Move all the interesting code from the "old" csrsrv (see r57579) to the new one. TODO: finish to reorganize the code.
- Rename the headers to a standard naming I will use for the other server dlls.
- Remove now unneeded files.
(one can sometimes find commented names next to declaration of variables: it is when a variable name doesn't satisfy me because it isn't enough self-explaining for my taste).

[CONSOLE]
- Add a new header for console working (win32csr --> consrv.dll == the console part of winsrv.dll I separate from it, because I plan a profound reworking on the console after all that).


svn path=/branches/ros-csrss/; revision=57591
2012-10-22 00:09:51 +00:00
Hermès Bélusca-Maïto 13fc08ccc7 [NTDLL/KERNEL32]
- Use new naming scheme.

[CSRSRV]
- Continuing headers reorganization.
- Activate new code.

[CSRSRV/WIN32CSR]
- Move some code into basesrv.

[BASESRV]
- Add basesrv.dll
The names of the APIs tables come from http://j00ru.vexillium.org/csrss_list/api_list.html as usual,
however I used the NT 4 ones for testing purposes only. After that I will update them to 2k3 version
and add function stubs. Also some variable names are deduced from the subsystems/win32/csrss/csrsrv/server.c ones.

svn path=/branches/ros-csrss/; revision=57587
2012-10-20 21:03:32 +00:00
Hermès Bélusca-Maïto b5d68787ca [NTDLL]
- Activate new code (but keep the old one for the moment).

svn path=/branches/ros-csrss/; revision=57584
2012-10-20 14:10:50 +00:00
Hermès Bélusca-Maïto 61d07a5b47 [NTDLL/KERNEL32/CSRSRV/WIN32K/USER32/WIN32CSR]
- Use the new messaging structures and the new macros, plus the new CSR_API function's signature (--> and rename some variables).
- Code cleaning & formatting.

[CSRSS/NDK]
- Reorganize all the header files in logical units (server.h for server-side of CSR, client.h for client-side, and msg.h for messaging), removing duplicated definitions.
- Code cleaning & formatting.

The next step would be to activate the code of server-dll loading inside csrsrv, then moving all the console-related APIs from win32csr to winsrv, the latter built with the same structure as csrsrv's.

svn path=/branches/ros-csrss/; revision=57570
2012-10-17 23:10:40 +00:00
Hermès Bélusca-Maïto 65ce146169 Create a branch for working on csrss and co.
svn path=/branches/ros-csrss/; revision=57561
2012-10-14 13:04:31 +00:00