reactos.git
21 years ago- Implement NtCreateToken()
Eric Kohl [Fri, 7 Jun 2002 23:00:20 +0000 (23:00 +0000)]
- Implement NtCreateToken()
- Implement RtlGetAce()
- Fix bug which cause RtlCreateAcl() to always fail.
- Cleanup parameter names and fix bug that caused a buffer overrun in RtlCopySidAndAttributesArray()
- When referencing the token object in NtQueryInformationToken() pass in either TOKEN_QUERY access or TOKEN_QUERY_SOURCE access. Passing in zero led to ObReferenceObjectByHandle() always failing with ACCESS_DENIED.
- Fixed NtQueryInformationToken() to check the buffer length and return STATUS_BUFFER_TO_SMALL and the required length.
- Ensure that the ReturnLength is set correctly when NtQueryInformationToken() succeeds. Previously, it was set to the number of bytes unused in the user buffer in some cases or not set at all.
- Handle case of NULL default dacl correctly in NtQueryInformationToken()
- Update main makefile to build apps\utils.
- Update makefiles in apps\utils to have the correct PATH_TO_TOP.
- Update main makefile to build apps\tests\tokentest

Written by Joseph Galbraith.

svn path=/trunk/; revision=3024

21 years agoLet services.exe load the auto-start drivers.
Eric Kohl [Fri, 7 Jun 2002 20:11:03 +0000 (20:11 +0000)]
Let services.exe load the auto-start drivers.

svn path=/trunk/; revision=3023

21 years agoFixed the return value in GetFileSize.
Hartmut Birr [Fri, 7 Jun 2002 16:54:04 +0000 (16:54 +0000)]
Fixed the return value in GetFileSize.

svn path=/trunk/; revision=3022

21 years agoFixed the allocation size for the fat in VfatMount.
Hartmut Birr [Fri, 7 Jun 2002 16:53:18 +0000 (16:53 +0000)]
Fixed the allocation size for the fat in VfatMount.

svn path=/trunk/; revision=3021

21 years agoUpdated paths after directory was moved.
Eugene Ingerman [Fri, 7 Jun 2002 05:35:04 +0000 (05:35 +0000)]
Updated paths after directory was moved.

svn path=/trunk/; revision=3020

21 years agoFixed broken handling of SCSI port capabilities.
Eric Kohl [Thu, 6 Jun 2002 23:20:08 +0000 (23:20 +0000)]
Fixed broken handling of SCSI port capabilities.

svn path=/trunk/; revision=3019

21 years agoMakefile fixes
Brian Palmer [Thu, 6 Jun 2002 21:33:13 +0000 (21:33 +0000)]
Makefile fixes

svn path=/trunk/; revision=3018

21 years agoDon't define CC in makefile
Jason Filby [Thu, 6 Jun 2002 20:36:52 +0000 (20:36 +0000)]
Don't define CC in makefile

svn path=/trunk/; revision=3017

21 years agoAdded full short name (8.3 name) support.
Eric Kohl [Thu, 6 Jun 2002 19:01:04 +0000 (19:01 +0000)]
Added full short name (8.3 name) support.

svn path=/trunk/; revision=3016

21 years agoFixed another silly bug.
Eric Kohl [Thu, 6 Jun 2002 18:59:50 +0000 (18:59 +0000)]
Fixed another silly bug.

svn path=/trunk/; revision=3015

21 years agoImplemented NtUserPeekMessage
Jason Filby [Thu, 6 Jun 2002 17:50:16 +0000 (17:50 +0000)]
Implemented NtUserPeekMessage

svn path=/trunk/; revision=3014

21 years agoAdded partial suppport for short names (8.3 names).
Eric Kohl [Thu, 6 Jun 2002 16:20:52 +0000 (16:20 +0000)]
Added partial suppport for short names (8.3 names).

svn path=/trunk/; revision=3013

21 years agoFixed a typo in RtlGenerate8dot3Name().
Eric Kohl [Thu, 6 Jun 2002 16:17:26 +0000 (16:17 +0000)]
Fixed a typo in RtlGenerate8dot3Name().
Added more tests to RtlIsNameLegalDOS8Dot3().

svn path=/trunk/; revision=3012

21 years agoFixed the copy length in RtlQueryRegistryValues(). Found by Hartmut Birr.
Eric Kohl [Thu, 6 Jun 2002 14:03:58 +0000 (14:03 +0000)]
Fixed the copy length in RtlQueryRegistryValues(). Found by Hartmut Birr.

svn path=/trunk/; revision=3011

21 years agoChanges in v1.3 (6/5/2002)
Brian Palmer [Thu, 6 Jun 2002 05:58:37 +0000 (05:58 +0000)]
Changes in v1.3 (6/5/2002)

- Added protected mode exception handling in case FreeLoader crashes
- Reworked memory manager to use all of extended memory
- Reworked UI code, now supports multiple text-mode resolutions

svn path=/trunk/; revision=3010

21 years agoFixed the alocation size in NtRegisterThreadTerminatePort.
Hartmut Birr [Wed, 5 Jun 2002 19:38:08 +0000 (19:38 +0000)]
Fixed the alocation size in NtRegisterThreadTerminatePort.

svn path=/trunk/; revision=3009

21 years agoCreated the object handle only if the object is created successful in ObCreateObject.
Hartmut Birr [Wed, 5 Jun 2002 19:37:12 +0000 (19:37 +0000)]
Created the object handle only if the object is created successful in ObCreateObject.
This fixes some crashs after changing to a nonexisting drive and
a message like 'Parent is a Directory which is not a device type'.

svn path=/trunk/; revision=3008

21 years agoFixed the wrong parameter odering in a call to memset in EiAddSharedOwner.
Hartmut Birr [Wed, 5 Jun 2002 19:36:10 +0000 (19:36 +0000)]
Fixed the wrong parameter odering in a call to memset in EiAddSharedOwner.

svn path=/trunk/; revision=3007

21 years agoFixed the copy length in RtlQueryRegistryValues.
Hartmut Birr [Wed, 5 Jun 2002 19:35:04 +0000 (19:35 +0000)]
Fixed the copy length in RtlQueryRegistryValues.

svn path=/trunk/; revision=3006

21 years agoFixed a test after a memory allocation in CmiInitPermanentRegistryHive.
Hartmut Birr [Wed, 5 Jun 2002 19:34:08 +0000 (19:34 +0000)]
Fixed a test after a memory allocation in CmiInitPermanentRegistryHive.

svn path=/trunk/; revision=3005

21 years agoFixed the error string odering.
Hartmut Birr [Wed, 5 Jun 2002 19:33:11 +0000 (19:33 +0000)]
Fixed the error string odering.

svn path=/trunk/; revision=3004

21 years agoFixed the declaration of _alloca/alloca.
Hartmut Birr [Wed, 5 Jun 2002 19:32:20 +0000 (19:32 +0000)]
Fixed the declaration of _alloca/alloca.

svn path=/trunk/; revision=3003

21 years agoFixed the value CurrentTransferPages for splited requests in ScsiClassReadWrite.
Hartmut Birr [Wed, 5 Jun 2002 19:31:39 +0000 (19:31 +0000)]
Fixed the value CurrentTransferPages for splited requests in ScsiClassReadWrite.

svn path=/trunk/; revision=3002

21 years agoImplemented RtlGenerate8dot3Name() and RtlIsNameLegalDOS8Dot3().
Eric Kohl [Wed, 5 Jun 2002 16:53:36 +0000 (16:53 +0000)]
Implemented RtlGenerate8dot3Name() and RtlIsNameLegalDOS8Dot3().

svn path=/trunk/; revision=3001

21 years ago2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
David Welch [Tue, 4 Jun 2002 15:26:58 +0000 (15:26 +0000)]
2002-06-04  David Welch  <welch@whitehall1-5.seh.ox.ac.uk>

* ntoskrnl/ke/i386/exp.c (KiDoubleFaultHandler): Print CR3
correctly.

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

* ntoskrnl/include/internal/ps.h: Added KTHREAD_STACK_LIMIT definition.
* ntoskrnl/ke/i386/tskswitch.S (Ki386ContextSwitch): Force all the
pages of the kernel stack to be accessible from this process.

2002-06-04  David Welch  <welch@cwcom.net>

* ntoskrnl/cc/view.c (ReadCacheSegmentChain): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/cc/copy.c (CcRosCreateCacheSegment): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/cc/copy.c (CcFreeCachePage): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/include/internal/mm.h: Changed prototypes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/include/internal/ps.h (KPROCESS): Changed type of
page directory base to PHYSICAL_ADDRESS.
* ntoskrnl/include/internal/i386/mm.h: Changed prototypes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/ke/kthread.c (KeFreeStackPage): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/ke/kthread.c (KeInitializeThread): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/ke/process.c (KeAttachProcess, KeDetachProcess): Changes
to use PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/ke/kernel.c (PcrPages, KeApplicationProcessorInit): Changes
to use PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/balance.c (MM_ALLOCATION_REQUEST): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/balance.c (MmReleasePageMemoryConsumer): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/balance.c (MmRequestPageMemoryConsumer): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/cont.c (MmFreeContinuousPage): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/cont.c (MmAllocateContinuousAlignedMemory): Changes to
use PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/freelist.c (MmTransferOwnershipPage,
MmGetLRUFirstUserPage, MmGetLRUNextUserPage, MmGetContinuousPages,
MmInitializePageList, MmSetFlagsPage, MmSetRmapListHeadPage,
MmGetRmapListHeadPage, MmMarkPageMapped, MmMarkPageUnmapped,
MmGetFlagsPage, MmSetSavedSwapEntryPage, MmGetSavedSwapEntryPage,
MmReferencePage, MmGetReferenceCountPage, MmIsUsablePage,
MmDereferencePage, MmGetLockCountPage, MmLockPage, MmUnlockPage,
MmAllocPage): Changes to use PHYSICAL_ADDRESS type for physical
addresses.
* ntoskrnl/mm/iospace.c (MmMapIoSpace): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/kmap.c (ExAllocatePage, MiZeroPage, MiCopyFromUserPage,
ExAllocatePageWithPhysPage): Changes to use PHYSICAL_ADDRESS type for
physical addresses.
* ntoskrnl/mm/marea.c (MmFreeMemoryArea): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/mdl.c (MmUnlockPages, MmMapLockedPages,
MmProbeAndLockPages): Changes to use PHYSICAL_ADDRESS type for
physical addresses.
* ntoskrnl/mm/mm.c (MmSharedDataPagePhysicalAddress,
MmCommitPagedPoolAddress, MmNotPresentFault): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/mminit.c (MmInitVirtualMemory): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/ncache.c (MmAllocateNonCachedMemory,
MmFreeNonCachedPage): Changes to use PHYSICAL_ADDRESS type for
physical addresses.
* ntoskrnl/mm/npool.c (grow_kernel_pool): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/rmap.c (MmPageOutPhysicalAddress, MmInsertRmap,
MmDeleteAllRmaps, MmDeleteRmap): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/section.c (MiReadPage, MmNotPresentFaultSectionView,
MmAccessFaultSectionView, MmPageOutDeleteMapping,
MmPageOutSectionView, MmFreeSectionPage): Changes to use
PHYSICAL_ADDRESS type for physical addresses.
* ntoskrnl/mm/slab.c (ExGrowSlabCache): Changes to use
PHYSICAL_ADDRESS type for physical address.
* ntoskrnl/mm/virtual.c (MmPageOutVirtualMemory,
MmNotPresentFaultVirtualMemory, MmFreeVirtualMemoryPage): Changes to
use PHYSICAL_ADDRESS type for physical address.
* ntoskrnl/mm/wset.c (MmTrimUserMemory): Changes to use
PHYSICAL_ADDRESS type for physical address.
* ntoskrnl/mm/page.c (Mmi386ReleaseMmInfo, MmCopyMmInfo,
MmGetPhysicalAddressForProcess, MmCreateVirtualMapping,
MmCreateVirtualMappingUnsafe, MmCreateVirtualMappingForProcess,
MmDeleteVirtualMapping): Changes to use PHYSICAL_ADDRESS type for
physical address.
* ntoskrnl/ps/process (PsInitProcessManagment): Changes to use
PHYSICAL_ADDRESS type for physical address.
* ntoskrnl/ps/thread.c (PsAllocateCallbackStack): Changes to use
PHYSICAL_ADDRESS type for physical address.

2002-06-04  David Welch  <welch@cwcom.net>

* Lots of change since the ChangeLog was last updated.

svn path=/trunk/; revision=3000

21 years agoFixed typo!
Eric Kohl [Tue, 4 Jun 2002 14:14:07 +0000 (14:14 +0000)]
Fixed typo!

svn path=/trunk/; revision=2999

21 years agoFixed token type initialization.
Eric Kohl [Tue, 4 Jun 2002 13:44:06 +0000 (13:44 +0000)]
Fixed token type initialization.

svn path=/trunk/; revision=2998

21 years agoCorrected install.bat
Casper Hornstrup [Sun, 2 Jun 2002 22:19:11 +0000 (22:19 +0000)]
Corrected install.bat

svn path=/trunk/; revision=2997

21 years agoIgnore some intermediate files
Nedko Arnaudov [Sun, 2 Jun 2002 21:16:44 +0000 (21:16 +0000)]
Ignore some intermediate files

svn path=/trunk/; revision=2996

21 years agoCompile with new layout
Casper Hornstrup [Sun, 2 Jun 2002 19:25:02 +0000 (19:25 +0000)]
Compile with new layout

svn path=/trunk/; revision=2995

21 years agoreorganized some files
Robert Kopferl [Thu, 30 May 2002 15:11:47 +0000 (15:11 +0000)]
reorganized some files

svn path=/trunk/; revision=2994

21 years agoReplaced linux partition type constants.
Eric Kohl [Wed, 29 May 2002 21:41:41 +0000 (21:41 +0000)]
Replaced linux partition type constants.

svn path=/trunk/; revision=2993

21 years agoReplaces linux partition type constants.
Eric Kohl [Wed, 29 May 2002 21:39:06 +0000 (21:39 +0000)]
Replaces linux partition type constants.

svn path=/trunk/; revision=2992

21 years agoMinor cleanup
Eric Kohl [Tue, 28 May 2002 16:11:17 +0000 (16:11 +0000)]
Minor cleanup

svn path=/trunk/; revision=2991

21 years agoWait for BUSY to clear prior to selecting a drive. Disabled old code.
Eric Kohl [Tue, 28 May 2002 09:34:18 +0000 (09:34 +0000)]
Wait for BUSY to clear prior to selecting a drive. Disabled old code.

svn path=/trunk/; revision=2990

21 years agoBuild a fake partition table for removable media drives.
Eric Kohl [Tue, 28 May 2002 09:29:07 +0000 (09:29 +0000)]
Build a fake partition table for removable media drives.

svn path=/trunk/; revision=2989

21 years agoFix to support removable media (512 bytes per sector only!).
Eric Kohl [Tue, 28 May 2002 09:25:09 +0000 (09:25 +0000)]
Fix to support removable media (512 bytes per sector only!).

svn path=/trunk/; revision=2988

21 years agoFixed creation of paging file in SmPagingFilesQueryRoutine.
Hartmut Birr [Mon, 27 May 2002 18:24:44 +0000 (18:24 +0000)]
Fixed creation of paging file in SmPagingFilesQueryRoutine.

svn path=/trunk/; revision=2987

21 years agoFixed returned file length in GetFileInformationByHandle.
Hartmut Birr [Mon, 27 May 2002 18:23:49 +0000 (18:23 +0000)]
Fixed returned file length in GetFileInformationByHandle.

svn path=/trunk/; revision=2986

21 years agoSilenced debug messages.
Eric Kohl [Sun, 26 May 2002 20:25:49 +0000 (20:25 +0000)]
Silenced debug messages.

svn path=/trunk/; revision=2985

21 years agoImplemented command retries.
Eric Kohl [Sun, 26 May 2002 20:24:42 +0000 (20:24 +0000)]
Implemented command retries.
Improved error handling.

svn path=/trunk/; revision=2984

21 years agoAlways update disk geometry.
Eric Kohl [Sun, 26 May 2002 20:23:22 +0000 (20:23 +0000)]
Always update disk geometry.

svn path=/trunk/; revision=2983

21 years agoSilenced debug messages.
Eric Kohl [Sun, 26 May 2002 20:20:39 +0000 (20:20 +0000)]
Silenced debug messages.

svn path=/trunk/; revision=2982

21 years agoEnabled driver letter assignment for removable drives.
Eric Kohl [Sun, 26 May 2002 20:18:18 +0000 (20:18 +0000)]
Enabled driver letter assignment for removable drives.

svn path=/trunk/; revision=2981

21 years agoMade NTFS-Partitions mountable.
Eric Kohl [Sat, 25 May 2002 13:32:51 +0000 (13:32 +0000)]
Made NTFS-Partitions mountable.

svn path=/trunk/; revision=2980

21 years agoFixed timeout for unpopulated ide channels.
Eric Kohl [Sat, 25 May 2002 13:30:53 +0000 (13:30 +0000)]
Fixed timeout for unpopulated ide channels.
Fixed inquiry data block for unpopulated ide channels.
Minor cleanup.

svn path=/trunk/; revision=2979

21 years agoFixed severe bug in drive detection code.
Eric Kohl [Fri, 24 May 2002 22:28:11 +0000 (22:28 +0000)]
Fixed severe bug in drive detection code.
Minor cleanup.

svn path=/trunk/; revision=2978

21 years agoFixed a severe bug in RtlQueryRegistryValues() and implemented support for REG_EXPAND_SZ.
Eric Kohl [Fri, 24 May 2002 18:08:39 +0000 (18:08 +0000)]
Fixed a severe bug in RtlQueryRegistryValues() and implemented support for REG_EXPAND_SZ.
Read the system environment from the registry.

svn path=/trunk/; revision=2977

21 years agoAdded import of REG_EXPAND_SZ registry values.
Eric Kohl [Fri, 24 May 2002 07:52:09 +0000 (07:52 +0000)]
Added import of REG_EXPAND_SZ registry values.
Added media change support.
Added 'BootExecute'-feature to smss.
Added autochk dummy application.

svn path=/trunk/; revision=2976

21 years agoBuild failed, then I removed it and checked it out again but ^Ms were there again.
Emanuele Aliberti [Thu, 23 May 2002 20:59:22 +0000 (20:59 +0000)]
Build failed, then I removed it and checked it out again but ^Ms were there again.
I just removed the ^M at EOF. Maybe this time it works.

svn path=/trunk/; revision=2975

21 years agoUse NT-compatible (VPB-based) mounting mechanism.
Eric Kohl [Thu, 23 May 2002 09:53:26 +0000 (09:53 +0000)]
Use NT-compatible (VPB-based) mounting mechanism.

svn path=/trunk/; revision=2974

21 years agoCompared the output of fat.asm from nasm v0.98 and nasm v0.98.32.
Brian Palmer [Wed, 22 May 2002 22:15:28 +0000 (22:15 +0000)]
Compared the output of fat.asm from nasm v0.98 and nasm v0.98.32.
Modified fat.asm to produce the same output under both versions.

svn path=/trunk/; revision=2973

21 years agoRead settings from the registry.
Eric Kohl [Wed, 22 May 2002 15:55:51 +0000 (15:55 +0000)]
Read settings from the registry.

svn path=/trunk/; revision=2972

21 years agoFixed Unload routine prototype.
Eric Kohl [Tue, 21 May 2002 19:29:00 +0000 (19:29 +0000)]
Fixed Unload routine prototype.

svn path=/trunk/; revision=2971

21 years agontoskrnl/cc/view.c: CcRosTrimCache: Added a comment describing the
David Welch [Sun, 19 May 2002 14:09:35 +0000 (14:09 +0000)]
ntoskrnl/cc/view.c: CcRosTrimCache: Added a comment describing the
function.
ntoskrnl/ex/fmutex.c: ExAcquireFastMutexUnsafe: Reverted incorrect fix.
ntoskrnl/mm/section.c: MmUnmapViewOfSection: Removed acquiring the address
space lock; this is always done by the caller.
ntoskrnl/mm/section.c: NtUnmapViewOfSection: Hold the address space lock
over calls to MmUnmapViewOfSection.

svn path=/trunk/; revision=2970

21 years agoFixed a bug in ExAquireFastMutexUnsafe
Casper Hornstrup [Sun, 19 May 2002 13:53:02 +0000 (13:53 +0000)]
Fixed a bug in ExAquireFastMutexUnsafe

svn path=/trunk/; revision=2969

21 years agoservices/fs/cdfs/.cvsignore: Added .cvsignore file
David Welch [Fri, 17 May 2002 23:01:57 +0000 (23:01 +0000)]
services/fs/cdfs/.cvsignore: Added .cvsignore file
ntoskrnl/ex/fmutex.c: ExAcquireFastMutex: Added an check for recursively
acquiring a FAST_MUTEX.
ntoskrnl/include/internal/mm.h: ADDRESS_SPACE: Changed lock from a KMUTEX
to a FAST_MUTEX.
ntoskrnl/mm/aspace: MmLockAddressSpace, MmUnlockAddressSpace,
MmInitializeAddressSpace: Changed lock from a KMUTEX to a FAST_MUTEX
ntoskrnl/mm/mdl.c: MmInitializeMdlImplementation, MmMapLockedPages,
MmUnmapLockedPages: Use a special region that doesn't need the address
space lock for mapping MDLs.
ntoskrnl/mm/mminit.c: MmInit2: Call MDL initialization routine.
ntoskrnl/mm/section.c: MmMapViewOfSegment: Changed to a static function,
don't lock the address space since it is done by the caller.
ntoskrnl/ps/thread.c: PsDumpThreads: Fixed garbage prints in stack dump.

svn path=/trunk/; revision=2968

21 years agoNew calls and new exported functions
KJK::Hyperion [Fri, 17 May 2002 02:21:54 +0000 (02:21 +0000)]
New calls and new exported functions

svn path=/trunk/; revision=2967

21 years agoMiscellaneous calls
KJK::Hyperion [Fri, 17 May 2002 02:16:16 +0000 (02:16 +0000)]
Miscellaneous calls

svn path=/trunk/; revision=2966

21 years agoPreliminary code for fork()
KJK::Hyperion [Fri, 17 May 2002 02:12:55 +0000 (02:12 +0000)]
Preliminary code for fork()

svn path=/trunk/; revision=2965

21 years agoStarted implementing sys/stat.h calls
KJK::Hyperion [Fri, 17 May 2002 02:10:41 +0000 (02:10 +0000)]
Started implementing sys/stat.h calls

svn path=/trunk/; revision=2964

21 years agoTLS calls (currently unused)
KJK::Hyperion [Fri, 17 May 2002 02:07:14 +0000 (02:07 +0000)]
TLS calls (currently unused)

svn path=/trunk/; revision=2963

21 years agoTemporary code for debugging purposes
KJK::Hyperion [Fri, 17 May 2002 02:04:39 +0000 (02:04 +0000)]
Temporary code for debugging purposes

svn path=/trunk/; revision=2962

21 years agoFixed some embarassing errors
KJK::Hyperion [Fri, 17 May 2002 01:55:34 +0000 (01:55 +0000)]
Fixed some embarassing errors

svn path=/trunk/; revision=2961

21 years agoerrno finally thread-safe
KJK::Hyperion [Fri, 17 May 2002 01:52:03 +0000 (01:52 +0000)]
errno finally thread-safe

svn path=/trunk/; revision=2960

21 years agoTemporary code for debugging purposes
KJK::Hyperion [Fri, 17 May 2002 01:49:53 +0000 (01:49 +0000)]
Temporary code for debugging purposes

svn path=/trunk/; revision=2959

21 years agoTemporary code
KJK::Hyperion [Fri, 17 May 2002 01:47:13 +0000 (01:47 +0000)]
Temporary code

svn path=/trunk/; revision=2958

21 years agoFixed assert() macro, fixed header
KJK::Hyperion [Fri, 17 May 2002 01:42:41 +0000 (01:42 +0000)]
Fixed assert() macro, fixed header

svn path=/trunk/; revision=2957

21 years agoSysV IPC headers
KJK::Hyperion [Fri, 17 May 2002 01:37:15 +0000 (01:37 +0000)]
SysV IPC headers

svn path=/trunk/; revision=2956

21 years agoModified LdrLoadModule() to return NTSTATUS.
Eric Kohl [Thu, 16 May 2002 06:41:30 +0000 (06:41 +0000)]
Modified LdrLoadModule() to return NTSTATUS.
Added missing definitions.

svn path=/trunk/; revision=2955

21 years agoAdded experimental support for FAT and NTFS FSDs.
Eric Kohl [Wed, 15 May 2002 18:05:00 +0000 (18:05 +0000)]
Added experimental support for FAT and NTFS FSDs.
Silenced debug messges.

svn path=/trunk/; revision=2954

21 years agoAdded file system recognizer driver.
Eric Kohl [Wed, 15 May 2002 09:42:19 +0000 (09:42 +0000)]
Added file system recognizer driver.
Implemented file system driver loading.
Minor cleanup.

svn path=/trunk/; revision=2953

21 years agoSilenced debug message.
Eric Kohl [Tue, 14 May 2002 23:17:12 +0000 (23:17 +0000)]
Silenced debug message.

svn path=/trunk/; revision=2952

21 years agoFixed several cache-related bugs.
Eric Kohl [Tue, 14 May 2002 23:16:23 +0000 (23:16 +0000)]
Fixed several cache-related bugs.
Silenced debug messages.

svn path=/trunk/; revision=2951

21 years agoReverted the MPW changes (keep these in a seperate branch)
David Welch [Tue, 14 May 2002 21:19:21 +0000 (21:19 +0000)]
Reverted the MPW changes (keep these in a seperate branch)

svn path=/trunk/; revision=2950

21 years agoAdded section test
Casper Hornstrup [Mon, 13 May 2002 20:16:26 +0000 (20:16 +0000)]
Added section test

svn path=/trunk/; revision=2947

21 years agoUse ULONG_PTR instead of ULONG when doing pointer arithmetics.
Casper Hornstrup [Mon, 13 May 2002 18:10:41 +0000 (18:10 +0000)]
Use ULONG_PTR instead of ULONG when doing pointer arithmetics.
Use ULONG_PTR for physical adresses and PVOID for virtual addresses.
Added several consistency checks in the memory memory manager.

svn path=/trunk/; revision=2946

21 years agoAdded file and directory caching.
Eric Kohl [Thu, 9 May 2002 15:53:02 +0000 (15:53 +0000)]
Added file and directory caching.
Improved verify support.
Fixed a joliet filename bug.

svn path=/trunk/; revision=2945

21 years agoSupport multiple debug targets at the same time.
Casper Hornstrup [Wed, 8 May 2002 17:05:32 +0000 (17:05 +0000)]
Support multiple debug targets at the same time.
E.g. to use both serial logging on COM1 and GDB remote debugging on COM2 use:
/DEBUGPORT=COM1 /COM2 /DEBUGPORT=GDB
Made PICE compile with GCC 3.2.

svn path=/trunk/; revision=2944

21 years agoRemoved reseting of IrpFlags in ScsiPortDispatchScsi.
Hartmut Birr [Tue, 7 May 2002 23:13:24 +0000 (23:13 +0000)]
Removed reseting of IrpFlags in ScsiPortDispatchScsi.

svn path=/trunk/; revision=2943

21 years agoOpened files for redirection inheritable.
Hartmut Birr [Tue, 7 May 2002 23:05:33 +0000 (23:05 +0000)]
Opened files for redirection inheritable.
Printed error messages in main to stderr. If the output is redirected,
the error message isn't printed in the redirection.

svn path=/trunk/; revision=2942

21 years agoFixed a memory leakage in MmCreateImageSection.
Hartmut Birr [Tue, 7 May 2002 22:53:05 +0000 (22:53 +0000)]
Fixed a memory leakage in MmCreateImageSection.
Fixed a bug in MmNotPresentFaultSectionView.
Removed some wrong calls to ObDereferenceObject in MmMapViewOfSection.

svn path=/trunk/; revision=2941

21 years agoImplemented CsrTerminateProcess.
Hartmut Birr [Tue, 7 May 2002 22:46:23 +0000 (22:46 +0000)]
Implemented CsrTerminateProcess.

svn path=/trunk/; revision=2940

21 years agoFixed the range test for handles in CsrGetObject/CsrReleaseObject.
Hartmut Birr [Tue, 7 May 2002 22:45:40 +0000 (22:45 +0000)]
Fixed the range test for handles in CsrGetObject/CsrReleaseObject.

svn path=/trunk/; revision=2939

21 years agoCreate console active event inheritable.
Hartmut Birr [Tue, 7 May 2002 22:44:23 +0000 (22:44 +0000)]
Create console active event inheritable.

svn path=/trunk/; revision=2938

21 years agoFixed return value in CdfsGetFsSizeInformation.
Hartmut Birr [Tue, 7 May 2002 22:42:46 +0000 (22:42 +0000)]
Fixed return value in CdfsGetFsSizeInformation.

svn path=/trunk/; revision=2937

21 years agoModified reading of pipes.
Hartmut Birr [Tue, 7 May 2002 22:41:22 +0000 (22:41 +0000)]
Modified reading of pipes.
Fixed some bugs.

svn path=/trunk/; revision=2936

21 years agoModified closing of pipes.
Hartmut Birr [Tue, 7 May 2002 22:40:35 +0000 (22:40 +0000)]
Modified closing of pipes.

svn path=/trunk/; revision=2935

21 years agoAdded testing for inheritable objects/handles.
Hartmut Birr [Tue, 7 May 2002 22:39:26 +0000 (22:39 +0000)]
Added testing for inheritable objects/handles.

svn path=/trunk/; revision=2934

21 years agoAdded testing for inheritable objects in NtDuplicateObject/ObCreateHandleTable.
Hartmut Birr [Tue, 7 May 2002 22:38:29 +0000 (22:38 +0000)]
Added testing for inheritable objects in NtDuplicateObject/ObCreateHandleTable.
Modified ObCreateHandleTable. The target handle table has now the same layout as the source table.

svn path=/trunk/; revision=2933

21 years agoLock address space at returning in MmNotPresentFaultVirtualMemory.
Hartmut Birr [Tue, 7 May 2002 22:36:46 +0000 (22:36 +0000)]
Lock address space at returning in MmNotPresentFaultVirtualMemory.

svn path=/trunk/; revision=2932

21 years agoFixed a wrong index in MmProbeAndLockPages.
Hartmut Birr [Tue, 7 May 2002 22:35:02 +0000 (22:35 +0000)]
Fixed a wrong index in MmProbeAndLockPages.

svn path=/trunk/; revision=2931

21 years agoLock/unlock address space in KeReleasThread.
Hartmut Birr [Tue, 7 May 2002 22:34:17 +0000 (22:34 +0000)]
Lock/unlock address space in KeReleasThread.

svn path=/trunk/; revision=2930

21 years agoFixed the command line.
Hartmut Birr [Tue, 7 May 2002 22:33:07 +0000 (22:33 +0000)]
Fixed the command line.

svn path=/trunk/; revision=2929

21 years agoAdded handling for pipe closing.
Hartmut Birr [Tue, 7 May 2002 22:32:13 +0000 (22:32 +0000)]
Added handling for pipe closing.

svn path=/trunk/; revision=2928

21 years agoStarted piping implementation.
Hartmut Birr [Tue, 7 May 2002 22:31:26 +0000 (22:31 +0000)]
Started piping implementation.

svn path=/trunk/; revision=2927

21 years agoStarted piping implementation.
Hartmut Birr [Tue, 7 May 2002 22:27:42 +0000 (22:27 +0000)]
Started piping implementation.
Fixed the command line for popen.

svn path=/trunk/; revision=2926

21 years agoAdded csrss notification in ExitProcess.
Hartmut Birr [Tue, 7 May 2002 22:26:29 +0000 (22:26 +0000)]
Added csrss notification in ExitProcess.

svn path=/trunk/; revision=2925

21 years agoAdded support for piping.
Hartmut Birr [Tue, 7 May 2002 22:25:40 +0000 (22:25 +0000)]
Added support for piping.

svn path=/trunk/; revision=2924

21 years agoAdded basic support for console handles in DuplicateHandle.
Hartmut Birr [Tue, 7 May 2002 22:24:52 +0000 (22:24 +0000)]
Added basic support for console handles in DuplicateHandle.

svn path=/trunk/; revision=2923