Commit graph

3614 commits

Author SHA1 Message Date
Eric Kohl
19a1ecf23f Disabled a debug message.
svn path=/trunk/; revision=3768
2002-11-18 22:40:32 +00:00
Eric Kohl
3788a144f4 Added PCI class and subclass definitions.
svn path=/trunk/; revision=3767
2002-11-18 22:39:02 +00:00
Robert Dickenson
8e08360d7b Fixed up the path spec and filename in the header blocks
svn path=/trunk/; revision=3766
2002-11-18 05:43:33 +00:00
Robert Dickenson
e8a0978c40 Fixed up the path spec and filename in the header blocks
svn path=/trunk/; revision=3765
2002-11-18 03:19:43 +00:00
Robert Dickenson
3cdb8f8517 *nix newlines throughout file fixed.
svn path=/trunk/; revision=3764
2002-11-17 04:10:56 +00:00
Robert Dickenson
bcccc0197d Relative include path fixed to absolute path.
svn path=/trunk/; revision=3763
2002-11-17 04:00:33 +00:00
Eric Kohl
89c5d6dd51 Revoved lots of unix line breaks.
svn path=/trunk/; revision=3762
2002-11-16 00:08:45 +00:00
Casper Hornstrup
28516f1bfb Fix compillation error.
svn path=/trunk/; revision=3761
2002-11-15 23:26:16 +00:00
Casper Hornstrup
5e586c9ecf 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
2002-11-15 22:30:30 +00:00
Eric Kohl
da9ce8cff3 Removed special case of process without process parameter block for initial process (smss.exe).
svn path=/trunk/; revision=3759
2002-11-15 22:06:01 +00:00
Eric Kohl
5a6a428544 Create process parameter block for initial process (smss.exe).
svn path=/trunk/; revision=3758
2002-11-15 22:04:51 +00:00
Casper Hornstrup
7a11ad1c92 Add missing files
svn path=/trunk/; revision=3757
2002-11-15 21:59:54 +00:00
Casper Hornstrup
2c1d2fb84f Add missing files.
svn path=/trunk/; revision=3756
2002-11-15 21:56:37 +00:00
Casper Hornstrup
755fde7e59 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
2002-11-14 18:21:07 +00:00
Casper Hornstrup
d9e3082d1f 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
2002-11-13 21:57:47 +00:00
Eric Kohl
58cbfb764a * 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
2002-11-13 18:25:18 +00:00
Robert Dickenson
d4293289b3 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
2002-11-13 12:08:26 +00:00
Robert Dickenson
e2d799f080 Commit of the rest of Gunnars file locking patch.
svn path=/trunk/; revision=3751
2002-11-13 06:01:12 +00:00
Robert Dickenson
84831891ce added #ifdef around headers to support test build. Modified debug messages.
svn path=/trunk/; revision=3750
2002-11-13 05:18:03 +00:00
Eric Kohl
3a8df0d499 Added setup information file txtsetup.sif.
svn path=/trunk/; revision=3749
2002-11-12 19:17:21 +00:00
Eric Kohl
eb1c9c77ee Reworked initial process loader.
Crash the system if the initial process fails within 5 seconds.

svn path=/trunk/; revision=3748
2002-11-12 19:12:34 +00:00
Steven Edwards
2f04a917bb Relicensed as LGPL and Released back to the WINE project as per
Rob's Approvial.

svn path=/trunk/; revision=3747
2002-11-12 15:25:15 +00:00
Marty Dill
49c384301b Implemented ReadConsoleOutputA() and WriteConsoleInputA().
svn path=/trunk/; revision=3746
2002-11-12 00:48:26 +00:00
Marty Dill
13aca9ca62 Added missing exports for a few console functions.
svn path=/trunk/; revision=3745
2002-11-12 00:46:02 +00:00
Marty Dill
4f2f3061db CreateDirectoryExW: Fail gracefully if directory name is null/empty.
svn path=/trunk/; revision=3744
2002-11-12 00:45:16 +00:00
Hartmut Birr
62765739e2 * Changed the access to the bitmap from BYTE to ULONG for speeding up.
svn path=/trunk/; revision=3743
2002-11-11 22:53:26 +00:00
Hartmut Birr
7c80de2804 * 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
2002-11-11 21:53:25 +00:00
Hartmut Birr
153843d464 * 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
2002-11-11 21:51:33 +00:00
Hartmut Birr
62eac3dcff * 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
2002-11-11 21:49:18 +00:00
Casper Hornstrup
4ba36f62e4 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
2002-11-10 19:24:01 +00:00
Casper Hornstrup
d8acda7c3e 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
2002-11-10 18:17:43 +00:00
Robert Dickenson
5db0748cc3 committing more developments.
svn path=/trunk/; revision=3737
2002-11-10 14:29:27 +00:00
Robert Dickenson
5acde91b05 changed "$(RM) *.various" to "- $(RM) *.various" in order to keep the clean rule going.
svn path=/trunk/; revision=3736
2002-11-10 14:27:45 +00:00
Robert Dickenson
9a3d4ea3c6 added a couple of entries within the [\Registry\Machine\SOFTWARE\Classes] section for testing.
svn path=/trunk/; revision=3735
2002-11-10 14:12:41 +00:00
Robert Dickenson
adb86bd362 added #ifdef around headers to support private test build and various changes to debug diagnostics.
svn path=/trunk/; revision=3734
2002-11-10 14:10:09 +00:00
Robert Dickenson
d7753423c7 added #ifdef around headers to support private test build and some temporary zeroing of arrays during debugging.
svn path=/trunk/; revision=3733
2002-11-10 14:02:44 +00:00
Robert Dickenson
2e1e2b7968 added #ifdef around headers to support private test build.
svn path=/trunk/; revision=3732
2002-11-10 14:00:41 +00:00
Robert Dickenson
68c82b15c9 added #ifdef around headers and some debug message copying/terminating to support private test build.
svn path=/trunk/; revision=3731
2002-11-10 13:57:06 +00:00
Robert Dickenson
4ca5b5aa15 changed the default trace level to MID_TRACE for when DBG is defined.
svn path=/trunk/; revision=3730
2002-11-10 13:53:34 +00:00
Robert Dickenson
e99ad86ebe slight mod to the end of line for received ip packets to display a debug message.
svn path=/trunk/; revision=3729
2002-11-10 13:52:13 +00:00
Robert Dickenson
ba7265a614 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
2002-11-10 13:48:51 +00:00
Robert Dickenson
73eb67f51b just some code to to some specific key reading tests.
svn path=/trunk/; revision=3727
2002-11-10 13:47:03 +00:00
Robert Dickenson
24ef4d36dc 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
2002-11-10 13:44:48 +00:00
Robert Dickenson
e0461e2d52 display some extra debug messages on boot to see whats going on.
svn path=/trunk/; revision=3725
2002-11-10 13:40:08 +00:00
Robert Dickenson
c2cdc52d2e committing a parameter swap from Gunnars heap fix which I seem to have missed.
svn path=/trunk/; revision=3724
2002-11-10 13:38:14 +00:00
Robert Dickenson
77f5d4efe8 added #ifdef around headers to support private test build.
svn path=/trunk/; revision=3723
2002-11-10 13:36:59 +00:00
Robert Dickenson
2c9f063386 added #ifdef around headers to support private test build and modified debug messages.
svn path=/trunk/; revision=3722
2002-11-10 13:36:15 +00:00
Robert Dickenson
c37549f7cd added trivial comment reference consistancy with DDK prototype.
svn path=/trunk/; revision=3721
2002-11-10 13:34:42 +00:00
Robert Dickenson
ccb6663108 useless change to only some parameter names to be more consistent with DDK prototype.
svn path=/trunk/; revision=3720
2002-11-10 13:33:26 +00:00
Robert Dickenson
af405dcb05 display debug message on boot.
svn path=/trunk/; revision=3719
2002-11-10 13:30:32 +00:00