reactos.git
18 years agoRelative include path fixed to absolute path.
Robert Dickenson [Sun, 17 Nov 2002 04:00:33 +0000 (04:00 +0000)]
Relative include path fixed to absolute path.

svn path=/trunk/; revision=3763

18 years agoRevoved lots of unix line breaks.
Eric Kohl [Sat, 16 Nov 2002 00:08:45 +0000 (00:08 +0000)]
Revoved lots of unix line breaks.

svn path=/trunk/; revision=3762

18 years agoFix compillation error.
Casper Hornstrup [Fri, 15 Nov 2002 23:26:16 +0000 (23:26 +0000)]
Fix compillation error.

svn path=/trunk/; revision=3761

18 years ago2002-11-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Fri, 15 Nov 2002 22:30:30 +0000 (22:30 +0000)]
2002-11-15  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/ddk/ldrtypes.h: Move ...
* include/ntos/ldrtypes.h: ... here.
* include/ddk/ntddk.h: Include ldrtypes.h at new location.

svn path=/trunk/; revision=3760

18 years agoRemoved special case of process without process parameter block for initial process...
Eric Kohl [Fri, 15 Nov 2002 22:06:01 +0000 (22:06 +0000)]
Removed special case of process without process parameter block for initial process (smss.exe).

svn path=/trunk/; revision=3759

18 years agoCreate process parameter block for initial process (smss.exe).
Eric Kohl [Fri, 15 Nov 2002 22:04:51 +0000 (22:04 +0000)]
Create process parameter block for initial process (smss.exe).

svn path=/trunk/; revision=3758

18 years agoAdd missing files
Casper Hornstrup [Fri, 15 Nov 2002 21:59:54 +0000 (21:59 +0000)]
Add missing files

svn path=/trunk/; revision=3757

18 years agoAdd missing files.
Casper Hornstrup [Fri, 15 Nov 2002 21:56:37 +0000 (21:56 +0000)]
Add missing files.

svn path=/trunk/; revision=3756

18 years ago2002-11-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Thu, 14 Nov 2002 18:21:07 +0000 (18:21 +0000)]
2002-11-13  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* drivers/bus/acpi/ospm/osl.c (acpi_os_readable, acpi_os_writable):
Match prototypes.
* include/ascii.h (AbortSystemShutdownA): Correct prototype.
* include/debug.h (assert): Wrap in #ifndef assert.
* include/funcs.h (AbortSystemShutdown): Remove duplicate prototype.
* include/ddk/rtltypes.h: Move ...
* include/ntos/rtltypes.h: ... here.
* include/ddk/rtl.h: Move ...
* include/ntos/rtl.h: ... here.
* include/ddk/zwtypes.h: Move ...
* include/ntos/zwtypes.h: ... here.
* include/ddk/zw.h: Move ...
* include/ntos/zw.h: ... here.
| include/ddk/cmfuncs.h: Remove file; Move NtCreateKey to ntos/zw.h.
* include/ntos.h: #include ntos/rtltypes.h, ntos/rtl.h, ntos/zwtypes.h,
and ntos/zw.h.
* include/unicode.h: (AbortSystemShutdownW): Correct prototype.
* include/ddk/ntddk.h: Include headers at new location; Don't include
removed files.
* include/defines.h: Wrap definitions in w32api in #ifndef __USE_W32API.
* include/ntos/zwtypes.h: Ditto.
* include/napi/lpc.h: Ditto.
* include/napi/shared_data.h: Ditto.
* include/napi/teb.h: Ditto.
* include/napi/types.h: Ditto.
* include/ntdll/ldr.h: Ditto.
* include/ntdll/rtl.h: Ditto.
* include/ntos/console.h: Ditto.
* include/ntos/disk.h: Ditto.
* include/ntos/except.h: Ditto.
* include/ntos/file.h: Ditto.
* include/ntos/gditypes.h: Ditto.
* include/ntos/heap.h: Ditto.
* include/ntos/keyboard.h: Ditto.
* include/ntos/mm.h: Ditto.
* include/ntos/ntdef.h: Ditto.
* include/ntos/ps.h: Ditto.
* include/ntos/registry.h: Ditto.
* include/ntos/security.h: Ditto.
* include/ntos/synch.h: Ditto.
* include/ntos/time.h: Ditto.
* include/ntos/types.h: Ditto.
* include/ntos/port.h: Ditto.
* lib/advapi32/misc/shutdown.c (AbortSystemShutdownW,
AbortSystemShutdownA): Correct prototype.
* lib/advapi32/reg/reg.c: #include ntos.h.
* lib/advapi32/sec/misc.c: Ditto.
* lib/advapi32/sec/sid.c: Ditto.
* lib/advapi32/service/sctrl.c: Ditto.
* lib/advapi32/token/token.c: Ditto.
* lib/kernel32/misc/dllmain.c: Ditto.
* ntoskrnl/ex/napi.c: Ditto.
* ntoskrnl/rtl/i386/exception.c: Ditto.
* lib/advapi32/sec/ac.c: Ditto.
(FindFirstFreeAce, GetAce): Change PACE* to PACE_HEADER*.
* lib/advapi32/service/scm.c (EnumServicesStatusExA,
EnumServicesStatusExW, QueryServiceStatusEx): Correct prototype.
* lib/ntdll/rtl/ppb.c (RtlDestroyProcessParameters): Match prototype.
* ntoskrnl/dbg/errinfo.c (DbgGetErrorText): Use %08x, not %08lx.
* ntoskrnl/io/arcname.c (IoCreateSystemRootLink): Use %u, not %lu.
* ntoskrnl/ke/main.c (ExpInitializeExecutive): Ditto.
* (_main): Use %d, not %ld.
* ntoskrnl/include/internal/i386/ke.h: Add #pragma GCC system_header.
* include/ddk/ntdef.h (NTSYSAPI, NTAPI, NTKERNELAPI): Define to STDCALL;
Check if already defined.
* include/base.h (STDCALL, CDECL, CALLBACK, PASCAL): Move to ntos/types.h.

svn path=/trunk/; revision=3755

18 years ago2002-11-13 Rick Gaiser <RickG81@Wanadoo.nl>
Casper Hornstrup [Wed, 13 Nov 2002 21:57:47 +0000 (21:57 +0000)]
2002-11-13  Rick Gaiser  <RickG81@Wanadoo.nl>

* drivers/bus/isapnp/isapnp.c (FindNextReadPort): Increment Port before
checking wether port address is in NE2000 address space range and returning
port address value.

svn path=/trunk/; revision=3754

18 years ago* Added ini file suport (Thanks to Royce Mitchell!)
Eric Kohl [Wed, 13 Nov 2002 18:25:18 +0000 (18:25 +0000)]
* Added ini file suport (Thanks to Royce Mitchell!)
* Improved the partition list.
* Use information from txtsetup.sif to create directories.
* Added basic error handling.

svn path=/trunk/; revision=3753

18 years agoJust getting in sync with removal of obsolete #pragma directive.
Robert Dickenson [Wed, 13 Nov 2002 12:08:26 +0000 (12:08 +0000)]
Just getting in sync with removal of obsolete #pragma directive.
New work soon to come. Having a bad time with heap corruption
when attempting to import massive reg scripts into the ROS registry.

svn path=/trunk/; revision=3752

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

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

svn path=/trunk/; revision=3681

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

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

svn path=/trunk/; revision=3672

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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