reactos.git
21 years agoCommit of the rest of Gunnars file locking patch.
Robert Dickenson [Wed, 13 Nov 2002 06:01:12 +0000 (06:01 +0000)]
Commit of the rest of Gunnars file locking patch.

svn path=/trunk/; revision=3751

21 years agoadded #ifdef around headers to support test build. Modified debug messages.
Robert Dickenson [Wed, 13 Nov 2002 05:18:03 +0000 (05:18 +0000)]
added #ifdef around headers to support test build. Modified debug messages.

svn path=/trunk/; revision=3750

21 years agoAdded setup information file txtsetup.sif.
Eric Kohl [Tue, 12 Nov 2002 19:17:21 +0000 (19:17 +0000)]
Added setup information file txtsetup.sif.

svn path=/trunk/; revision=3749

21 years agoReworked initial process loader.
Eric Kohl [Tue, 12 Nov 2002 19:12:34 +0000 (19:12 +0000)]
Reworked initial process loader.
Crash the system if the initial process fails within 5 seconds.

svn path=/trunk/; revision=3748

21 years agoRelicensed as LGPL and Released back to the WINE project as per
Steven Edwards [Tue, 12 Nov 2002 15:25:15 +0000 (15:25 +0000)]
Relicensed as LGPL and Released back to the WINE project as per
Rob's Approvial.

svn path=/trunk/; revision=3747

21 years agoImplemented ReadConsoleOutputA() and WriteConsoleInputA().
Marty Dill [Tue, 12 Nov 2002 00:48:26 +0000 (00:48 +0000)]
Implemented ReadConsoleOutputA() and WriteConsoleInputA().

svn path=/trunk/; revision=3746

21 years agoAdded missing exports for a few console functions.
Marty Dill [Tue, 12 Nov 2002 00:46:02 +0000 (00:46 +0000)]
Added missing exports for a few console functions.

svn path=/trunk/; revision=3745

21 years agoCreateDirectoryExW: Fail gracefully if directory name is null/empty.
Marty Dill [Tue, 12 Nov 2002 00:45:16 +0000 (00:45 +0000)]
CreateDirectoryExW: Fail gracefully if directory name is null/empty.

svn path=/trunk/; revision=3744

21 years ago* Changed the access to the bitmap from BYTE to ULONG for speeding up.
Hartmut Birr [Mon, 11 Nov 2002 22:53:26 +0000 (22:53 +0000)]
* Changed the access to the bitmap from BYTE to ULONG for speeding up.

svn path=/trunk/; revision=3743

21 years ago* Do not exit if GetConsoleScreenBufferInfo fails. GetConsoleScreenBufferInfo fails
Hartmut Birr [Mon, 11 Nov 2002 21:53:25 +0000 (21:53 +0000)]
* Do not exit if GetConsoleScreenBufferInfo fails. GetConsoleScreenBufferInfo fails
  if the given handle is redirected to a file or pipe. This stops windres from working.

svn path=/trunk/; revision=3742

21 years ago* Implemented multiple sector commands for reading and writing (only for disks).
Hartmut Birr [Mon, 11 Nov 2002 21:51:33 +0000 (21:51 +0000)]
* Implemented multiple sector commands for reading and writing (only for disks).
* Implemented 32 bit access for I/O (only for disks).
* Both options can be desabled by undefining ENABLE_MULTIMODE and ENABLE_32BIT.

svn path=/trunk/; revision=3741

21 years ago* Used look aside lists to allocate memory for VFATFCB, VFATCCB and VFAT_IRP_CONTEXT.
Hartmut Birr [Mon, 11 Nov 2002 21:49:18 +0000 (21:49 +0000)]
* Used look aside lists to allocate memory for VFATFCB, VFATCCB and VFAT_IRP_CONTEXT.
* Removed IsLastEntry, IsVolEntry, IsDeletedEntry, vfat_wstrlen, vfatGrabFCB,
  vfat_initstr, vfat_wcsncat, vfat_wcsncpy, vfat_movestr, wstrcmpi and replaced
  this functions with existing equivalents or functions from ntoskrnl.
* Merged GetEntryName into vfatGetNextDirEntry for reducing some overhead.
* Implemented a file name cache to speed up the searching for existing fcb.
* Removed some calls to FsdDosDateTimeToFileTime.
* Moved the call to CcZeroData behind the initializing of the cache (in VfatWrite).
* Using existing fcbs in FindFile if there is no '*?' within the search name.

svn path=/trunk/; revision=3740

21 years ago2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 10 Nov 2002 19:24:01 +0000 (19:24 +0000)]
2002-11-10  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* drivers/bus/acpi/include/acpi.h: Include platform/types.h.
* drivers/bus/acpi/include/actypes.h: (UINT8, BOOLEAN, UCHAR, UINT16,
INT32, UINT32, UINT64): Disable, use the OS defined types instead.
* drivers/bus/acpi/include/platform/types.h: Remove all types,
include ntos.h instead.
* drivers/bus/acpi/ospm/include/acpisys.h: Don't include
platform/types.h.

svn path=/trunk/; revision=3739

21 years ago2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 10 Nov 2002 18:17:43 +0000 (18:17 +0000)]
2002-11-10  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/defines.h: Fix warnings when bulding with gcc 3.3.
* include/ddk/status.h: Ditto.
* include/freetype/internal/ftdebug.h: Ditto.
* include/net/ndis.h: Ditto.
* lib/msafd/misc/helpers.c: Ditto.
* lib/user32/windows/defwnd.c: Ditto.
* lib/user32/windows/window.c: Ditto.
* ntoskrnl/cm/ntfunc.c: Ditto.
* ntoskrnl/cm/regfile.c: Ditto.
* ntoskrnl/cm/regobj.c: Ditto.
* ntoskrnl/dbg/errinfo.c: Ditto.
* ntoskrnl/ex/hashtab.c: Ditto.
* ntoskrnl/include/internal/mm.h: Ditto.
* ntoskrnl/io/irp.c: Ditto.
* ntoskrnl/kd/gdbstub.c: Ditto.
* ntoskrnl/ke/queue.c: Ditto.
* ntoskrnl/ke/sem.c: Ditto.
* ntoskrnl/ldr/resource.c: Ditto.
* ntoskrnl/mm/balance.c: Ditto.
* ntoskrnl/mm/freelist.c: Ditto.
* ntoskrnl/mm/mdl.c: Ditto.
* ntoskrnl/mm/npool.c: Ditto.
* ntoskrnl/mm/section.c: Ditto.
* ntoskrnl/rtl/error.c: Ditto.
* ntoskrnl/rtl/mem.c: Ditto.
* ntoskrnl/rtl/string.c: Ditto.
* ntoskrnl/rtl/time.c: Ditto.
* ntoskrnl/rtl/unicode.c: Ditto.
* ntoskrnl/rtl/wstring.c: Ditto.
* ntoskrnl/rtl/i386/exception.c: Ditto.
* subsys/win32k/freetype/src/base/ftinit.c: Ditto.

svn path=/trunk/; revision=3738

21 years agocommitting more developments.
Robert Dickenson [Sun, 10 Nov 2002 14:29:27 +0000 (14:29 +0000)]
committing more developments.

svn path=/trunk/; revision=3737

21 years agochanged "$(RM) *.various" to "- $(RM) *.various" in order to keep the clean rule...
Robert Dickenson [Sun, 10 Nov 2002 14:27:45 +0000 (14:27 +0000)]
changed "$(RM) *.various" to "- $(RM) *.various" in order to keep the clean rule going.

svn path=/trunk/; revision=3736

21 years agoadded a couple of entries within the [\Registry\Machine\SOFTWARE\Classes] section...
Robert Dickenson [Sun, 10 Nov 2002 14:12:41 +0000 (14:12 +0000)]
added a couple of entries within the [\Registry\Machine\SOFTWARE\Classes] section for testing.

svn path=/trunk/; revision=3735

21 years agoadded #ifdef around headers to support private test build and various changes to...
Robert Dickenson [Sun, 10 Nov 2002 14:10:09 +0000 (14:10 +0000)]
added #ifdef around headers to support private test build and various changes to debug diagnostics.

svn path=/trunk/; revision=3734

21 years agoadded #ifdef around headers to support private test build and some temporary zeroing...
Robert Dickenson [Sun, 10 Nov 2002 14:02:44 +0000 (14:02 +0000)]
added #ifdef around headers to support private test build and some temporary zeroing of arrays during debugging.

svn path=/trunk/; revision=3733

21 years agoadded #ifdef around headers to support private test build.
Robert Dickenson [Sun, 10 Nov 2002 14:00:41 +0000 (14:00 +0000)]
added #ifdef around headers to support private test build.

svn path=/trunk/; revision=3732

21 years agoadded #ifdef around headers and some debug message copying/terminating to support...
Robert Dickenson [Sun, 10 Nov 2002 13:57:06 +0000 (13:57 +0000)]
added #ifdef around headers and some debug message copying/terminating to support private test build.

svn path=/trunk/; revision=3731

21 years agochanged the default trace level to MID_TRACE for when DBG is defined.
Robert Dickenson [Sun, 10 Nov 2002 13:53:34 +0000 (13:53 +0000)]
changed the default trace level to MID_TRACE for when DBG is defined.

svn path=/trunk/; revision=3730

21 years agoslight mod to the end of line for received ip packets to display a debug message.
Robert Dickenson [Sun, 10 Nov 2002 13:52:13 +0000 (13:52 +0000)]
slight mod to the end of line for received ip packets to display a debug message.

svn path=/trunk/; revision=3729

21 years agosome un-important modifications to my serial coms test program.
Robert Dickenson [Sun, 10 Nov 2002 13:48:51 +0000 (13:48 +0000)]
some un-important modifications to my serial coms test program.
not of interest for now until I get something commitable for the simple serial driver.

svn path=/trunk/; revision=3728

21 years agojust some code to to some specific key reading tests.
Robert Dickenson [Sun, 10 Nov 2002 13:47:03 +0000 (13:47 +0000)]
just some code to to some specific key reading tests.

svn path=/trunk/; revision=3727

21 years agoadded a whole bunch of hacks #ifdef'd into the header section to support private...
Robert Dickenson [Sun, 10 Nov 2002 13:44:48 +0000 (13:44 +0000)]
added a whole bunch of hacks #ifdef'd into the header section to support private test build.
totally turned the contents upside down so functions are implicitly declared before use without header prototypes.

svn path=/trunk/; revision=3726

21 years agodisplay some extra debug messages on boot to see whats going on.
Robert Dickenson [Sun, 10 Nov 2002 13:40:08 +0000 (13:40 +0000)]
display some extra debug messages on boot to see whats going on.

svn path=/trunk/; revision=3725

21 years agocommitting a parameter swap from Gunnars heap fix which I seem to have missed.
Robert Dickenson [Sun, 10 Nov 2002 13:38:14 +0000 (13:38 +0000)]
committing a parameter swap from Gunnars heap fix which I seem to have missed.

svn path=/trunk/; revision=3724

21 years agoadded #ifdef around headers to support private test build.
Robert Dickenson [Sun, 10 Nov 2002 13:36:59 +0000 (13:36 +0000)]
added #ifdef around headers to support private test build.

svn path=/trunk/; revision=3723

21 years agoadded #ifdef around headers to support private test build and modified debug messages.
Robert Dickenson [Sun, 10 Nov 2002 13:36:15 +0000 (13:36 +0000)]
added #ifdef around headers to support private test build and modified debug messages.

svn path=/trunk/; revision=3722

21 years agoadded trivial comment reference consistancy with DDK prototype.
Robert Dickenson [Sun, 10 Nov 2002 13:34:42 +0000 (13:34 +0000)]
added trivial comment reference consistancy with DDK prototype.

svn path=/trunk/; revision=3721

21 years agouseless change to only some parameter names to be more consistent with DDK prototype.
Robert Dickenson [Sun, 10 Nov 2002 13:33:26 +0000 (13:33 +0000)]
useless change to only some parameter names to be more consistent with DDK prototype.

svn path=/trunk/; revision=3720

21 years agodisplay debug message on boot.
Robert Dickenson [Sun, 10 Nov 2002 13:30:32 +0000 (13:30 +0000)]
display debug message on boot.

svn path=/trunk/; revision=3719

21 years ago* Unlock the address space if MmOpenMemoryAreaByAddress fails (MmWritePhysicalAddress).
Hartmut Birr [Sat, 9 Nov 2002 20:27:03 +0000 (20:27 +0000)]
* Unlock the address space if MmOpenMemoryAreaByAddress fails (MmWritePhysicalAddress).

svn path=/trunk/; revision=3718

21 years agoManually applying Gunnars patch because it's easier this way - and a good chance...
Robert Dickenson [Thu, 7 Nov 2002 16:36:50 +0000 (16:36 +0000)]
Manually applying Gunnars patch because it's easier this way - and a good chance to review mods.

svn path=/trunk/; revision=3717

21 years agoManually applying Gunnars patch because it's easier this way - and a good chance...
Robert Dickenson [Thu, 7 Nov 2002 02:52:37 +0000 (02:52 +0000)]
Manually applying Gunnars patch because it's easier this way - and a good chance to review mods.

svn path=/trunk/; revision=3716

21 years agoManually applying Gunnars patch became it's easier this way - and a good chance to...
Robert Dickenson [Thu, 7 Nov 2002 02:45:29 +0000 (02:45 +0000)]
Manually applying Gunnars patch became it's easier this way - and a good chance to review mods.

svn path=/trunk/; revision=3715

21 years agoReverted previous changes - Mm{Enable,Disable}VirtualMapping are faster
David Welch [Tue, 5 Nov 2002 21:13:15 +0000 (21:13 +0000)]
Reverted previous changes - Mm{Enable,Disable}VirtualMapping are faster
and won't allocate or free page tables. A page fault handler should
never see a disabled page since enabling and disabling is guarded by
a pageop.

svn path=/trunk/; revision=3714

21 years ago* Fixed the length for the page protection.
Hartmut Birr [Tue, 5 Nov 2002 21:01:38 +0000 (21:01 +0000)]
* Fixed the length for the page protection.

svn path=/trunk/; revision=3713

21 years ago* Initialize the return value in DefWndNCCalcSize.
Hartmut Birr [Tue, 5 Nov 2002 20:59:48 +0000 (20:59 +0000)]
* Initialize the return value in DefWndNCCalcSize.

svn path=/trunk/; revision=3712

21 years ago* Fixed the call to LoadImageW/RemovePropW if there is given
Hartmut Birr [Tue, 5 Nov 2002 20:58:20 +0000 (20:58 +0000)]
* Fixed the call to LoadImageW/RemovePropW if there is given
  an identifier in LoadImageA/RemovePropA.

svn path=/trunk/; revision=3711

21 years ago* Fixed the searching for executable files in the spawnXpX/execXpX-functions.
Hartmut Birr [Tue, 5 Nov 2002 20:55:59 +0000 (20:55 +0000)]
* Fixed the searching for executable files in the spawnXpX/execXpX-functions.

svn path=/trunk/; revision=3710

21 years ago* Fixed the searching for the file extension in CreateProcessW.
Hartmut Birr [Tue, 5 Nov 2002 20:54:10 +0000 (20:54 +0000)]
* Fixed the searching for the file extension in CreateProcessW.

svn path=/trunk/; revision=3709

21 years ago* Fixed a wrong pointer initialization in RtlClearBits.
Hartmut Birr [Tue, 5 Nov 2002 20:52:38 +0000 (20:52 +0000)]
* Fixed a wrong pointer initialization in RtlClearBits.

svn path=/trunk/; revision=3708

21 years ago* Check for symbolic-links in ObFindObject.
Hartmut Birr [Tue, 5 Nov 2002 20:51:23 +0000 (20:51 +0000)]
* Check for symbolic-links in ObFindObject.

svn path=/trunk/; revision=3707

21 years ago* Use the cache for images where the section offset is not page
Hartmut Birr [Tue, 5 Nov 2002 20:50:02 +0000 (20:50 +0000)]
* Use the cache for images where the section offset is not page
  alligned in MiReadPage.
* Removed a wrong call to MmReferencePage in MmPageOutSectionView.
* Fixed the length in MmAlterViewAttributes.
* Wait for releasing of the pageop in MmFreeSectionPage.
* Fixed some wrong return values in MmMapViewOfSection.

svn path=/trunk/; revision=3706

21 years ago* Used tagged memory for rmap entries.
Hartmut Birr [Tue, 5 Nov 2002 20:48:08 +0000 (20:48 +0000)]
* Used tagged memory for rmap entries.

svn path=/trunk/; revision=3705

21 years ago* Fixed the used and free block calculation.
Hartmut Birr [Tue, 5 Nov 2002 20:47:05 +0000 (20:47 +0000)]
* Fixed the used and free block calculation.
* Allocate all blocks dword alligned and all big blocks (>=4K) page alligned.

svn path=/trunk/; revision=3704

21 years ago* Fixed the allocation length for the mdl bitmap.
Hartmut Birr [Tue, 5 Nov 2002 20:45:09 +0000 (20:45 +0000)]
* Fixed the allocation length for the mdl bitmap.
* Changed the bit allocation functions to RtlXxxBitMapYyy.
* Fixed the calculation of the starting point for free bitmap entries.

svn path=/trunk/; revision=3703

21 years ago* Fixed the calculation of the gap in MmFindGap.
Hartmut Birr [Tue, 5 Nov 2002 20:43:35 +0000 (20:43 +0000)]
* Fixed the calculation of the gap in MmFindGap.
* Serach for page alligned blocks in MmCreateMemorArea.

svn path=/trunk/; revision=3702

21 years ago* Delete the virtual mapping first before the the mapped range
Hartmut Birr [Tue, 5 Nov 2002 20:41:17 +0000 (20:41 +0000)]
* Delete the virtual mapping first before the the mapped range
  is freed in MmFreeNonPagedPoolRegion.
* Adujust AllocMapHint only if the reserved block starts at AllocMapHint.
* Changed the bit allocation functions to RtlXxxBitMapYyy.

svn path=/trunk/; revision=3701

21 years ago* Call KeBugcheck in MmDeletePageTable/MmFreePageTable if the
Hartmut Birr [Tue, 5 Nov 2002 20:39:03 +0000 (20:39 +0000)]
* Call KeBugcheck in MmDeletePageTable/MmFreePageTable if the
  address points to the kernel address space.
* Check if an other process has inserted a kernel page directory
  entry while waiting for a page (MmGetPageEntry/MmGetPageEntry2).
* Check the kernel page directory only for an entry if the
  address points to the kernel address space (MmGetPageEntry1/2,
  MmDeleteVirtualMapping and MmDeletePageFileMapping).
* Disabled MmEnableVirtualMapping/MmDisableVirtualMapping.
  There is no difference between an entry with disabled mapping and
  a swap entry.

svn path=/trunk/; revision=3700

21 years ago* Locking the address space before accessing it.
Hartmut Birr [Tue, 5 Nov 2002 20:35:33 +0000 (20:35 +0000)]
* Locking the address space before accessing it.
* Fixed some length calculations.

svn path=/trunk/; revision=3699

21 years ago* Disabled all calls to MmEnableVirtualMapping/MmDisableVirtualMapping,
Hartmut Birr [Tue, 5 Nov 2002 20:31:34 +0000 (20:31 +0000)]
* Disabled all calls to MmEnableVirtualMapping/MmDisableVirtualMapping,
  there is no difference for the page entry between a
  disabled mapping and a swap entry.

svn path=/trunk/; revision=3698

21 years ago* Fixed the buffer allocation in NtAccecptConnectedPort.
Hartmut Birr [Tue, 5 Nov 2002 20:27:56 +0000 (20:27 +0000)]
* Fixed the buffer allocation in NtAccecptConnectedPort.

svn path=/trunk/; revision=3697

21 years ago* Setting the DeviceObject and Vbp for given FileObject to zero
Hartmut Birr [Tue, 5 Nov 2002 20:24:33 +0000 (20:24 +0000)]
* Setting the DeviceObject and Vbp for given FileObject to zero
  if the open operation fails. The close and cleanup call must
  not route throught the FSD if the open call failed.
* Wait for the completion from FSD after the close/cleanup call.

svn path=/trunk/; revision=3696

21 years ago2002-11-03 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 3 Nov 2002 20:01:07 +0000 (20:01 +0000)]
2002-11-03  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* apps/tests/lpc/lpcclt.c: Change LPC_MESSAGE_HEADER to LPC_MESSAGE.
* include/csrss/csrss.h: Ditto.
* include/lsass/lsass.h: Ditto.
* include/napi/dbg.h: Ditto.
* include/napi/lpc.h: Ditto.
* lib/kernel32/misc/console.c: Ditto.
* lib/ntdll/csr/lpc.c: Ditto.
* lib/ntdll/dbg/debug.c: Ditto.
* lib/secur32/lsa.c: Ditto.
* ntoskrnl/dbg/user.c: Ditto.
* ntoskrnl/include/internal/port.h: Ditto.
* ntoskrnl/lpc/connect.c: Ditto.
* ntoskrnl/lpc/reply.c: Ditto.
* ntoskrnl/ps/process.c: Ditto.
* subsys/csrss/api/conio.c: Ditto.
* subsys/csrss/api/process.c: Ditto.
* subsys/csrss/api/user.c: Ditto.

svn path=/trunk/; revision=3692

21 years agoDisplay drive letters in partition list.
Eric Kohl [Sat, 2 Nov 2002 23:17:06 +0000 (23:17 +0000)]
Display drive letters in partition list.

svn path=/trunk/; revision=3691

21 years agoUpdate for VALENTA and VALENTW type changes.
Robert Dickenson [Sat, 2 Nov 2002 13:55:06 +0000 (13:55 +0000)]
Update for VALENTA and VALENTW type changes.
Change HANDLE to HKEY throughout.
Bugfix and memory leak fixed.

svn path=/trunk/; revision=3690

21 years agoCreated typedefs for VALENTA and VALENTW, deprecated common VALENT type.
Robert Dickenson [Sat, 2 Nov 2002 13:50:45 +0000 (13:50 +0000)]
Created typedefs for VALENTA and VALENTW, deprecated common VALENT type.

svn path=/trunk/; revision=3689

21 years agoDon't crash when a mouse message doesn't fall inside a window.
David Welch [Fri, 1 Nov 2002 11:29:58 +0000 (11:29 +0000)]
Don't crash when a mouse message doesn't fall inside a window.

svn path=/trunk/; revision=3687

21 years agoFixed race condition between psaux ISR and DPC.
David Welch [Thu, 31 Oct 2002 23:48:06 +0000 (23:48 +0000)]
Fixed race condition between psaux ISR and DPC.

svn path=/trunk/; revision=3686

21 years agoVersion 0.0.21
Jason Filby [Thu, 31 Oct 2002 17:50:55 +0000 (17:50 +0000)]
Version 0.0.21

svn path=/trunk/; revision=3684

21 years agoMerged all exec* and spawn* functions in one source file.
Hartmut Birr [Thu, 31 Oct 2002 07:29:07 +0000 (07:29 +0000)]
Merged all exec* and spawn* functions in one source file.

svn path=/trunk/; revision=3683

21 years agoMerged all exec* and spawn* functions in one source file.
Hartmut Birr [Thu, 31 Oct 2002 07:26:08 +0000 (07:26 +0000)]
Merged all exec* and spawn* functions in one source file.
Reduced some overhead.

svn path=/trunk/; revision=3682

21 years agoFixed warnings.
Eric Kohl [Thu, 31 Oct 2002 01:50:00 +0000 (01:50 +0000)]
Fixed warnings.

svn path=/trunk/; revision=3681

21 years agoFixed minor linker warning for native apps.
Eric Kohl [Thu, 31 Oct 2002 00:48:27 +0000 (00:48 +0000)]
Fixed minor linker warning for native apps.
Only link against default libraries if TARGET_SDKLIBS is not set.

svn path=/trunk/; revision=3680

21 years agoImplemented mouse messages.
David Welch [Thu, 31 Oct 2002 00:03:31 +0000 (00:03 +0000)]
Implemented mouse messages.

svn path=/trunk/; revision=3679

21 years agoRemoved surplus debug messages.
David Welch [Thu, 31 Oct 2002 00:02:01 +0000 (00:02 +0000)]
Removed surplus debug messages.

svn path=/trunk/; revision=3678

21 years agoFix for MS's idiocy on a Win98 boot disk I have.
Brian Palmer [Wed, 30 Oct 2002 23:05:17 +0000 (23:05 +0000)]
Fix for MS's idiocy on a Win98 boot disk I have.
Apparently they use ESP without initializing anything more than SP.

svn path=/trunk/; revision=3677

21 years agoFixed wrong r/o protection of excessive pages. Spotted by Jan Kratochvil.
Eric Kohl [Wed, 30 Oct 2002 19:53:20 +0000 (19:53 +0000)]
Fixed wrong r/o protection of excessive pages. Spotted by Jan Kratochvil.

svn path=/trunk/; revision=3676

21 years agoVarious improvements and hardcoded directory creation.
Eric Kohl [Tue, 29 Oct 2002 18:40:02 +0000 (18:40 +0000)]
Various improvements and hardcoded directory creation.

svn path=/trunk/; revision=3675

21 years agorevert of mass delete of the posix subsystem. perhaps there is hope for it yet.
Rex Jolliff [Tue, 29 Oct 2002 04:45:58 +0000 (04:45 +0000)]
revert of mass delete of the posix subsystem.  perhaps there is hope for it yet.

svn path=/trunk/; revision=3674

21 years agoAdded stub for IsProcessorFeaturePresent() to stop LdrGetProcedureAddress from compla...
Marty Dill [Tue, 29 Oct 2002 04:05:26 +0000 (04:05 +0000)]
Added stub for IsProcessorFeaturePresent() to stop LdrGetProcedureAddress from complaining.

svn path=/trunk/; revision=3673

21 years agoImplemented PeekConsoleInputA().
Marty Dill [Tue, 29 Oct 2002 03:49:32 +0000 (03:49 +0000)]
Implemented PeekConsoleInputA().

svn path=/trunk/; revision=3672

21 years agoRtlOpenCurrentUser() freed a string a little to early in some circumstances - fixed.
Robert Dickenson [Mon, 28 Oct 2002 15:50:25 +0000 (15:50 +0000)]
RtlOpenCurrentUser() freed a string a little to early in some circumstances - fixed.

svn path=/trunk/; revision=3671

21 years agoFixed up some typos.
Robert Dickenson [Mon, 28 Oct 2002 15:45:56 +0000 (15:45 +0000)]
Fixed up some typos.

svn path=/trunk/; revision=3670

21 years agoFound the problem, local copy of win32k.c required here but not in repository?
Robert Dickenson [Mon, 28 Oct 2002 15:27:01 +0000 (15:27 +0000)]
Found the problem, local copy of win32k.c required here but not in repository?

svn path=/trunk/; revision=3669

21 years agoReverted addition of target win32k.a in the SDK import libs.
Robert Dickenson [Mon, 28 Oct 2002 15:20:37 +0000 (15:20 +0000)]
Reverted addition of target win32k.a in the SDK import libs.

svn path=/trunk/; revision=3668

21 years agoRevert one of the makefile changes.
Robert Dickenson [Mon, 28 Oct 2002 15:19:09 +0000 (15:19 +0000)]
Revert one of the makefile changes.
Linking with TARGET_SDKLIBS = win32k.a proved to be a very bad idea!
Something is wrong with building csrss, what happened to subsys/csrss/win32k.c ???

svn path=/trunk/; revision=3667

21 years agoCheck for GMEM_ZEROINIT flag and pass HEAP_ZERO_MEMORY flag to RtlAllocateHeap if...
Robert Dickenson [Mon, 28 Oct 2002 15:08:32 +0000 (15:08 +0000)]
Check for GMEM_ZEROINIT flag and pass HEAP_ZERO_MEMORY flag to RtlAllocateHeap if required.

svn path=/trunk/; revision=3666

21 years agoAdded rule to build win32k.a for linking by csrss.
Robert Dickenson [Mon, 28 Oct 2002 15:04:58 +0000 (15:04 +0000)]
Added rule to build win32k.a for linking by csrss.
This is already in dk/nkm however there doesn't seem to be a make macro to reference this?

svn path=/trunk/; revision=3665

21 years agoAdded some exports required by csrss to get things building again.
Robert Dickenson [Mon, 28 Oct 2002 15:03:18 +0000 (15:03 +0000)]
Added some exports required by csrss to get things building again.

svn path=/trunk/; revision=3664

21 years agoUpdated with fix for missing win32k.lib imports
Robert Dickenson [Mon, 28 Oct 2002 15:02:18 +0000 (15:02 +0000)]
Updated with fix for missing win32k.lib imports

svn path=/trunk/; revision=3663

21 years agoStarting something for VDM support.
Robert Dickenson [Mon, 28 Oct 2002 13:59:59 +0000 (13:59 +0000)]
Starting something for VDM support.

svn path=/trunk/; revision=3662

21 years agoRemoved files that don't belong in the repository.
Robert Dickenson [Mon, 28 Oct 2002 12:10:23 +0000 (12:10 +0000)]
Removed files that don't belong in the repository.

svn path=/trunk/; revision=3661

21 years agodos2unix'd some more files.
David Welch [Sat, 26 Oct 2002 09:53:16 +0000 (09:53 +0000)]
dos2unix'd some more files.

svn path=/trunk/; revision=3660

21 years ago2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 26 Oct 2002 07:32:08 +0000 (07:32 +0000)]
2002-10-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/msvcrt/except/seh.s: Fix end-of-line formatting.
* lib/ntdll/rtl/i386/exception.c: Ditto.
* lib/ntdll/rtl/i386/except.s: Ditto.
* ntoskrnl/rtl/i386/except.s: Ditto.
* ntoskrnl/rtl/i386/seh.s: Ditto.

svn path=/trunk/; revision=3659

21 years ago*** empty log message ***
Casper Hornstrup [Sat, 26 Oct 2002 00:38:01 +0000 (00:38 +0000)]
*** empty log message ***

svn path=/trunk/; revision=3658

21 years ago2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 26 Oct 2002 00:32:19 +0000 (00:32 +0000)]
2002-10-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/msvcrt/Makefile (OBJECTS_EXCEPT): Add except/seh.o; Remove
except/exhand3.o.
* lib/msvcrt/except/exhand2.c (MsvcrtDebug): New function.
* lib/msvcrt/except/unwind.c (PEXCEPTION_FRAME): Remove.
(_global_unwind2): Correct prototype.
* lib/ntdll/makefile (RTL_I386_OBJECTS, ARCH_OBJECTS): New groups.
(TARGET_OBJECTS): Add ARCH_OBJECTS group.
* lib/ntdll/rtl/exception.c (KiUserExceptionDispatcher): Set
NumberParameters in exception record.
(RtlRaiseStatus): Remove.
* ntoskrnl/Makefile (OBJECTS_RTL): Remove rtl/seh.o.
(OBJECTS_RTL_I386): Add rtl/i386/except.o, rtl/i386/exception.o, and
rtl/i386/seh.o.
* ntoskrnl/ke/catch.c (RtlpExecuteHandlerForException,
RtlpDumpExceptionRegistrations, RtlpDispatchException,
RtlpExecuteHandler, RtlpExceptionHandler, RtlpUnwindHandler,
RtlpExecuteHandlerForException, RtlpExecuteHandlerForUnwind,
RtlUnwind): Remove.
(RtlpDispatchException): Add prototype.
* ntoskrnl/ke/i386/usertrap.c (ExceptionTypeStrings): Remove.
* ntoskrnl/ps/create.c (PsCreateTeb): Mark end of exception
registration list.
* tools/helper.mk (TARGET_ASFLAGS): Add -g if DBG = 1.
* lib/msvcrt/except/exhand3.c: Remove.
* ntoskrnl/rtl/seh.c: Ditto.
* lib/msvcrt/except/seh.s: New file.
* lib/ntdll/rtl/i386/except.s: Ditto.
* lib/ntdll/rtl/i386/exception.c: Ditto.
* ntoskrnl/rtl/i386/except.s: Ditto.
* ntoskrnl/rtl/i386/exception.c: Ditto.
* ntoskrnl/rtl/i386/seh.s: Ditto.

svn path=/trunk/; revision=3657

21 years ago2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Fri, 25 Oct 2002 22:59:55 +0000 (22:59 +0000)]
2002-10-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/kernel32/process/create.c (_except_handler): New function.
(BaseProcessStart): Ditto.
(KlCreateFirstThread): Return INVALID_HANDLE_VALUE on error; Call
BaseProcessStart() before process entry point.
* lib/kernel32/thread/thread.c (_except_handler): New function.
(ThreadStartup): Protect thread using SEH constructs.

svn path=/trunk/; revision=3656

21 years ago2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Fri, 25 Oct 2002 22:08:21 +0000 (22:08 +0000)]
2002-10-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/ddk/zw.h (NtProcessStartup): Use standard calling convention.
* subsys/csrss/csrss.c (NtProcessStartup): Ditto.
* subsys/smss/smss.c (NtProcessStartup): Ditto.
* subsys/system/autochk/autochk.c (NtProcessStartup): Ditto.
* subsys/system/usetup/usetup.c (NtProcessStartup): Ditto.

svn path=/trunk/; revision=3655

21 years ago2002-10-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Fri, 25 Oct 2002 21:48:00 +0000 (21:48 +0000)]
2002-10-25  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* apps/tests/tokentest/tokentest.c (ROS_ACE_HEADER): Move field
AccessMask ...
(ROS_ACE): ... here.
(DisplayDacl): Make pAce an ROS_ACE*; Use new path for AceType; Use
sizeof(ACE) instead of sizeof(ACE_HEADER).
* include/ntos/security.h (ACE_HEADER): Move field AccessMask ...
(ACE): ... here.
* lib/ntdll/rtl/acl.c: Use new path for AccessMask.
* ntoskrnl/se/semgr.c: Ditto.
* ntoskrnl/se/acl.c (SepInitDACLs): Use new path for AccessMask; Use
sizeof(ACE) instead of sizeof(ACE_HEADER).
* ntoskrnl/se/token.c (SepCreateSystemProcessToken): Use sizeof(ACE)
instead of sizeof(ACE_HEADER).

svn path=/trunk/; revision=3654

21 years agoPOSIX+ says goodbye and leaves. It used to be fun, now it's just painful
KJK::Hyperion [Thu, 24 Oct 2002 23:29:19 +0000 (23:29 +0000)]
POSIX+ says goodbye and leaves. It used to be fun, now it's just painful

svn path=/trunk/; revision=3653

21 years agoadded tests for StretchBlt, PatBlt and BitBlt by Damon Chandler
Steven Edwards [Thu, 24 Oct 2002 07:46:43 +0000 (07:46 +0000)]
added tests for StretchBlt, PatBlt and BitBlt by Damon Chandler

svn path=/trunk/; revision=3652

21 years agoInitialize registry hives only once.
Eric Kohl [Wed, 23 Oct 2002 17:21:07 +0000 (17:21 +0000)]
Initialize registry hives only once.

svn path=/trunk/; revision=3651

21 years agoAdd some includes to fix part of building. (Adopt me)
Steven Edwards [Wed, 23 Oct 2002 17:07:06 +0000 (17:07 +0000)]
Add some includes to fix part of building. (Adopt me)

svn path=/trunk/; revision=3650

21 years agoKeSetEvent must be called with Wait set to FALSE within a DPC.
Hartmut Birr [Mon, 21 Oct 2002 17:05:32 +0000 (17:05 +0000)]
KeSetEvent must be called with Wait set to FALSE within a DPC.

svn path=/trunk/; revision=3649

21 years agoRevert last changes.
Marty Dill [Mon, 21 Oct 2002 00:53:33 +0000 (00:53 +0000)]
Revert last changes.

svn path=/trunk/; revision=3648

21 years agoImplemented SubtractRect(). Misc fixes.
Marty Dill [Sun, 20 Oct 2002 23:57:03 +0000 (23:57 +0000)]
Implemented SubtractRect(). Misc fixes.

svn path=/trunk/; revision=3647