Commit graph

4690 commits

Author SHA1 Message Date
Casper Hornstrup 922b9fdf46 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/cctypes.h (PREACTOS_COMMON_FCB_HEADER): Remove.
	(FSRTL_COMMON_FCB_HEADER): Add.
	* include/ddk/iotypes.h (FILE_OBJECT): Rename field
	SectionObjectPointers to SectionObjectPointer.
	* ntoskrnl/cc/copy.c, ntoskrnl/cc/misc.c, ntoskrnl/cc/pin.c,
	ntoskrnl/cc/view.c, ntoskrnl/io/rawfs.c, ntoskrnl/mm/section.c,
	drivers/fs/cdfs/cleanup.c, drivers/fs/cdfs/fcb.c,
	drivers/fs/cdfs/fsctl.c, drivers/fs/ntfs/fcb.c, drivers/fs/ntfs/fsctl.c,
	drivers/fs/vfat/close.c, drivers/fs/vfat/create.c,
	drivers/fs/vfat/finfo.c, drivers/fs/vfat/fcb.c, drivers/fs/vfat/fsctl.c:
	Use new	FILE_OBJECT structure.
	* drivers/fs/cdfs/cdfs.h, drivers/fs/ntfs/ntfs.h, drivers/fs/vfat/vfat.h:
	Use new FSRTL_COMMON_FCB_HEADER structure.
	* drivers/net/afd/include/afd.h (FSRTL_COMMON_FCB_HEADER): Remove.
	* include/ddk/ketypes.h (KQUEUE): Match w32api structure.
	* ntoskrnl/ke/queue.c, ntoskrnl/ke/wait.c: Use new structure.
	* ntoskrnl/ke/spinlock.c (KeAcquireSpinLockAtDpcLevel,
	KeReleaseSpinLockFromDpcLevel): Undefine before declaring.

svn path=/trunk/; revision=4865
2003-06-07 11:34:36 +00:00
Eric Kohl 83f9a49a15 Added RtlRandom() and RtlUniform().
svn path=/trunk/; revision=4864
2003-06-07 11:33:13 +00:00
Casper Hornstrup cafd29d267 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/ketypes.h (KSPIN_LOCK, PKSPIN_LOCK): Match w32api
	structures.
	* ntoskrnl/ke/spinlock.c: Use new structures.

svn path=/trunk/; revision=4863
2003-06-07 10:37:50 +00:00
Eric Kohl bdb2981529 Fixed minor bugs in RtlConvertSidToUnicodeString().
svn path=/trunk/; revision=4862
2003-06-07 10:35:27 +00:00
Casper Hornstrup ebabe56624 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/service.h: Move ...
	* include/ntos/service.h: ... here.
	* include/ddk/kdfuncs.h: Move ...
	* include/ntos/kdfuncs.h: ... here.
	* include/ntos/halfuncs.h: New file.
	* ntoskrnl/include/internal/hal/hal.h,
	ntoskrnl/include/internal/hal/bus.h,
	ntoskrnl/include/internal/hal/mps.h: Remove.
	* hal/halx86/include/hal.h: Remove disabled code.
	* include/ntos.h: Include ntos/service.h, ntos/halfuncs.h, and
	ntos/kdfuncs.h.
	* include/ddk/fstypes.h (FILE_LOCK_TOC): Move ...
	* include/ntos/file.h: ... here.
	* include/ddk/halfuncs.h (HalAllProcessorsStarted,
	HalBeginSystemInterrupt, HalDisableSystemInterrupt,
	HalEnableSystemInterrupt, HalEndSystemInterrupt,
	HalInitializeProcessor, HalInitSystem, HalReportResourceUsage): Move to
	include/ntos/halfuncs.h.
	* include/ddk/iofuncs.h (IoAssignDriveLetters): Ditto.
	* include/ddk/kefuncs.h (KeInitializeApc): Match w32api prototype.
	(KeRaiseIrqlToSynchLevel): Move to include/ntos/halfuncs.h.
	* include/ddk/ketypes.h (KAPC_ENVIRONMENT): Move to include/ntos/types.h.
	(KDEVICE_QUEUE, KDEVICE_QUEUE_ENTRY): Match w32api prototype.
	(KINTERRUPT): Move to include/ntos/zwtypes.h.
	* include/ddk/mmtypes.h (PAGE_ROUND_UP, PAGE_ROUND_DOWN): Move ...
	* include/ntos/mm.h: ... here.
	* include/ddk/ntddk.h: Don't include ddk/kdfuncs.h.
	* include/ddk/pstypes.h (PKTHREAD, PRKTHREAD): Add.
	(PsInitialSystemProcess, PsProcessType, PsThreadType): Move ...
	include/ntos/ps.h: ... here.
	* lib/ntdll/rtl/i386/exception.c (SehpContinue): New.
	* ntoskrnl/rtl/i386/exception.c (SehpContinue): Ditto.
	* ntoskrnl/include/internal/ke.h: Include <ddk/ntifs.h>.
	* ntoskrnl/include/internal/ntoskrnl.h: Include internal/ke.h.
	* ntoskrnl/ex/napi.c: Use new structure SSDT_ENTRY.
	* ntoskrnl/ke/apc.c (KeInitializeApc): Match w32api prototype.
	* ntoskrnl/ke/kqueue.c: Use fields of new structures KDEVICE_QUEUE
	and KDEVICE_QUEUE_ENTRY.

svn path=/trunk/; revision=4861
2003-06-07 10:14:40 +00:00
Emanuele Aliberti 9e0e46f4bd fireball added
svn path=/trunk/; revision=4860
2003-06-07 09:43:16 +00:00
Casper Hornstrup b6102c5a3c 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/cm/regfile.c (CmiCopyKey): Fix unsigned/signed warning.

svn path=/trunk/; revision=4859
2003-06-07 07:34:54 +00:00
Hartmut Birr d4c1149b14 - Do not interpret spaces within a quoted string as break marker.
svn path=/trunk/; revision=4857
2003-06-06 21:05:58 +00:00
Hartmut Birr a72bd6590c - Return ENOENT if the path name contains '*' or '?'.
svn path=/trunk/; revision=4856
2003-06-06 21:04:13 +00:00
Hartmut Birr 705db1eb52 - Do not create cache segments after the end of a file.
svn path=/trunk/; revision=4855
2003-06-06 21:02:42 +00:00
Hartmut Birr 5143077b97 - Fixed the used offset for page table/directory entries and pageops.
svn path=/trunk/; revision=4854
2003-06-06 21:01:36 +00:00
Hartmut Birr 08b4648a0a - Fixed the used offset for page table/directory entries and pageops.
- Use the page directory as page table for short segments.
- Handle zero padded segments (segments which are not complete within a file)
  by using of non dircet mapped non private pages.
- Removed some overhead.
- Fixed the locking of pages and cache segments in MmPageOutDeleteMapping/MmPageOutSectionView.

svn path=/trunk/; revision=4853
2003-06-06 21:00:28 +00:00
Eric Kohl b694b8942b Implemented NtSaveKey().
svn path=/trunk/; revision=4852
2003-06-06 19:11:02 +00:00
Gé van Geldorp 2730a5ab14 Improve polygon filling, patch by Tim Jobling
svn path=/trunk/; revision=4851
2003-06-06 10:27:43 +00:00
Gé van Geldorp 9ee4f092fc Remove some dead code
svn path=/trunk/; revision=4850
2003-06-06 10:18:32 +00:00
Gé van Geldorp 2b5affa11d Fix CreateDIBSection() and add some stuff to GetDIBits()
svn path=/trunk/; revision=4849
2003-06-06 10:17:44 +00:00
Gunnar Dalsnes a988e5ab0e -corrected protoype
svn path=/trunk/; revision=4848
2003-06-05 23:38:37 +00:00
Gunnar Dalsnes aba6a902a2 -impl. process and thread cleanup
svn path=/trunk/; revision=4847
2003-06-05 22:47:47 +00:00
Gunnar Dalsnes 9b53ffc03a -call thread notify routines below DISPATCH_LVL
svn path=/trunk/; revision=4846
2003-06-05 22:45:38 +00:00
Gunnar Dalsnes 1f8cbb88a0 -call process notify routines below DISPATCH_LVL
-enable removal of process notify routines

svn path=/trunk/; revision=4845
2003-06-05 22:45:22 +00:00
Brian Palmer 5320d2eb3f Changes in v1.8.13 (6/05/2003) (brianp)
- Added support for booting Linux 2.4.x kernels
- i386 exception handler now reports FreeLoader version number

svn path=/trunk/; revision=4844
2003-06-05 20:06:48 +00:00
Casper Hornstrup 1179903bd5 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/windows/icon.c (CURSORICON_FindBestCursor,
	CURSORICON_FindBestIcon): Fix unsigned/signed warning.

svn path=/trunk/; revision=4843
2003-06-05 11:57:12 +00:00
Casper Hornstrup f2f1a0251b 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* ntoskrnl/include/internal/i386/ps.h (KPCR_TSS): Redefine as 0x3C.
	(KPCR_TIB): New structure.
	(IKPCR): Ditto.
	(KPCR): Match w32api structure fieldnames.
	* ntoskrnl/ke/main.c (ExpInitializeExecutive): Adjust for changes to KPCR.
	* ntoskrnl/ke/i386/kernel.c: Ditto.
	* ntoskrnl/ps/thread.c: Ditto.

svn path=/trunk/; revision=4842
2003-06-05 11:51:13 +00:00
Marty Dill 55c6517e00 Send WM_STYLECHANGING/WM_STYLECHANGED when setting GWL_STYLE or GWL_EXSTYLE.
svn path=/trunk/; revision=4841
2003-06-05 03:55:36 +00:00
Gunnar Dalsnes 56bcfe5420 -cleanup IoBuildSynchronousFsdRequest
svn path=/trunk/; revision=4840
2003-06-04 21:41:12 +00:00
Gunnar Dalsnes 08b9eddcc0 -Impl. IoGetRelatedDeviceObject
-Impl. IoAttachDevice

svn path=/trunk/; revision=4839
2003-06-04 21:35:37 +00:00
Hartmut Birr ffe18386b5 - Implemented memmove fot i386 with assembler.
svn path=/trunk/; revision=4838
2003-06-04 18:14:46 +00:00
Hartmut Birr b49e2bc450 - Clear the direction flag previous each 'rep string' instruction.
svn path=/trunk/; revision=4837
2003-06-04 18:11:16 +00:00
Hartmut Birr b841a51945 - Fixed a wrong call to OffsetToCluster in VfatSetAllocationSizeInformation (Thanks to Marc Sch�tz).
svn path=/trunk/; revision=4836
2003-06-04 18:01:02 +00:00
Eric Kohl b1b828a434 Improved icon support. Patch by Tim Jobling.
svn path=/trunk/; revision=4835
2003-06-03 22:26:52 +00:00
Eric Kohl e25101088c Improved icon support. Patch by tim Jobling.
svn path=/trunk/; revision=4834
2003-06-03 22:23:48 +00:00
Eric Kohl 62b803fe27 Install icon file.
svn path=/trunk/; revision=4833
2003-06-03 22:22:15 +00:00
Eric Kohl 966127468f Add icon as binary file.
svn path=/trunk/; revision=4831
2003-06-03 20:37:01 +00:00
Eric Kohl 277fc435a5 Removed broken icon.
svn path=/trunk/; revision=4830
2003-06-03 20:35:48 +00:00
Jurgen van Gael 7e41bced72 Implemented NtUserGetAncestor with GA_ROOT flag, stops winhello from crashing when clicking on the title bar.
svn path=/trunk/; revision=4828
2003-06-03 15:43:57 +00:00
Eric Kohl 1018ad9087 Point the root key's parent key pointer to the root key to prevent check routines from reporting false positives.
svn path=/trunk/; revision=4827
2003-06-03 07:28:01 +00:00
Eric Kohl 642d896c7b Implemented 'QueryName' method for key objects.
svn path=/trunk/; revision=4826
2003-06-02 16:51:15 +00:00
Eric Kohl f05c47fa29 Fixed a tiny bug in ObQueryNameString().
svn path=/trunk/; revision=4825
2003-06-02 16:49:33 +00:00
Eric Kohl 002980df9c Fixed ObQueryNameString() for unnamed objects.
svn path=/trunk/; revision=4824
2003-06-02 13:03:15 +00:00
Emanuele Aliberti 881f1cd531 Campbell and Dalsnes added to the coders directory.
By the way:
- who's fireball@mok ?
- how do I add Unicode strings to RC files?

svn path=/trunk/; revision=4823
2003-06-02 12:30:05 +00:00
Eric Kohl cea34097ce - Implemented ObQueryNameString().
- Added 'QueryName' object function.
- Implemented 'QueryName' function for file objects.

svn path=/trunk/; revision=4822
2003-06-02 10:04:28 +00:00
Hartmut Birr 210252c422 - Update two pde's if the kernel stack crosses a 4MB boundary.
svn path=/trunk/; revision=4821
2003-06-01 19:50:04 +00:00
Hartmut Birr d4ce775b60 - Fixed the type of the result from open and replace fclose with close.
- Call time with a parameter (WIN32).

svn path=/trunk/; revision=4820
2003-06-01 19:35:28 +00:00
Hartmut Birr 819f2750e9 - Return after cleanup in NtEnumerateKey.
svn path=/trunk/; revision=4819
2003-06-01 19:28:12 +00:00
Hartmut Birr 392a5753ab - Added memccpy.
svn path=/trunk/; revision=4818
2003-06-01 19:23:18 +00:00
Hartmut Birr 4900a6f281 - Removed some files which are replaced by the string library.
svn path=/trunk/; revision=4817
2003-06-01 19:18:09 +00:00
Eric Kohl c28184bd36 Added missing .cvsignore file. Patch by Michael Fritscher.
svn path=/trunk/; revision=4816
2003-06-01 18:18:02 +00:00
Eric Kohl 25758f18d9 Implemented RtlExtendedMagicDivide() and RtlSelfRelativeToAbsoluteSD(). Patch by Marc Schuetz.
svn path=/trunk/; revision=4815
2003-06-01 18:14:24 +00:00
Eric Kohl b036cea0eb Implemented RtlExtendedMagicDivide(). Patch by Marc Schuetz.
svn path=/trunk/; revision=4814
2003-06-01 18:13:23 +00:00
Eric Kohl 8eb47000b7 Remobed duplicate functionality and cleaned-up the registry code.
svn path=/trunk/; revision=4813
2003-06-01 17:39:14 +00:00