reactos.git
19 years agoAdded eventlog service stub.
Eric Kohl [Tue, 25 Jun 2002 21:10:14 +0000 (21:10 +0000)]
Added eventlog service stub.

svn path=/trunk/; revision=3142

19 years agoImplemented CallNamedPipeW() and TransactNamedPipe().
Eric Kohl [Tue, 25 Jun 2002 18:49:38 +0000 (18:49 +0000)]
Implemented CallNamedPipeW() and TransactNamedPipe().

svn path=/trunk/; revision=3141

19 years agoOne case only please.
David Welch [Sat, 22 Jun 2002 11:59:46 +0000 (11:59 +0000)]
One case only please.

svn path=/trunk/; revision=3138

19 years agoUpdated with latest changes for including new net modules.
Robert Dickenson [Fri, 21 Jun 2002 21:05:32 +0000 (21:05 +0000)]
Updated with latest changes for including new net modules.

svn path=/trunk/; revision=3136

19 years agoAdded required definitions for the packet driver to build.
Robert Dickenson [Fri, 21 Jun 2002 20:40:51 +0000 (20:40 +0000)]
Added required definitions for the packet driver to build.

svn path=/trunk/; revision=3135

19 years agoFixed typo/bug in W32kCallWindowProc.
Eugene Ingerman [Fri, 21 Jun 2002 04:14:07 +0000 (04:14 +0000)]
Fixed typo/bug in W32kCallWindowProc.

svn path=/trunk/; revision=3134

19 years agoFixed a long-standing hack to open symbolic link objects.
Eric Kohl [Thu, 20 Jun 2002 21:31:39 +0000 (21:31 +0000)]
Fixed a long-standing hack to open symbolic link objects.

svn path=/trunk/; revision=3133

19 years agoFixed severe bugs in the default value handling of RegSetValue() and RegQueryValue().
Eric Kohl [Thu, 20 Jun 2002 16:31:59 +0000 (16:31 +0000)]
Fixed severe bugs in the default value handling of RegSetValue() and RegQueryValue().
Implemented simple registry links.
Added creation of the CurrentControlSet link.

svn path=/trunk/; revision=3132

19 years agoUpdated PICE to work with recent kernel changes. Changed kernel module handling.
Eugene Ingerman [Thu, 20 Jun 2002 04:46:11 +0000 (04:46 +0000)]
Updated PICE to work with recent kernel changes. Changed kernel module handling.

svn path=/trunk/; revision=3131

19 years agoImplemented registry links (REG_LINK).
Eric Kohl [Wed, 19 Jun 2002 22:32:47 +0000 (22:32 +0000)]
Implemented registry links (REG_LINK).
Create the 'CurrentControlSet' link after the registry has been initialized.

svn path=/trunk/; revision=3130

19 years agoAdded registry link tests.
Eric Kohl [Wed, 19 Jun 2002 22:27:43 +0000 (22:27 +0000)]
Added registry link tests.

svn path=/trunk/; revision=3129

19 years agoAdded new library packet.dll
Robert Dickenson [Wed, 19 Jun 2002 15:50:29 +0000 (15:50 +0000)]
Added new library packet.dll

svn path=/trunk/; revision=3128

19 years agoAdded packet.sys to target list.
Robert Dickenson [Wed, 19 Jun 2002 15:46:32 +0000 (15:46 +0000)]
Added packet.sys to target list.

svn path=/trunk/; revision=3127

19 years agoFixed invalid paths. Added packet to target list.
Robert Dickenson [Wed, 19 Jun 2002 15:45:48 +0000 (15:45 +0000)]
Fixed invalid paths. Added packet to target list.

svn path=/trunk/; revision=3126

19 years agoAdded new exports
Robert Dickenson [Wed, 19 Jun 2002 15:44:47 +0000 (15:44 +0000)]
Added new exports

svn path=/trunk/; revision=3125

19 years agoAdded new driver 'packet', ported from the Windows Packet Capture Driver project.
Robert Dickenson [Wed, 19 Jun 2002 15:43:15 +0000 (15:43 +0000)]
Added new driver 'packet', ported from the Windows Packet Capture Driver project.

svn path=/trunk/; revision=3124

19 years agoAdded .cvsingore file.
Robert Dickenson [Wed, 19 Jun 2002 06:38:03 +0000 (06:38 +0000)]
Added .cvsingore file.

svn path=/trunk/; revision=3123

19 years agoCreated new module for wshirda.dll
Robert Dickenson [Wed, 19 Jun 2002 06:26:11 +0000 (06:26 +0000)]
Created new module for wshirda.dll

svn path=/trunk/; revision=3122

19 years agoPSAPI meta-source files moved in the standard location
KJK::Hyperion [Tue, 18 Jun 2002 22:36:43 +0000 (22:36 +0000)]
PSAPI meta-source files moved in the standard location

svn path=/trunk/; revision=3121

19 years agoPSAPI initial commit
KJK::Hyperion [Tue, 18 Jun 2002 22:16:53 +0000 (22:16 +0000)]
PSAPI initial commit

svn path=/trunk/; revision=3120

19 years agoMoved win32 callback support into a new file.
David Welch [Tue, 18 Jun 2002 22:03:48 +0000 (22:03 +0000)]
Moved win32 callback support into a new file.

svn path=/trunk/; revision=3119

19 years ago2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
David Welch [Tue, 18 Jun 2002 21:51:11 +0000 (21:51 +0000)]
2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* tools/helper.mk: Make an import library a proper target
depending on the .def file.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* subsys/win32k/ntuser/window.c (NtUserGetWindowLong): Began
implementation.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* subsys/win32k/misc/object.c (ObmCreateHandle): Return the
correct handle value.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* subsys/win32k/makefile: Make win32k depend on the file containing
the service table.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* ntoskrnl/ke/i386/stkswitch.S (KeSwitchStackAndRet,
KePushAndStackSwitchAndSysRet): Push one value only.
* ntoskrnl/ps/w32call.c (NtCallbackReturn, NtW32Call): Moved
these functions to a new file. Restore the old trap frame after
returning from a callback.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* lib/user32/windows/message.c (CallWindowProcA, CallWindowProcW):
Convert message to Unicode or ASCII if necessary.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* include/user32/callback.h: Added WM_CREATE and WM_NCCALCSIZE
callbacks.
* lib/user32/windows/window.c (User32SendCREATEMessageForKernel,
User32SendNCCREATEMessageForKernel): Implemented.
* subsys/win32k/ntuser/callback.c (W32kSendCREATEMessage):
Implemented.

2002-06-18  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* include/structs.h: Added Unicode and ASCII versions of
CREATESTRUCT.

svn path=/trunk/; revision=3118

19 years agoFixed GetBiosMemoryMap() function.
Brian Palmer [Tue, 18 Jun 2002 21:40:27 +0000 (21:40 +0000)]
Fixed GetBiosMemoryMap() function.

svn path=/trunk/; revision=3117

19 years agoIoDestroyDriverList(): Free memory of group and service entries.
Eric Kohl [Tue, 18 Jun 2002 07:11:44 +0000 (07:11 +0000)]
IoDestroyDriverList(): Free memory of group and service entries.
IopCreateServiceListEntry(): simplified function and reduced memory consumption.

svn path=/trunk/; revision=3116

19 years agoRtlQueryRegistryValues() must treat REG_MULTI_SZ and REG_EXPAND_SZ values like REG_SZ...
Eric Kohl [Tue, 18 Jun 2002 07:07:42 +0000 (07:07 +0000)]
RtlQueryRegistryValues() must treat REG_MULTI_SZ and REG_EXPAND_SZ values like REG_SZ values upon direct queries.

svn path=/trunk/; revision=3115

19 years agoapps/tests/tokentest.c
joeg [Mon, 17 Jun 2002 23:13:35 +0000 (23:13 +0000)]
apps/tests/tokentest.c

* Fix stupidity that prevented tokentest
  from compiling

svn path=/trunk/; revision=3114

19 years agontoskrnl/ps/process.c
joeg [Mon, 17 Jun 2002 22:52:32 +0000 (22:52 +0000)]
ntoskrnl/ps/process.c

* Call SepCreateSystemProcessToken() when creating the
  initial system process.  Cleanup the token during
  in PiDeleteProcess().

* Call SepInitializeNewProcess() during NtCreateProcess
  to copy the parent processes token to the new process.

ntoskrnl/include/internal/se.h
ntoskrnl/se/token.c

* Change name of SepDuplicationToken() [which was unimplemented]
  to SepDuplicateToken().  Implement it.

* Implement new functions (which are used by process.c)
  SepInitializeNewProcess() and SepCreateSystemToken().

* Correctly (I think) set Token->ImpersonationLevel in
  NtCreateToken().

apps/tests/tokentest/tokentest.c

* Dump the current processes token.

svn path=/trunk/; revision=3113

19 years agontoskrnl/ke/main.c
joeg [Mon, 17 Jun 2002 22:16:34 +0000 (22:16 +0000)]
ntoskrnl/ke/main.c

* Move SeInit2() to before we initialize process
  management so we can create an initial system
  token to go with the initial system process.

ntoskrnl/ps/process.c
* Implement NtOpenProcessToken() by calling
  _NtOpenProcessToken() -- why do we have
  both of these?

* Fix bug in _NtOpenProcessToken() that
  caused us to crash creating the token
  handle.

* Return STATUS_INVALID_INFO_CLASS from
  NtQueryInformationProcess() and
  NtSetInformationProcess() for information classes
  documented as unqueryable or unsettable
  by Gary Nebbet in his book "Native API Reference".

* Fix bug in NtSetInformationProcess() where it
  assigns the primary token -- it derefeneced the
  old token if SeExchangePrimaryToken() failed;
  it should have derferenced it if it succeeded.

svn path=/trunk/; revision=3112

19 years agoCreated new empty module for buiding ws2help.dll
Robert Dickenson [Mon, 17 Jun 2002 19:33:45 +0000 (19:33 +0000)]
Created new empty module for buiding ws2help.dll
Yet to define parameters and return values for all exports.

svn path=/trunk/; revision=3111

19 years agoImproved driver loading sequence with respect to the group order.
Eric Kohl [Mon, 17 Jun 2002 15:47:32 +0000 (15:47 +0000)]
Improved driver loading sequence with respect to the group order.
Added ability to run user-mode services.

svn path=/trunk/; revision=3110

19 years agoImplemented direct query of REG_EXPAND_SZ values.
Eric Kohl [Mon, 17 Jun 2002 15:42:30 +0000 (15:42 +0000)]
Implemented direct query of REG_EXPAND_SZ values.

svn path=/trunk/; revision=3109

19 years agoadded simple tcp server test
Steven Edwards [Mon, 17 Jun 2002 06:01:17 +0000 (06:01 +0000)]
added simple tcp server test

svn path=/trunk/; revision=3108

19 years ago2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
David Welch [Sun, 16 Jun 2002 21:41:16 +0000 (21:41 +0000)]
2002-06-16  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* tools/help.mk: Make the install target depend on all the
files to be installed.

2002-06-16  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* ntoskrnl/ps/thread.c (NtCallbackReturn): Set TSS.Esp0 to the
top of the old stack.
* ntoskrnl/ps/thread.c (NtW32Call): Set TSS.Esp0 to the top of
the new stack. Free the callback stack correctly. Don't copy
portion of the trap frame that doesn't exist in non-v86-mode
interrupts.
* ntoskrnl/ps/thread.c (PsFreeCallbackStack): New function to
free a stack allocated with PsAllocateCallbackStack.

2002-06-16  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* drivers/dd/null/makefile: Commented out local LDFLAGS as
these cause bad relocations in the stripped image.

2002-06-16  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* config: Corrected spelling error.

svn path=/trunk/; revision=3107

19 years agoNtW32Call: replace sizeof(KTRAP_FRAME) with 124 bytes
Jason Filby [Sun, 16 Jun 2002 20:52:07 +0000 (20:52 +0000)]
NtW32Call: replace sizeof(KTRAP_FRAME) with 124 bytes

svn path=/trunk/; revision=3106

19 years agoFixed wrong interpretation of value cell size in NtSetValueKey().
Eric Kohl [Sun, 16 Jun 2002 20:00:34 +0000 (20:00 +0000)]
Fixed wrong interpretation of value cell size in NtSetValueKey().

svn path=/trunk/; revision=3105

19 years agoRevert last change
Casper Hornstrup [Sun, 16 Jun 2002 17:25:58 +0000 (17:25 +0000)]
Revert last change

svn path=/trunk/; revision=3104

19 years agoAvoid importing _pctype when using mingw-runtime 2.0.
Casper Hornstrup [Sun, 16 Jun 2002 16:27:22 +0000 (16:27 +0000)]
Avoid importing _pctype when using mingw-runtime 2.0.

svn path=/trunk/; revision=3103

19 years agoFixed loading of symbol files.
Eric Kohl [Sun, 16 Jun 2002 11:45:06 +0000 (11:45 +0000)]
Fixed loading of symbol files.
Implemented automatic loading of PICE.

svn path=/trunk/; revision=3102

19 years agoUpdated Makefile to fix building
Steven Edwards [Sun, 16 Jun 2002 06:05:28 +0000 (06:05 +0000)]
Updated Makefile to fix building

svn path=/trunk/; revision=3101

19 years agoFixed include path in ramdriver
Steven Edwards [Sun, 16 Jun 2002 06:02:17 +0000 (06:02 +0000)]
Fixed include path in ramdriver

svn path=/trunk/; revision=3100

19 years agoFixed building of Serial Mouse driver (still broken)
Steven Edwards [Sun, 16 Jun 2002 04:47:56 +0000 (04:47 +0000)]
Fixed building of Serial Mouse driver (still broken)

svn path=/trunk/; revision=3099

19 years agoChanged calling convention of EngXxx funtions to STDCALL.
Eric Kohl [Sat, 15 Jun 2002 21:44:08 +0000 (21:44 +0000)]
Changed calling convention of EngXxx funtions to STDCALL.
Added missing includes.

svn path=/trunk/; revision=3096

19 years agoChanged the calling convention used by the video miniport/port driver interface and...
Eric Kohl [Sat, 15 Jun 2002 14:58:25 +0000 (14:58 +0000)]
Changed the calling convention used by the video miniport/port driver interface and the display driver/win32k interface (DrvXxx functions) to STDCALL.
The EngXxx and other funtions will be changed in a second step.

svn path=/trunk/; revision=3095

19 years agoFixed saving of esp in KePushAndStackSwitchAndSysRet.
Hartmut Birr [Sat, 15 Jun 2002 14:57:29 +0000 (14:57 +0000)]
Fixed saving of esp in KePushAndStackSwitchAndSysRet.

svn path=/trunk/; revision=3094

19 years agoFixed missing initialization in PsAllocateCallback
Jason Filby [Sat, 15 Jun 2002 11:27:28 +0000 (11:27 +0000)]
Fixed missing initialization in PsAllocateCallback

svn path=/trunk/; revision=3093

19 years agoCleanup, add display of token values being passed into ZwCreateToken() as well as...
Eric Kohl [Sat, 15 Jun 2002 10:13:35 +0000 (10:13 +0000)]
Cleanup, add display of token values being passed into ZwCreateToken() as well as display of values coming out of the token.
(Patch by Joseph Galbraith)

svn path=/trunk/; revision=3092

19 years agoEnable %wZ and %Z format specifiers (remove #if 0).
Eric Kohl [Sat, 15 Jun 2002 10:12:43 +0000 (10:12 +0000)]
Enable %wZ and %Z format specifiers (remove #if 0).
Fix check for NULL Buffer (it was checking for non-null Buffer).
Fix length field when printing unicode strings; it was printing twice as many characters as it should have.
(Patch by Joseph Galbraith)

svn path=/trunk/; revision=3091

19 years agoFix bug in RtlEqualSid() that caused all sids with the same sub-authority count to...
Eric Kohl [Sat, 15 Jun 2002 10:10:43 +0000 (10:10 +0000)]
Fix bug in RtlEqualSid() that caused all sids with the same sub-authority count to compare equal.
Teach RtlpAddKnownAce() some status values other than STATUS_UNSUCCESSFUL.
(Patch by Joseph Galbraith)

svn path=/trunk/; revision=3090

19 years agoFix bug in RtlpAddKnownAce() that caused it to place the SID in the wrong location.
Eric Kohl [Sat, 15 Jun 2002 10:09:17 +0000 (10:09 +0000)]
Fix bug in RtlpAddKnownAce() that caused it to place the SID in the wrong location.
Teach RtlpAddKnownAce() some status values other than STATUS_UNSUCCESSFUL.
(Patch by Joseph Galbraith)

svn path=/trunk/; revision=3089

19 years agoBugfix: correct memory allocation calculation
Jason Filby [Fri, 14 Jun 2002 20:56:17 +0000 (20:56 +0000)]
Bugfix: correct memory allocation calculation

svn path=/trunk/; revision=3088

19 years agoFixed another typo
Jason Filby [Fri, 14 Jun 2002 19:07:32 +0000 (19:07 +0000)]
Fixed another typo

svn path=/trunk/; revision=3087

19 years agoFixed some typos
Jason Filby [Fri, 14 Jun 2002 18:55:09 +0000 (18:55 +0000)]
Fixed some typos

svn path=/trunk/; revision=3086

19 years agoDon't install static libraries.
Casper Hornstrup [Fri, 14 Jun 2002 17:17:38 +0000 (17:17 +0000)]
Don't install static libraries.

svn path=/trunk/; revision=3085

19 years agoGuiCheck for NtUserRegisterClassExWOW
Jason Filby [Fri, 14 Jun 2002 15:21:43 +0000 (15:21 +0000)]
GuiCheck for NtUserRegisterClassExWOW

svn path=/trunk/; revision=3081

19 years agoFixed direct reference to a driver object.
Eric Kohl [Fri, 14 Jun 2002 14:24:28 +0000 (14:24 +0000)]
Fixed direct reference to a driver object.

svn path=/trunk/; revision=3080

19 years agoPass pointer to CSRSS process on first create request.
Eric Kohl [Fri, 14 Jun 2002 14:23:14 +0000 (14:23 +0000)]
Pass pointer to CSRSS process on first create request.

svn path=/trunk/; revision=3079

19 years agoAdded vga driver
Eric Kohl [Fri, 14 Jun 2002 14:19:28 +0000 (14:19 +0000)]
Added vga driver

svn path=/trunk/; revision=3078

19 years agoDelete dependency files on clean
Casper Hornstrup [Fri, 14 Jun 2002 13:20:08 +0000 (13:20 +0000)]
Delete dependency files on clean

svn path=/trunk/; revision=3077

19 years agoUse standard mingw32 prefix on linux.
Casper Hornstrup [Fri, 14 Jun 2002 13:04:18 +0000 (13:04 +0000)]
Use standard mingw32 prefix on linux.

svn path=/trunk/; revision=3076

19 years agoMake clean rule depend on tools rule
Casper Hornstrup [Fri, 14 Jun 2002 11:06:03 +0000 (11:06 +0000)]
Make clean rule depend on tools rule

svn path=/trunk/; revision=3075

19 years agoFixed automatic loading of required modules.
Eric Kohl [Fri, 14 Jun 2002 07:49:58 +0000 (07:49 +0000)]
Fixed automatic loading of required modules.
Cleaned up module loading interface.

svn path=/trunk/; revision=3074

19 years agoSplit up some stubs into their own files.
David Welch [Thu, 13 Jun 2002 20:36:40 +0000 (20:36 +0000)]
Split up some stubs into their own files.

svn path=/trunk/; revision=3068

19 years agoReseting the conversion qualifier for each new value from the format string.
Hartmut Birr [Thu, 13 Jun 2002 16:45:02 +0000 (16:45 +0000)]
Reseting the conversion qualifier for each new value from the format string.

svn path=/trunk/; revision=3063

19 years agoFixed driver unloading upon failing initialization.
Eric Kohl [Thu, 13 Jun 2002 15:14:28 +0000 (15:14 +0000)]
Fixed driver unloading upon failing initialization.

svn path=/trunk/; revision=3062

19 years agoCross-platform tools added to Makefiles.
Brian Palmer [Thu, 13 Jun 2002 00:39:49 +0000 (00:39 +0000)]
Cross-platform tools added to Makefiles.

svn path=/trunk/; revision=3061

19 years agoUpdated the system hive and the boot driver list.
Eric Kohl [Wed, 12 Jun 2002 23:38:28 +0000 (23:38 +0000)]
Updated the system hive and the boot driver list.

svn path=/trunk/; revision=3060

19 years agoNow ZwLoadDriver() uses the registry path instead of a file name to load a driver.
Eric Kohl [Wed, 12 Jun 2002 23:35:55 +0000 (23:35 +0000)]
Now ZwLoadDriver() uses the registry path instead of a file name to load a driver.

svn path=/trunk/; revision=3059

19 years agoCleaned up the driver loading routines.
Eric Kohl [Wed, 12 Jun 2002 23:33:15 +0000 (23:33 +0000)]
Cleaned up the driver loading routines.

svn path=/trunk/; revision=3058

19 years agoUse the registry to load system start drivers.
Eric Kohl [Wed, 12 Jun 2002 23:30:36 +0000 (23:30 +0000)]
Use the registry to load system start drivers.

svn path=/trunk/; revision=3057

19 years agoUse NtSetSystemInformation() to load win32k.sys because it is not a driver but a...
Eric Kohl [Wed, 12 Jun 2002 23:26:56 +0000 (23:26 +0000)]
Use NtSetSystemInformation() to load win32k.sys because it is not a driver but a kernel extension.

svn path=/trunk/; revision=3056

19 years agoRtlpGetRegistryHandle(): Don't remove a leading backslash if an absolute registry...
Eric Kohl [Wed, 12 Jun 2002 23:24:19 +0000 (23:24 +0000)]
RtlpGetRegistryHandle(): Don't remove a leading backslash if an absolute registry path is used.

svn path=/trunk/; revision=3055

19 years agoBugCheck if no boot drivers are passed to ntoskrnl.exe
Casper Hornstrup [Wed, 12 Jun 2002 14:06:29 +0000 (14:06 +0000)]
BugCheck if no boot drivers are passed to ntoskrnl.exe

svn path=/trunk/; revision=3054

19 years ago* Call RtlCreateUnicodeString() instead of RtlInitUnicodeString() when
Casper Hornstrup [Wed, 12 Jun 2002 14:05:03 +0000 (14:05 +0000)]
* Call RtlCreateUnicodeString() instead of RtlInitUnicodeString() when
  initializing the DeviceNode->ServiceName, since IopFreeDeviceNode()
  will use RtlFreeUnicodeString() on it.

* Call ObDereferenceObject() instead of ExFreePool() to release the
  DeviceObject if DriverEntry fails.
  Patch from Joseph Galbraith.

svn path=/trunk/; revision=3053

19 years agoanother test of commit mailer
Rex Jolliff [Wed, 12 Jun 2002 02:32:14 +0000 (02:32 +0000)]
another test of commit mailer

svn path=/trunk/; revision=3052

19 years agoa test of commit mailer
Rex Jolliff [Wed, 12 Jun 2002 01:59:50 +0000 (01:59 +0000)]
a test of commit mailer

svn path=/trunk/; revision=3051

19 years ago2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
David Welch [Tue, 11 Jun 2002 22:09:03 +0000 (22:09 +0000)]
2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* subsys/system/winlogon/winlogon.c (WinMain): Check for
failure when creating a window system.

2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* ntoskrnl/ob/handle.c (ObDuplicateObject): Added this internal
function for duplicating objects.
* ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the parent
process's window station to the child process.
* ntoskrnl/ps/process.c (PsInitProcessManagement): Initialize the
first process's window station.

2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* ntoskrnl/mm/marea.c (MmCreateMemoryArea): Initialise
page operation structure members.
* ntoskrnl/mm/pageop.c (MmReleasePageOp, MmGetPageOp): Increment
or decrement the page operation count in the memory area.
* ntoskrnl/mm/virtual.c (MmNotPresentFaultVirtualMemory,
MmPageOutVirtualMemory): Check for a deleted memory area before
handling the fault.
* ntoskrnl/mm/virtual.c (MmFreeVirtualMemory): Wait for all
page operations to finish before freeing the memory area.

2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* ntoskrnl/ke/i386/syscall.S (interrupt_handler2e): Corrected
test for previous mode, upper 16-bit of CS on the stack after an
interrupt are arbitary.

2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* lib/user32/misc/winsta.c: Cleaned up indentation.

2002-06-11  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* apps/tests/winhello/winhello.c (WinMain, MainWndProc):
Cleaned up formatting, some more error checks.

2002-06-04  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* ntoskrnl/mm/virtual.c (MmSecureVirtualMemory,
MmUnsecureVirtualMemory, NtQueryVirtualMemory): Corrected indentation.

svn path=/trunk/; revision=3050

19 years agoAdd multi and expand registry key type support.
Casper Hornstrup [Tue, 11 Jun 2002 20:10:36 +0000 (20:10 +0000)]
Add multi and expand registry key type support.

svn path=/trunk/; revision=3049

19 years agoFixed LdrpCompareModuleNames() to accept fully qualified path names too.
Eric Kohl [Tue, 11 Jun 2002 18:37:23 +0000 (18:37 +0000)]
Fixed LdrpCompareModuleNames() to accept fully qualified path names too.

svn path=/trunk/; revision=3048

19 years agoCaches the current FAT sector so it doesn't read again if it doesn't have to.
Brian Palmer [Tue, 11 Jun 2002 16:58:31 +0000 (16:58 +0000)]
Caches the current FAT sector so it doesn't read again if it doesn't have to.

svn path=/trunk/; revision=3047

19 years agoKill warnings.\n Use DbgPrint for debugging registry.
Casper Hornstrup [Tue, 11 Jun 2002 16:23:20 +0000 (16:23 +0000)]
Kill warnings.\n Use DbgPrint for debugging registry.

svn path=/trunk/; revision=3046

19 years agoOptimized FAT32 bootsector to read more than 1 sector at a time on systems supporting...
Brian Palmer [Tue, 11 Jun 2002 05:41:45 +0000 (05:41 +0000)]
Optimized FAT32 bootsector to read more than 1 sector at a time on systems supporting LBA calls.

svn path=/trunk/; revision=3045

19 years agoChanged data structure which represents driver objects from MODULE_OBJECT to DRIVER_O...
Eric Kohl [Mon, 10 Jun 2002 23:04:48 +0000 (23:04 +0000)]
Changed data structure which represents driver objects from MODULE_OBJECT to DRIVER_OBJECT.
Now a DriverEntry's RegistryPath string is usable automagically.

svn path=/trunk/; revision=3044

19 years agoReference/Dereference the process object in PiTerminateProcess.
Hartmut Birr [Mon, 10 Jun 2002 21:37:45 +0000 (21:37 +0000)]
Reference/Dereference the process object in PiTerminateProcess.

svn path=/trunk/; revision=3043

19 years agoUnmap the pages first and than remove the entries from the allocation map in MmUnmapL...
Hartmut Birr [Mon, 10 Jun 2002 21:36:31 +0000 (21:36 +0000)]
Unmap the pages first and than remove the entries from the allocation map in MmUnmapLockedPages.

svn path=/trunk/; revision=3042

19 years agoReplaced all calls to MmDereferencePage with MmReleasePageMemoryConsumer.
Hartmut Birr [Mon, 10 Jun 2002 21:34:38 +0000 (21:34 +0000)]
Replaced all calls to MmDereferencePage with MmReleasePageMemoryConsumer.
Added handling for multiple referenced pages in MmReleasePageMemoryConsumer.

svn path=/trunk/; revision=3041

19 years agoAdded flushing of file streams.
Hartmut Birr [Mon, 10 Jun 2002 21:28:36 +0000 (21:28 +0000)]
Added flushing of file streams.

svn path=/trunk/; revision=3040

19 years agoRewrote fread/fwrite for a better/faster handling of reads/writes requests.
Hartmut Birr [Mon, 10 Jun 2002 21:26:36 +0000 (21:26 +0000)]
Rewrote fread/fwrite for a better/faster handling of reads/writes requests.

svn path=/trunk/; revision=3039

19 years agoFixed ftell for streams which are opened for reading and writing.
Hartmut Birr [Mon, 10 Jun 2002 21:23:34 +0000 (21:23 +0000)]
Fixed ftell for streams which are opened for reading and writing.

svn path=/trunk/; revision=3038

19 years agoFixed fflush for non dirty file streams.
Hartmut Birr [Mon, 10 Jun 2002 21:21:06 +0000 (21:21 +0000)]
Fixed fflush for non dirty file streams.

svn path=/trunk/; revision=3037

19 years agoFixed a minor bug in updEntry.
Hartmut Birr [Mon, 10 Jun 2002 21:19:18 +0000 (21:19 +0000)]
Fixed a minor bug in updEntry.

svn path=/trunk/; revision=3036

19 years agoUpdating the directory entries in VfatWrite only, if the allocation size has changed.
Hartmut Birr [Mon, 10 Jun 2002 21:17:57 +0000 (21:17 +0000)]
Updating the directory entries in VfatWrite only, if the allocation size has changed.
Added zeroing for files, if the write starts after the current end of the file.

svn path=/trunk/; revision=3035

19 years agoAdded updating of directory entries in VfatCleanupFile/VfatCloseFile.
Hartmut Birr [Mon, 10 Jun 2002 21:15:58 +0000 (21:15 +0000)]
Added updating of directory entries in VfatCleanupFile/VfatCloseFile.

svn path=/trunk/; revision=3034

19 years agoFixed a minor bug in CcSetFileSizes.
Hartmut Birr [Mon, 10 Jun 2002 21:13:26 +0000 (21:13 +0000)]
Fixed a minor bug in CcSetFileSizes.

svn path=/trunk/; revision=3033

19 years agoImplemented CcZeroData.
Hartmut Birr [Mon, 10 Jun 2002 21:11:56 +0000 (21:11 +0000)]
Implemented CcZeroData.

svn path=/trunk/; revision=3032

19 years agoMoved io/drvlck.c to mm.
Eric Kohl [Mon, 10 Jun 2002 08:50:55 +0000 (08:50 +0000)]
Moved io/drvlck.c to mm.
Minimize access to the module object via the object manager.
Use module list for internal module management.
Protect module list with a spinlock.

svn path=/trunk/; revision=3031

19 years agoHandle multi-string group order list properly.
Eric Kohl [Sun, 9 Jun 2002 13:28:49 +0000 (13:28 +0000)]
Handle multi-string group order list properly.

svn path=/trunk/; revision=3030

19 years agoPSXSS: It seems the renamed csrterm did not get in the repository.
Emanuele Aliberti [Sun, 9 Jun 2002 08:37:07 +0000 (08:37 +0000)]
PSXSS: It seems the renamed csrterm did not get in the repository.
PSXSS: I try again.

svn path=/trunk/; revision=3029

19 years agoFixed bug that was preventing FreeLoader from booting on FAT32 systems.
Brian Palmer [Sun, 9 Jun 2002 00:03:58 +0000 (00:03 +0000)]
Fixed bug that was preventing FreeLoader from booting on FAT32 systems.

svn path=/trunk/; revision=3028

19 years agoChanges in v1.3.1 (6/8/2002)
Brian Palmer [Sat, 8 Jun 2002 19:20:01 +0000 (19:20 +0000)]
Changes in v1.3.1 (6/8/2002)

- Implemented MmAllocateMemoryAtAddress()
- Fixed Linux boot code to go through the memory manager to allocate memory at 1MB

svn path=/trunk/; revision=3027

19 years agoMostly path fixing after new modules layout is in effect.
Emanuele Aliberti [Sat, 8 Jun 2002 16:28:05 +0000 (16:28 +0000)]
Mostly path fixing after new modules layout is in effect.
I renamed the terminal emulator CSRTERM: now it is named POSIXW32,
because it is a a door to reach the POSIX+ subsystem FROM the Win32
subsystem.

svn path=/trunk/; revision=3026