19 years agoModified to use new include file reactos/include/snmp.h to be committed shortly.
Robert Dickenson [Fri, 23 Aug 2002 08:26:52 +0000 (08:26 +0000)]
Modified to use new include file reactos/include/snmp.h to be committed shortly.

svn path=/trunk/; revision=3378

19 years agoAdded entries for new network applications.
Robert Dickenson [Fri, 23 Aug 2002 08:24:13 +0000 (08:24 +0000)]
Added entries for new network applications.

svn path=/trunk/; revision=3377

19 years agoCreated framework for new network utility applications.
Robert Dickenson [Fri, 23 Aug 2002 08:23:28 +0000 (08:23 +0000)]
Created framework for new network utility applications.

svn path=/trunk/; revision=3376

19 years ago-Implemented ReadConsoleOutputCharacterA and CsrReadConsoleOutputChar
Eric Kohl [Thu, 22 Aug 2002 15:21:57 +0000 (15:21 +0000)]
-Implemented ReadConsoleOutputCharacterA and CsrReadConsoleOutputChar
-Added null pointer check to FillConsoleOutputCharacterA
-Added parameter names and removed 'undocumented' label for
GetConsoleFontSize and GetCurrentConsoleFont
-Added definition of CONSOLE_FONT_INFO struct
-Added call to SetLastError(ERROR_OUTOFMEMORY) to a number of
RtlAllocateHeap return value checks

Patch by Marty Dill

svn path=/trunk/; revision=3375

19 years agoChanges in v1.7.5 (8/21/2002) (brianp)
Brian Palmer [Thu, 22 Aug 2002 05:33:59 +0000 (05:33 +0000)]
Changes in v1.7.5 (8/21/2002) (brianp)

- biosvid.S (BiosVideoDisableBlinkBit): Added code to
  disable the blink bit in the text mode character
  attribute byte so that the full range of
  background colors can be used.

svn path=/trunk/; revision=3374

19 years agoInitial commit for utility to install FreeLoader under Linux
Brian Palmer [Wed, 21 Aug 2002 03:34:01 +0000 (03:34 +0000)]
Initial commit for utility to install FreeLoader under Linux

svn path=/trunk/; revision=3373

19 years agoChanges in v1.7.4 (8/20/2002) (brianp)
Brian Palmer [Wed, 21 Aug 2002 03:32:49 +0000 (03:32 +0000)]
Changes in v1.7.4 (8/20/2002) (brianp)

- Boot sector code now reports to freeldr.sys the partition
  that it was installed on. This is specified by a byte
  value in the boot sector code. By default the boot partition
  is set to zero which indicates the active (bootable)
  partition, unless the installer sets the value to non-zero.
  If FreeLoader is installed on a partition other than
  the active (bootable) partition then the installer must
  set this byte to that partition number. Otherwise
  FreeLoader will not be able to find freeldr.ini.
- i386trap.S: Added debug macros BREAKPOINT(),
- partition.c (DiskGetPartitionEntry): Add the relative offset
  of the extended partition to the partitions start sector.
- ext2.c (Ext2ReadBlockPointerList, Ext2CopyIndirectBlockPointers,
  Ext2CopyDoubleIndirectBlockPointers, Ext2CopyTripleIndirectBlockPointers):
  Rewrote the block pointer functions so they actually work.
- ini_init.c (IniFileInitialize, IniOpenIniFile): Looks for freeldr.ini
  on both the active (bootable) partition and the partition
  passed in from the boot sector code.
- meminit.c (MmInitializeMemoryManager, MmFixupSystemMemoryMap,
  MmGetEndAddressOfAnyMemory, MmGetAddressablePageCountIncludingHoles,
  MmInitPageLookupTable): Fixed bug that would cause FreeLoader to
  have an off-by-one error when accessing the last entry in the
  page lookup table on systems with 4GB of memory (or memory mapped
  at the end of the address space).

svn path=/trunk/; revision=3372

19 years agoNew macros InitializeUnicodeString(), RtlInitUnicodeStringFromLiteral() and UNICODE_S...
KJK::Hyperion [Tue, 20 Aug 2002 20:37:19 +0000 (20:37 +0000)]
New macros InitializeUnicodeString(), RtlInitUnicodeStringFromLiteral() and UNICODE_STRING_INITIALIZATOR(), for fast, compile-time initialization of UNICODE_STRING variables

svn path=/trunk/; revision=3371

19 years agoImproved HLine algorithm; improvement carried over to FillSolid
Jason Filby [Mon, 19 Aug 2002 22:01:12 +0000 (22:01 +0000)]
Improved HLine algorithm; improvement carried over to FillSolid

svn path=/trunk/; revision=3370

19 years agoAdded color translation for solid color brushes.
Eugene Ingerman [Mon, 19 Aug 2002 21:49:45 +0000 (21:49 +0000)]
Added color translation for solid color brushes.

svn path=/trunk/; revision=3369

19 years agoFixed VGADDIFillSolid - now fast, although ugly (will clean it up still)
Jason Filby [Sun, 18 Aug 2002 22:11:06 +0000 (22:11 +0000)]
Fixed VGADDIFillSolid - now fast, although ugly (will clean it up still)

svn path=/trunk/; revision=3368

19 years ago- Added a check for valid result pointers in GetDiskFreeSpaceExW.
Hartmut Birr [Sun, 18 Aug 2002 21:07:59 +0000 (21:07 +0000)]
- Added a check for valid result pointers in GetDiskFreeSpaceExW.
- Changed from CreateFileW to NtCreateFile in GetVolumeInformationW.
  CreateFileW doesn't allow to open directories.

svn path=/trunk/; revision=3367

19 years agoRewrote _stat functions. This functions can't use _fstat.
Hartmut Birr [Sun, 18 Aug 2002 21:04:52 +0000 (21:04 +0000)]
Rewrote _stat functions. This functions can't use _fstat.

svn path=/trunk/; revision=3366

19 years agoRtlGetProcessHeap() is not a function in Microsoft Windows
KJK::Hyperion [Sun, 18 Aug 2002 18:50:27 +0000 (18:50 +0000)]
RtlGetProcessHeap() is not a function in Microsoft Windows

svn path=/trunk/; revision=3365

19 years agoCreateFileW: corrected a couple of buglets, added handling of GENERIC_ALL access...
KJK::Hyperion [Sun, 18 Aug 2002 16:01:11 +0000 (16:01 +0000)]
CreateFileW: corrected a couple of buglets, added handling of GENERIC_ALL access, packed with DPRINTs to catch the bug that breaks gcc and cmd (sorry, last time I touch something I can't test)

svn path=/trunk/; revision=3364

19 years agoUse clip.h instead of enum.h
Jason Filby [Sun, 18 Aug 2002 13:55:11 +0000 (13:55 +0000)]
Use clip.h instead of enum.h

svn path=/trunk/; revision=3363

19 years ago1. CLIPOBJ_bEnum, CLIPOBJ_cEnumStart - implemented internal clip region enumeration.
Eugene Ingerman [Sun, 18 Aug 2002 07:02:57 +0000 (07:02 +0000)]
1. CLIPOBJ_bEnum, CLIPOBJ_cEnumStart - implemented internal clip region enumeration.
2. Implemented PaintRgn. Added test to gditest.
3. Removed enum.c enum.h (duplicates for clip.c clip.h).

svn path=/trunk/; revision=3362

19 years agoCleaned up CreateFileW. Please check out the FIXMEs
KJK::Hyperion [Sun, 18 Aug 2002 04:20:21 +0000 (04:20 +0000)]
Cleaned up CreateFileW. Please check out the FIXMEs

svn path=/trunk/; revision=3361

19 years agoAdded definition of FILE_OPEN_FOR_RECOVERY
KJK::Hyperion [Sun, 18 Aug 2002 04:19:27 +0000 (04:19 +0000)]
Added definition of FILE_OPEN_FOR_RECOVERY

svn path=/trunk/; revision=3360

19 years agoMinor cosmetic changes to define, fixup workaround of windres bug.
Robert Dickenson [Sat, 17 Aug 2002 17:26:14 +0000 (17:26 +0000)]
Minor cosmetic changes to define, fixup workaround of windres bug.

svn path=/trunk/; revision=3359

19 years agoRudimentiary drivebar support added.
Robert Dickenson [Sat, 17 Aug 2002 17:23:18 +0000 (17:23 +0000)]
Rudimentiary drivebar support added.

svn path=/trunk/; revision=3358

19 years agoCall VfatSetAllocationSizeInformation only if the file size is increased (VfatWrite).
Hartmut Birr [Sat, 17 Aug 2002 16:51:07 +0000 (16:51 +0000)]
Call VfatSetAllocationSizeInformation only if the file size is increased (VfatWrite).

svn path=/trunk/; revision=3357

19 years agoAdded new module for iphlpapi.dll
Robert Dickenson [Sat, 17 Aug 2002 16:23:13 +0000 (16:23 +0000)]
Added new module for iphlpapi.dll

svn path=/trunk/; revision=3356

19 years agoNewline at EOF to fix warning
Robert Dickenson [Sat, 17 Aug 2002 16:18:54 +0000 (16:18 +0000)]
Newline at EOF to fix warning

svn path=/trunk/; revision=3355

19 years agoAdded TOOLS_PATH macro and default target similar to that in reactos/rules.mak
Robert Dickenson [Sat, 17 Aug 2002 16:06:29 +0000 (16:06 +0000)]
Added TOOLS_PATH macro and default target similar to that in reactos/rules.mak

svn path=/trunk/; revision=3354

19 years agoAdded NDISVERSION define for our target NDIS support level, currently commented out...
Robert Dickenson [Sat, 17 Aug 2002 16:02:08 +0000 (16:02 +0000)]
Added NDISVERSION define for our target NDIS support level, currently commented out pending testing.

svn path=/trunk/; revision=3353

19 years agofixed clean rule to match other makefile standard
Robert Dickenson [Sat, 17 Aug 2002 15:58:38 +0000 (15:58 +0000)]
fixed clean rule to match other makefile standard

svn path=/trunk/; revision=3352

19 years agoFixed typo in header comment.
Robert Dickenson [Sat, 17 Aug 2002 15:57:22 +0000 (15:57 +0000)]
Fixed typo in header comment.

svn path=/trunk/; revision=3351

19 years agoAdded new module for snmpapi.dll
Robert Dickenson [Sat, 17 Aug 2002 15:48:21 +0000 (15:48 +0000)]
Added new module for snmpapi.dll

svn path=/trunk/; revision=3350

19 years agoDisabled/removed debug messages.
Hartmut Birr [Sat, 17 Aug 2002 15:46:36 +0000 (15:46 +0000)]
Disabled/removed debug messages.

svn path=/trunk/; revision=3349

19 years agoChanged the values for the page file size from the registry from Byte to MByte.
Hartmut Birr [Sat, 17 Aug 2002 15:31:03 +0000 (15:31 +0000)]
Changed the values for the page file size from the registry from Byte to MByte.

svn path=/trunk/; revision=3348

19 years agoZero out the page in MmTransferOwnershipPage.
Hartmut Birr [Sat, 17 Aug 2002 15:29:18 +0000 (15:29 +0000)]
Zero out the page in MmTransferOwnershipPage.

svn path=/trunk/; revision=3347

19 years agoChange the type of the parameter PhysicalAddress in MmDisableVirtualMapping.
Hartmut Birr [Sat, 17 Aug 2002 15:27:54 +0000 (15:27 +0000)]
Change the type of the parameter PhysicalAddress in MmDisableVirtualMapping.

svn path=/trunk/; revision=3346

19 years agoSet the extension length to 0 if there is no extension (RtlGenerate8dot3Name).
Hartmut Birr [Sat, 17 Aug 2002 15:23:50 +0000 (15:23 +0000)]
Set the extension length to 0 if there is no extension (RtlGenerate8dot3Name).

svn path=/trunk/; revision=3345

19 years agoFixed the size for memory unmapping from boot process.
Hartmut Birr [Sat, 17 Aug 2002 15:22:33 +0000 (15:22 +0000)]
Fixed the size for memory unmapping from boot process.

svn path=/trunk/; revision=3344

19 years agoRemoved freeing of IRP's MDL in ScsiClassIoComplete.
Hartmut Birr [Sat, 17 Aug 2002 15:21:12 +0000 (15:21 +0000)]
Removed freeing of IRP's MDL in ScsiClassIoComplete.

svn path=/trunk/; revision=3343

19 years agoSetup the correct stack location for completion routines in IofCompleteRequest.
Hartmut Birr [Sat, 17 Aug 2002 15:20:33 +0000 (15:20 +0000)]
Setup the correct stack location for completion routines in IofCompleteRequest.
This change correct also the called completion routine in IoSecondStageCompletion

svn path=/trunk/; revision=3342

19 years agoRemoved the absolute path (c:\reactos\system32) to smss.exe.
Hartmut Birr [Sat, 17 Aug 2002 15:17:59 +0000 (15:17 +0000)]
Removed the absolute path (c:\reactos\system32) to smss.exe.

svn path=/trunk/; revision=3341

19 years agoRemoved modules to go into shell32. New control panel launcher based on same wine...
Robert Dickenson [Sat, 17 Aug 2002 15:16:38 +0000 (15:16 +0000)]
Removed modules to go into shell32. New control panel launcher based on same wine program.

svn path=/trunk/; revision=3340

19 years ago- Release streaming file object for directories in vfatReleaseFCB.
Hartmut Birr [Sat, 17 Aug 2002 15:15:50 +0000 (15:15 +0000)]
- Release streaming file object for directories in vfatReleaseFCB.
- Removed initialization of caching in vfatAttacheFCBToFileObject.
  The cache for files is initialized at the first read/write operation.
- Merged vfatExtendSpace and VfatSetAllocationSizeInformation in one function.

svn path=/trunk/; revision=3339

19 years ago- Disabled write caching for meta data (FAT, directories) in
Hartmut Birr [Sat, 17 Aug 2002 15:14:26 +0000 (15:14 +0000)]
- Disabled write caching for meta data (FAT, directories) in
  CcSetDirtyPinedData. There is no working shutdown function
  for writing back each modified cache segment. A reboot or
  crash can damage the disk.
- Added CcRosReferenceCache and CcRosDereferenceCache.
- Check at each call to CcRosInitializeFileCache if the cache was
  initialized for the file stream by a previous call to this function.
- Check at each call to CcRosReleaseFileCache if this is possible
  to delete the caching for the file stream.

svn path=/trunk/; revision=3338

19 years agoIncrement/Decrement the cache reference count on each create/delete
Hartmut Birr [Sat, 17 Aug 2002 15:12:49 +0000 (15:12 +0000)]
Increment/Decrement the cache reference count on each create/delete
operation for a section. This prevents the cache from uninitialization
for a mapped file (data or image) at the cleanup of a given file object
or force the uninitialization if the last section of a file is deleted.

svn path=/trunk/; revision=3337

19 years ago2002-08-17 David Welch <>
David Welch [Sat, 17 Aug 2002 14:14:20 +0000 (14:14 +0000)]
2002-08-17  David Welch  <>

* ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): Ensure the
process isn't freed in the middle of our operations.

2002-08-17  David Welch  <>

* drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation): Fixed.

svn path=/trunk/; revision=3336

20 years ago2002-08-17 David Welch <>
David Welch [Sat, 17 Aug 2002 01:42:03 +0000 (01:42 +0000)]
2002-08-17  David Welch  <>

* ntoskrnl/ps/create.c (PiDeleteThread): Don't dereference
the thread's process while holding the thread list lock.

2002-08-17  David Welch  <>

* ntoskrnl/mm/section.c (MmMapViewOfSection): Check there is
enough space for all parts of an image before mapping it; if
there isn't enough space free at the preferred base address
then try to choose a different one.

2002-08-17  David Welch  <>

* ntoskrnl/mm/mpw.c (MmInitMpwThread): Run the MPW thread at
idle priority.

2002-08-17  David Welch  <>

* ntoskrnl/mm/kmap.c (ExUnmapPage, ExAllocatePageWithPhysPage,
MiFreeNonPagedPoolRegion, MiAllocNonPagedPoolRegion): Maintain
a hint of the next free page; makes running with whole page
allocation more bearable.

2002-08-17  David Welch  <>

* ntoskrnl/mm/anonmem.c (MmPageOutVirtualMemory): Show an
out of swap space message if we are out of swap space.
* ntoskrnl/mm/section.c (MmPageOutSectionView): Show an
out of swap space message if we are out of swap space.
* ntoskrnl/mm/pagefile.c (MmAllocSwapPage): Don't automatically
show an out of swap space message on failure.
* ntoskrnl/mm/pagefile.c (MmShowOutOfSpaceMessagePagingFile): New
function to notify the user that the pagefile is full.

2002-08-17  David Welch  <>

* drivers/lib/zlib/Makefile: Create a dummy zlib.sym

svn path=/trunk/; revision=3335

20 years agoUpdated memory area const names.
Eugene Ingerman [Fri, 16 Aug 2002 22:03:07 +0000 (22:03 +0000)]
Updated memory area const names.

svn path=/trunk/; revision=3334

20 years ago2002-08-16 David Welch <>
David Welch [Fri, 16 Aug 2002 01:39:17 +0000 (01:39 +0000)]
2002-08-16  David Welch  <>

* ntoskrnl/mm/npool.c (ExAllocateWholePageBlock): Converted
to use PHYSICAL_ADDRESS type for page address.

2002-08-16  David Welch  <>

* subsys/win32k/ntuser/class.c (W32kCreateClass): Corrected
typo when calculating the offset into the class object to
put the class name string.

2002-08-16  David Welch  <>

* ntoskrnl/ps/thread.c (PsDispatchThreadNoLock): Don't call
the reaper function directly; set an event to wake up a seperate
reaper thread.
* ntoskrnl/ps/thread.c (PsReaperThreadMain): New function that
waits for a notification and then calls PsReapThreads.
* ntoskrnl/ps/thread.c (PsInitThreadManagement): Create the
reaper thread.

svn path=/trunk/; revision=3333

20 years agoExport LdrFindResourceDirectory_U
David Welch [Thu, 15 Aug 2002 16:11:01 +0000 (16:11 +0000)]
Export LdrFindResourceDirectory_U
Remove LdrFindResourceDirectory_U stub

svn path=/trunk/; revision=3332

20 years ago2002-08-14 David Welch <>
David Welch [Wed, 14 Aug 2002 20:58:39 +0000 (20:58 +0000)]
2002-08-14  David Welch  <>

* subsys/smss/init.c (SmPagingFilesQueryRoutine): If possible
take the size of the paging file from the registry.

2002-08-14  David Welch  <>

* ntoskrnl/mm/section.c (MmCreateDataFileSection): Extend the
section if necessary.

2002-08-14  David Welch  <>

* ntoskrnl/mm/pagefile.c (NtCreatePagingFile): Set the file
size using the FileAllocationInformation class.

2002-08-14  David Welch  <>

* ntoskrnl/mm/anonmem.c (MmWritePageVirtualMemory): Implemented
function to write anonymous memory pages to the swap file.
* ntoskrnl/mm/anonmem.c (MmFreeVirtualMemoryPage): Free any
swap page associated with the page.
* ntoskrnl/mm/mpw.c (MmWriteDirtyPages): New function to find
pages to write to disk.
* ntoskrnl/mm/mpw.c (MmMpwThreadMain): Implemented MPW functionality.
* ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): New function
to write a single page back to disk.
* ntoskrnl/mm/rmap.c (MmSetCleanAllRmaps, MmSetDirtyAllRmaps,
MmIsDirtyPageRmap): New rmap function to support the MPW thread.
* ntoskrnl/mm/section.c (MmWritePageSectionView): Implemented
function to write back section pages.
* ntoskrnl/mm/section.c (MmFreeSectionPage): Free any swap
entry associated with the page; mark pages shared with
the cache as dirty if necessary.

2002-08-14  David Welch  <>

* ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set name of
the module into the module text structure.

2002-08-14  David Welch  <>

* ntoskrnl/io/rw.c (NtReadFile, NtWriteFile): Use the correct
test for whether to wait for the completion of i/o.

2002-08-14  David Welch  <>

* ntoskrnl/cm/ntfunc.c (NtFlushKey): Request synchronous i/o
from NtOpenFile.
* ntoskrnl/cm/regfile (CmiInitPermanentRegistryHive): Request
synchronous i/o from NtCreateFile.
* ntoskrnl/dbg/kdb_stabs.c (LdrpLoadModuleSymbols): Request
synchronous i/o from NtOpenFile.
* ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Request synchronous i/o
from NtOpenFile.

2002-08-14  David Welch  <>

* ntoskrnl/cc/view.c (CcRosSuggestFreeCacheSegment): Maintain the
correct reference count.

2002-08-14  David Welch  <>

* ntoskrnl/cc/view.c (CcRosFlushCacheSegment): New function to
write back a modified cache segment.
* ntoskrnl/cc/view.c (CcRosFlushDirtyPages): New function to
flush some dirty pages from the cache.
* ntoskrnl/cc/view.c (CcRosMarkDirtyCacheSegment): New function to
mark a cache segment modified while mapped into memory as dirty.

2002-08-14  David Welch  <>

* ntoskrnl/cc/pin.c (CcMapData, CcUnpinData, CcSetDirtyPinnedData):
Store the dirty status in the BCB; don't write back dirty data

2002-08-14  David Welch  <>

* include/ntos/mm.h: Added SEC_XXXX defines from 'Windows NT/2000
Native API Reference'

2002-08-14  David Welch  <>

* drivers/fs/vfat/ea.c (VfatSetExtendedAttributes): Empty
placeholder for extended attribute functions.

2002-08-14  David Welch  <>

* drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation):
Added function to set allocation size.

2002-08-14  David Welch  <>

* drivers/fs/vfat/fcb.c (vfatFCBInitializeCache): Renamed
to vfatFCBInitializeCacheFromVolume.
* drivers/fs/vfat/fcb.c (vfatMakeFCBFromDirEntry): Don't
initialise the cache with a file object representing the
volume unless the FCB is for a directory.

2002-08-14  David Welch  <>

* drivers/fs/vfat/create.c (VfatPagingFileCreate): Added a
new function for handling paging file only code.
* drivers/fs/vfat/create.c (VfatSupersedeFile): Added a
new function for doing a file supersede.
* drivers/fs/vfat/create.c (VfatCreateFile): Reformatted and
adjusted control flow. Set allocation size and extended attributes
on create.
* drivers/fs/vfat/create.c (VfatCreate): Removed goto.

2002-08-14  David Welch  <>

* drivers/fs/vfat/cleanup.c (VfatCleanupFile): Renamed
updEntry to VfatUpdateEntry.
* drivers/fs/vfat/close.c (VfatCloseFile): Renamed
updEntry to VfatUpdateEntry.
* drivers/fs/vfat/dirwr.c (updEntry): Renamed to
* drivers/fs/vfat/dirwr.c (addEntry): Renamed to

2002-08-14  David Welch  <>

* apps/tests/sectest/sectest.c (main): Fixed formatting.

svn path=/trunk/; revision=3331

20 years agoImplemented and fixed several ACL and SD functions.
Eric Kohl [Tue, 13 Aug 2002 20:41:22 +0000 (20:41 +0000)]
Implemented and fixed several ACL and SD functions.
Patch by Alexandru Matei.

svn path=/trunk/; revision=3330

20 years agoAdded missing newline
Eric Kohl [Sat, 10 Aug 2002 21:58:14 +0000 (21:58 +0000)]
Added missing newline

svn path=/trunk/; revision=3329

20 years agoAdded compression stubs
Eric Kohl [Sat, 10 Aug 2002 21:57:41 +0000 (21:57 +0000)]
Added compression stubs

svn path=/trunk/; revision=3328

20 years ago2002-08-10 David Welch <>
David Welch [Sat, 10 Aug 2002 16:41:20 +0000 (16:41 +0000)]
2002-08-10  David Welch  <>

* ntoskrnl/mm/i386/page.c (MmSetPageProtect): Fixed
behaviour when called on the system address space.

2002-08-10  David Welch  <>

* ntoskrnl/mm/virtual.c (MmQueryAnonMem, MmProtectAnonMem,
NtAllocateVirtualMemory, NtFreeVirtualMemory): Renamed
segments to regions; moved region code to seperate file.
Implemented NtQueryVirtualMemory and NtProtectVirtualMemory
for anonymous memory areas.

2002-08-10  David Welch  <>

* ntoskrnl/mm/anonmem.c: Moved functions relating to
areas created with NtAllocateVirtualMemory to a
seperate file.

2002-08-10  David Welch  <>

* ntoskrnl/mm/section.c (MmQuerySectionView): Implemented
NtQueryVirtualMemory for section views.

2002-08-10  David Welch  <>

* ntoskrnl/mm/section.c (MmAccessFaultSectionView,
MmNotPresentFaultSectionView, MmProtectSectionView,
MmMapViewOfSegment, MmAlterViewAttributes): Implemented
NtProtectVirtualMemory for section views.

2002-08-10  David Welch  <>

* ntoskrnl/ke/main.c: Removed SEH test code.

2002-08-10  David Welch  <>

* lib/ntdll/ldr/utils.c (LdrFixupImports): Remove the readonly
protection from the IAT before writing to it.

2002-08-10  David Welch  <>

* lib/ntdll/ldr/utils.c (LdrAdjustDllName): Properly null terminate
the base name of the DLL.

2002-08-10  David Welch  <>

* ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set the text segment
of modules to readonly after loading.

svn path=/trunk/; revision=3327

20 years agoFixed several function prototypes.
Eric Kohl [Fri, 9 Aug 2002 22:57:48 +0000 (22:57 +0000)]
Fixed several function prototypes.

svn path=/trunk/; revision=3326

20 years agoPreliminary EXT2 boot sector code
Brian Palmer [Fri, 9 Aug 2002 17:34:24 +0000 (17:34 +0000)]
Preliminary EXT2 boot sector code
Fixed bug in FAT32 boot sector where it wasn't properly updating the sector load address

svn path=/trunk/; revision=3325

20 years ago2002-08-09 David Welch <>
David Welch [Fri, 9 Aug 2002 17:23:57 +0000 (17:23 +0000)]
2002-08-09  David Welch  <>

* ntoskrnl/ps/create.c (NtCreateThread): Call PsSuspendThread
if NtCreateThread has CreateSuspended as TRUE.
* ntoskrnl/ps/suspend.c (PsSuspendThread, PsResumeThread,
PiSuspendThreadKernelRoutine): Fixed suspend functionality.

2002-08-09  David Welch  <>

* ntoskrnl/ke/i386/usertrap.c (print_user_address): Copy
the LDR variable from the right address.

2002-08-09  David Welch  <>

* ntoskrnl/ke/apc.c (KiDeliverNormalApc): Check for
kernel APCs pending on exit from the kernel.
* ntoskrnl/ke/apc.c (KiDeliverNormalApc, KiDeliverUserApc,
KiDeliverApc): Set the APC's inserted flag to FALSE after
removing it from the thread's queue.

2002-08-09  David Welch  <>

* lib/kernel32/thread/thread.c (ThreadStartup): Don't
call DLL entrypoints; this is done by LdrInitializeThunk.
* lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
DLLs in initialization order; take the loader lock before

2002-08-09  David Welch  <>

* apps/tests/thread/thread.c (main): Test suspend and
resume functionality.

svn path=/trunk/; revision=3324

20 years ago2002-08-08 David Welch <>
David Welch [Thu, 8 Aug 2002 17:54:16 +0000 (17:54 +0000)]
2002-08-08  David Welch  <>

* ntoskrnl/mm/section (NtQuerySection): Return the
right result length.

2002-08-08  David Welch  <>

* ntoskrnl/ke/usertrap.c (print_user_address): Check for
a NULL LDR structure in the PEB; copy the LDR pointer in

2002-08-08  David Welch  <>

* ntoskrnl/ke/apc.c (KiDeliverUserApc): Deliver all present
APCs; release the APC spinlock while acccessing user memory.

2002-08-08  David Welch  <>

* include/internal/ps.h: Adjusted offsets into the ETHREAD
* include/internal/ps.h: Removed redundant members from the
KTHREAD structure.
* ntoskrnl/ke/kthread.c (KeInitializeThread): Removed
redundant members from the KTHREAD structure.

2002-08-08  David Welch  <>

* ntoskrnl/dbg/kdb.c (KdbEnterDebuggerException): New
function to enter the debugger on an exception.
* ntoskrnl/kd/kdebug.c (KdInitSystem): Initialize the
local kernel debugger if enabled.
* ntoskrnl/ke/catch.c (KiDispatchException): Enter the
local kernel debugger on an exception.

2002-08-08  David Welch  <>

* include/ntdll/ldr.h: Added definition for a DLL entrypoint.
* lib/kernel32/process/create.c (KlCreateFirstThread): Put
the argument to the NtProcessStartup function on the stack.
* lib/kernel32/process/create.c (KlInitPeb): Read the
base address of the new image from the PEB.
* lib/kernel32/process/create.c (CreateProcessW): Start the
first thread at the entrypoint of the new image.
* lib/ntdll/ldr/startup.c (LdrInitializeThunk): If the
function is called after the initial startup then just call the
entrypoints for the loaded DLLs with DLL_THREAD_ATTACH. Don't
call the entrypoint of the image.
* lib/ntdll/rtl/process.c (RtlpCreateFirstThread): Put the
argument to the NtProcessStartup function on the stack.
* lib/ntdll/rtl/process.c (KlInitPeb): Read the base address of
the new image from the PEB.
* lib/ntdll/rtl/process.c (RtlCreateUserProcess): Start the
first thread at the entrypoint of the new image.
* ntoskrnl/ke/i386/bthread.S (PsBeginThreadWithContextInternal):
Use the system call path to begin a usermode thread.
* ntoskrnl/ke/i386/thread.c (Ke386InitThreadWithContext): Convert
the supplied context into a trap frame.
* ntoskrnl/ldr/init.c (LdrLoadInitialProcess): Put the PEB argument
to the NtProcessStartup function on the new stack; start the
first thread at the entrypoint of the image.
* ntoskrnl/ps/create.c (NtCreateThread): Create an APC to call
LdrInitializeThunk in the context of a new thread before its

2002-08-08  David Welch  <>

* drivers/fs/vfat/cleanup.c (VfatCleanupFile): Uninitialise
the cache on file cleanup.
* drivers/fs/vfat/fcb.c (vfatReleaseFcb): Don't uninitialise
the cache on file close.
* ntoskrnl/cc/copy.c: Renamed zero page global variable.
* ntoskrnl/cc/view.c: Added cache delete function.

svn path=/trunk/; revision=3323

20 years agoDefined FAST_SYMLINK_MAX_NAME_SIZE
Brian Palmer [Thu, 8 Aug 2002 04:46:46 +0000 (04:46 +0000)]

svn path=/trunk/; revision=3322

20 years agoChanges in v1.7.2 (8/7/2002) (brianp)
Brian Palmer [Thu, 8 Aug 2002 04:38:43 +0000 (04:38 +0000)]
Changes in v1.7.2 (8/7/2002) (brianp)

- Fragment size must be equal to the block size

svn path=/trunk/; revision=3321

20 years agoChanges in v1.7.1 (8/7/2002) (brianp)
Brian Palmer [Thu, 8 Aug 2002 04:28:08 +0000 (04:28 +0000)]
Changes in v1.7.1 (8/7/2002) (brianp)

- Symbolic links on EXT2/3 are now supported

svn path=/trunk/; revision=3320

20 years agoFix for compiling in non-debug (release) mode. (Reduces binary size from 128k to...
Brian Palmer [Wed, 7 Aug 2002 05:37:07 +0000 (05:37 +0000)]
Fix for compiling in non-debug (release) mode. (Reduces binary size from 128k to 82k currently)

svn path=/trunk/; revision=3319

20 years agoChanges in v1.7 (8/6/2002) (brianp)
Brian Palmer [Wed, 7 Aug 2002 05:13:18 +0000 (05:13 +0000)]
Changes in v1.7 (8/6/2002) (brianp)

- EXT2/EXT3 file system support.
- Does not yet support symbolic links or booting from an EXT2/3 partition.
- Fixed bug in UI code.
- Added '%%' format specifier to printf()-like functions.
- Added functions __udivdi3 & __umoddi3 so that 64-bit division is now supported.
- Changed types BYTE, WORD, DWORD, LONG, ULONG to U8, U16, U32, S32, U32
  so that you know the size of the variable across different
  architectures with different sized words & dwords, etc.
  changed yet (I haven't decided exactly how I'm going to handle unicode)

(isn't this an awesome commit? ;-) Just look at that list of files)

svn path=/trunk/; revision=3318

20 years agoUpdated version file to 0.0.20
Jason Filby [Mon, 5 Aug 2002 19:57:47 +0000 (19:57 +0000)]
Updated version file to 0.0.20

svn path=/trunk/; revision=3316

20 years agoAdded combobox to drivebar, yet to get working. Whole application needs alot of cleanup.
Robert Dickenson [Sun, 4 Aug 2002 18:40:49 +0000 (18:40 +0000)]
Added combobox to drivebar, yet to get working. Whole application needs alot of cleanup.
Fixed up makefile plus dependancies and now builds (and runs) with ros-tools.

svn path=/trunk/; revision=3315

20 years agoFixed a bug in the new Engxxx objects code.
Eugene Ingerman [Sun, 4 Aug 2002 18:21:59 +0000 (18:21 +0000)]
Fixed a bug in the new Engxxx objects code.

svn path=/trunk/; revision=3314

20 years agoRewrote gdi (Engxxx) objects.
Eugene Ingerman [Sun, 4 Aug 2002 09:55:11 +0000 (09:55 +0000)]
Rewrote gdi (Engxxx) objects.

svn path=/trunk/; revision=3313

20 years agoAdded more tests to gditest.c
Eugene Ingerman [Sun, 4 Aug 2002 09:53:19 +0000 (09:53 +0000)]
Added more tests to gditest.c

svn path=/trunk/; revision=3312

20 years agoRemoved deprecated file.
Eugene Ingerman [Sun, 4 Aug 2002 09:52:05 +0000 (09:52 +0000)]
Removed deprecated file.

svn path=/trunk/; revision=3311

20 years agoDon't alloc an extra console upon startup.
Eric Kohl [Thu, 1 Aug 2002 10:29:18 +0000 (10:29 +0000)]
Don't alloc an extra console upon startup.
Added correct calculation of free disk size for drives larger than 2GB.

svn path=/trunk/; revision=3309

20 years agoAdded RtlCopyLuidAndAttributesArray() and RtlCopySidAndAttributesArray().
Eric Kohl [Mon, 29 Jul 2002 15:37:06 +0000 (15:37 +0000)]
Added RtlCopyLuidAndAttributesArray() and RtlCopySidAndAttributesArray().

svn path=/trunk/; revision=3308

20 years agoAdded cache flush counters.
Eric Kohl [Mon, 29 Jul 2002 15:29:58 +0000 (15:29 +0000)]
Added cache flush counters.

svn path=/trunk/; revision=3307

20 years agoChanges in v1.6.2 (7/28/2002) (brianp)
Brian Palmer [Mon, 29 Jul 2002 06:49:58 +0000 (06:49 +0000)]
Changes in v1.6.2 (7/28/2002) (brianp)

- Fix for GetFatEntry16 bug (fathelp.asm) by Mike Lerwill

svn path=/trunk/; revision=3306

20 years agoAdded missing fastcall list functions
Eric Kohl [Sat, 27 Jul 2002 13:02:37 +0000 (13:02 +0000)]
Added missing fastcall list functions

svn path=/trunk/; revision=3305

20 years ago-Nearly compiles doscalls
Robert Kopferl [Fri, 26 Jul 2002 00:23:13 +0000 (00:23 +0000)]
-Nearly compiles doscalls
-Added  an mixing header to have ntddk and os2 included without conflicts

svn path=/trunk/; revision=3304

20 years agoImplemented RtlTimeToElapsedTimeFields().
Eric Kohl [Thu, 25 Jul 2002 16:58:58 +0000 (16:58 +0000)]
Implemented RtlTimeToElapsedTimeFields().

svn path=/trunk/; revision=3303

20 years agoImplemented RtlTimeToElapsedtimeFields().
Eric Kohl [Thu, 25 Jul 2002 16:57:49 +0000 (16:57 +0000)]
Implemented RtlTimeToElapsedtimeFields().

svn path=/trunk/; revision=3302

20 years agoAdded compression functions (not usabel yet).
Eric Kohl [Thu, 25 Jul 2002 13:18:31 +0000 (13:18 +0000)]
Added compression functions (not usabel yet).

svn path=/trunk/; revision=3301

20 years agoImplemented IoCheckDesiredAccess() and IoGetInitialStack().
Eric Kohl [Wed, 24 Jul 2002 17:49:31 +0000 (17:49 +0000)]
Implemented IoCheckDesiredAccess() and IoGetInitialStack().

svn path=/trunk/; revision=3300

20 years agofree os2.h version
Robert Kopferl [Tue, 23 Jul 2002 13:00:46 +0000 (13:00 +0000)]
free os2.h version

svn path=/trunk/; revision=3299

20 years ago*** empty log message ***
Robert Kopferl [Tue, 23 Jul 2002 13:00:11 +0000 (13:00 +0000)]
*** empty log message ***

svn path=/trunk/; revision=3298

20 years agoupdate
Robert Kopferl [Tue, 23 Jul 2002 12:30:01 +0000 (12:30 +0000)]

svn path=/trunk/; revision=3297

20 years agoAdded control panel applet icons to the list control imagelist. Next I'll make them...
Robert Dickenson [Tue, 23 Jul 2002 08:24:54 +0000 (08:24 +0000)]
Added control panel applet icons to the list control imagelist. Next I'll make them lauch!

svn path=/trunk/; revision=3296

20 years agoOpenSCManager waits for services.exe to initialize
Jurgen van Gael [Tue, 23 Jul 2002 08:16:05 +0000 (08:16 +0000)]
OpenSCManager waits for services.exe to initialize

svn path=/trunk/; revision=3295

20 years agoFixed bugs in region operations code (should run region tests correctly now)
Eugene Ingerman [Tue, 23 Jul 2002 08:03:15 +0000 (08:03 +0000)]
Fixed bugs in region operations code (should run region tests correctly now)

svn path=/trunk/; revision=3294

20 years agoFix for disk caching while doing drive remapping
Brian Palmer [Tue, 23 Jul 2002 06:46:55 +0000 (06:46 +0000)]
Fix for disk caching while doing drive remapping

svn path=/trunk/; revision=3293

20 years agoWhatever it is I changed, it's now backed up before I go to bed.
Robert Dickenson [Mon, 22 Jul 2002 21:12:26 +0000 (21:12 +0000)]
Whatever it is I changed, it's now backed up before I go to bed.

svn path=/trunk/; revision=3292

20 years agoBasic Control Panel created.
Robert Dickenson [Mon, 22 Jul 2002 21:05:41 +0000 (21:05 +0000)]
Basic Control Panel created.

svn path=/trunk/; revision=3291

20 years agoRead drive number from the command line.
Eric Kohl [Mon, 22 Jul 2002 17:53:12 +0000 (17:53 +0000)]
Read drive number from the command line.
Added some sanity checks.

svn path=/trunk/; revision=3290

20 years agoMissing file.
Eugene Ingerman [Mon, 22 Jul 2002 17:42:52 +0000 (17:42 +0000)]
Missing file.

svn path=/trunk/; revision=3289

20 years agoAdded missing file and some hex string conversion routines. Now displays registry...
Robert Dickenson [Mon, 22 Jul 2002 14:41:40 +0000 (14:41 +0000)]
Added missing file and some hex string conversion routines. Now displays registry data.

svn path=/trunk/; revision=3288

20 years agoCommited as binary
Steven Edwards [Mon, 22 Jul 2002 11:12:38 +0000 (11:12 +0000)]
Commited as binary

svn path=/trunk/; revision=3287

20 years agoRemoved to recommit as binary
Steven Edwards [Mon, 22 Jul 2002 11:11:55 +0000 (11:11 +0000)]
Removed to recommit as binary

svn path=/trunk/; revision=3286

20 years agoAdded GetRegionData gdi function. Added region test. Fixed some bugs.
Eugene Ingerman [Mon, 22 Jul 2002 07:55:49 +0000 (07:55 +0000)]
Added GetRegionData gdi function. Added region test. Fixed some bugs.

svn path=/trunk/; revision=3285

20 years agoAdded BIOS drive mapping functionality
Brian Palmer [Mon, 22 Jul 2002 03:44:08 +0000 (03:44 +0000)]
Added BIOS drive mapping functionality

svn path=/trunk/; revision=3284

20 years agoMoved WS_EX_CLIENTEDGE to the correct location.
Eric Kohl [Sun, 21 Jul 2002 22:57:06 +0000 (22:57 +0000)]
Moved WS_EX_CLIENTEDGE to the correct location.

svn path=/trunk/; revision=3283

20 years agoAlmost completed dialog layouts contributed by Ian McLean.
Robert Dickenson [Sun, 21 Jul 2002 18:28:26 +0000 (18:28 +0000)]
Almost completed dialog layouts contributed by Ian McLean.

svn path=/trunk/; revision=3282

20 years agoRenamed ->
David Welch [Sat, 20 Jul 2002 21:49:35 +0000 (21:49 +0000)]
Renamed ->

svn path=/trunk/; revision=3280

20 years agoUse (text format ntoskrnl symbols) instead of ntosknl.sym in pice. Fixed...
Eugene Ingerman [Sat, 20 Jul 2002 20:27:22 +0000 (20:27 +0000)]
Use (text format ntoskrnl symbols) instead of ntosknl.sym in pice. Fixed several bugs.

svn path=/trunk/; revision=3279

20 years agoGCC 3.1 compatibility
Jurgen van Gael [Sat, 20 Jul 2002 16:54:58 +0000 (16:54 +0000)]
GCC 3.1 compatibility

svn path=/trunk/; revision=3278

20 years agoUpdated version information.
Robert Dickenson [Sat, 20 Jul 2002 16:43:35 +0000 (16:43 +0000)]
Updated version information.

svn path=/trunk/; revision=3277

20 years agoAdded new section to support default applications:
Robert Dickenson [Sat, 20 Jul 2002 16:38:55 +0000 (16:38 +0000)]
Added new section to support default applications:

/* ReactOS default Application Registry Root Path */
#define RES_STR_ROSAPP_REGISTRY_ROOT "Software\\ReactWare"

svn path=/trunk/; revision=3276