Eric Kohl [Sat, 10 May 2003 09:26:59 +0000 (09:26 +0000)]
Detect hardware before ntoskrnl.exe will be loaded.
svn path=/trunk/; revision=4662
Eric Kohl [Sat, 10 May 2003 09:25:35 +0000 (09:25 +0000)]
- Fixed counting the number of available harddisks for broken BIOSes.
- Enable/disable the display of read error messages.
svn path=/trunk/; revision=4661
Eric Kohl [Fri, 9 May 2003 21:58:05 +0000 (21:58 +0000)]
Removed duplicate output of used disk space in the summary.
svn path=/trunk/; revision=4660
Eric Kohl [Thu, 8 May 2003 18:55:09 +0000 (18:55 +0000)]
Added a little PnP-BIOS data dumper.
svn path=/trunk/; revision=4659
Eric Kohl [Thu, 8 May 2003 18:35:46 +0000 (18:35 +0000)]
Reworked and fixed most of the CPU and PnP code.
svn path=/trunk/; revision=4658
Gé van Geldorp [Thu, 8 May 2003 05:26:36 +0000 (05:26 +0000)]
Only update page dir for page containing stack
svn path=/trunk/; revision=4657
Gé van Geldorp [Wed, 7 May 2003 21:41:03 +0000 (21:41 +0000)]
Don't let page containing stack disappear when switching memory spaces
svn path=/trunk/; revision=4656
Aleksey Bragin [Wed, 7 May 2003 19:33:14 +0000 (19:33 +0000)]
Added EthFilterDprIndicateReceive(), EthFilterDprIndicateReceiveComplete() functions, since Realtek 8139 network card driver imports them. Their contents is "UNIMPLEMENTED". This makes ReactOS at least gracefully discarding this driver (and not crashing with BugCheck).
svn path=/trunk/; revision=4655
Aleksey Bragin [Wed, 7 May 2003 19:09:48 +0000 (19:09 +0000)]
Uncommented exporting of EthFilterDprIndicateReceive (and ReceiveComplete)
svn path=/trunk/; revision=4654
Eric Kohl [Wed, 7 May 2003 18:45:56 +0000 (18:45 +0000)]
Removed unix newlines
svn path=/trunk/; revision=4653
Eric Kohl [Tue, 6 May 2003 19:01:03 +0000 (19:01 +0000)]
Moved test sound.
svn path=/trunk/; revision=4652
Eric Kohl [Tue, 6 May 2003 16:36:42 +0000 (16:36 +0000)]
Added PnP-BIOS detection.
svn path=/trunk/; revision=4651
Eric Kohl [Tue, 6 May 2003 08:45:10 +0000 (08:45 +0000)]
Fixed wrong types in printf strings.
svn path=/trunk/; revision=4650
Eric Kohl [Tue, 6 May 2003 07:17:52 +0000 (07:17 +0000)]
Added emergency console dummy page.
Removed unused code.
svn path=/trunk/; revision=4649
Gé van Geldorp [Tue, 6 May 2003 06:49:57 +0000 (06:49 +0000)]
Fixes to GetFullPathNameA and RtlGetFullPathName_U by Tim Jobling
svn path=/trunk/; revision=4648
Casper Hornstrup [Mon, 5 May 2003 19:59:21 +0000 (19:59 +0000)]
2003-05-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/helper.mk: Kill implicit rule ".o".
svn path=/trunk/; revision=4647
Emanuele Aliberti [Mon, 5 May 2003 19:58:27 +0000 (19:58 +0000)]
KERNEL32.OpenConsoleW() implemented.
svn path=/trunk/; revision=4646
Steven Edwards [Mon, 5 May 2003 16:40:38 +0000 (16:40 +0000)]
build wm_paint and bitblt tests
svn path=/trunk/; revision=4645
Steven Edwards [Mon, 5 May 2003 16:40:05 +0000 (16:40 +0000)]
Add install for wm_paint and bitblt test
svn path=/trunk/; revision=4644
Gé van Geldorp [Sun, 4 May 2003 15:42:21 +0000 (15:42 +0000)]
Allow sending of messages from non-GUI threads
svn path=/trunk/; revision=4643
Gé van Geldorp [Sun, 4 May 2003 15:41:40 +0000 (15:41 +0000)]
Clean up debugging stuff and silence debug messages
svn path=/trunk/; revision=4642
Gé van Geldorp [Sat, 3 May 2003 14:38:11 +0000 (14:38 +0000)]
(Partial) implementation of W32kGetDIBits()
svn path=/trunk/; revision=4641
Gé van Geldorp [Sat, 3 May 2003 14:12:14 +0000 (14:12 +0000)]
Fix GetDC(NULL), not complete yet
svn path=/trunk/; revision=4640
Gé van Geldorp [Sat, 3 May 2003 13:39:06 +0000 (13:39 +0000)]
Implement GetDeviceCaps()
svn path=/trunk/; revision=4639
Eric Kohl [Sat, 3 May 2003 13:11:39 +0000 (13:11 +0000)]
Added .cvsignore files. Patch by Mihcael Fritscher.
svn path=/trunk/; revision=4638
Eric Kohl [Fri, 2 May 2003 18:12:38 +0000 (18:12 +0000)]
Started work on second stage setup.
svn path=/trunk/; revision=4636
Gé van Geldorp [Fri, 2 May 2003 07:57:04 +0000 (07:57 +0000)]
Silence CVS
svn path=/trunk/; revision=4635
Gé van Geldorp [Fri, 2 May 2003 07:52:33 +0000 (07:52 +0000)]
Implemented NtUserRegisterWindowMessage
svn path=/trunk/; revision=4634
Gé van Geldorp [Thu, 1 May 2003 22:00:31 +0000 (22:00 +0000)]
Properly clean up terminated threads
svn path=/trunk/; revision=4633
Eric Kohl [Thu, 1 May 2003 17:50:35 +0000 (17:50 +0000)]
Get timeout value from the registry or use default timeout.
svn path=/trunk/; revision=4632
Eric Kohl [Thu, 1 May 2003 17:49:23 +0000 (17:49 +0000)]
Get timeout value from the registry.
svn path=/trunk/; revision=4631
Eric Kohl [Thu, 1 May 2003 15:46:06 +0000 (15:46 +0000)]
Added CPU detection for multiprocessor systems.
svn path=/trunk/; revision=4630
Gé van Geldorp [Wed, 30 Apr 2003 22:07:30 +0000 (22:07 +0000)]
C++ runtime support, mostly copied from Wine
svn path=/trunk/; revision=4629
Gé van Geldorp [Wed, 30 Apr 2003 22:04:12 +0000 (22:04 +0000)]
Changed some DbgPrint's to DPRINT's
svn path=/trunk/; revision=4628
Gé van Geldorp [Wed, 30 Apr 2003 22:03:00 +0000 (22:03 +0000)]
Added stubs for keybd_event() and mouse_event()
svn path=/trunk/; revision=4627
Gé van Geldorp [Wed, 30 Apr 2003 22:00:41 +0000 (22:00 +0000)]
Fix SetThreadPriority()
svn path=/trunk/; revision=4626
Gé van Geldorp [Wed, 30 Apr 2003 21:56:22 +0000 (21:56 +0000)]
Implement ThreadBasePriority case for NtSetInformationThread()
svn path=/trunk/; revision=4625
Gé van Geldorp [Wed, 30 Apr 2003 21:06:02 +0000 (21:06 +0000)]
Added imm32 and winspool
svn path=/trunk/; revision=4624
Gé van Geldorp [Wed, 30 Apr 2003 20:55:00 +0000 (20:55 +0000)]
Install winspool.drv
svn path=/trunk/; revision=4623
Gé van Geldorp [Wed, 30 Apr 2003 20:44:06 +0000 (20:44 +0000)]
Fully stubbed winspool.drv (Wine printing is too different from ReactOS
to use that one)
svn path=/trunk/; revision=4622
Eric Kohl [Wed, 30 Apr 2003 18:10:46 +0000 (18:10 +0000)]
Fixed disk geometry detection bug.
Added CPU detection for uniprocessor systems.
svn path=/trunk/; revision=4621
Gé van Geldorp [Wed, 30 Apr 2003 15:11:31 +0000 (15:11 +0000)]
Zero-initialze TEB for new threads
svn path=/trunk/; revision=4620
Eric Kohl [Wed, 30 Apr 2003 14:08:04 +0000 (14:08 +0000)]
- Added DiskGetExtendedDriveParameters()
- Moved hardware detection into the arch directory
- Rewrote/completed harddisk detection
- Removed PCI and IDE detection
- Added basic CPU detection
svn path=/trunk/; revision=4619
Gé van Geldorp [Tue, 29 Apr 2003 22:39:57 +0000 (22:39 +0000)]
All IsBadXxxxPtr return values were backward (TRUE when they should be
FALSE and vv.)
svn path=/trunk/; revision=4618
Eric Kohl [Tue, 29 Apr 2003 19:49:17 +0000 (19:49 +0000)]
Disabled debug messages.
svn path=/trunk/; revision=4617
Eric Kohl [Tue, 29 Apr 2003 18:06:26 +0000 (18:06 +0000)]
Implemented disk geometry update for BIOS drives.
Disk manager handling is not implemented yet.
svn path=/trunk/; revision=4616
KJK::Hyperion [Tue, 29 Apr 2003 02:17:01 +0000 (02:17 +0000)]
- new statically linked library ROSRTL, for code to be shared among system DLLs
- user-mode thread creation code moved to ROSRTL
- user-mode thread context initialization code fixed
- LdrInitializeThunk() breakin stub fixed
svn path=/trunk/; revision=4615
Casper Hornstrup [Mon, 28 Apr 2003 21:32:10 +0000 (21:32 +0000)]
2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile (DLLS): Add epsapi, psapi and wsock32.
* lib/ntdll/ldr/utils.c (LdrPerformRelocations): Handle the case where a
relocation crosses a page boundary.
(LdrFixupImports): Use image load address in calculatation of import
address list.
svn path=/trunk/; revision=4614
Eric Kohl [Mon, 28 Apr 2003 21:15:07 +0000 (21:15 +0000)]
Wiped the partition sector structure mess away.
Made sector read and write routines more flexible.
Fixed disk signature reading bug.
svn path=/trunk/; revision=4613
Casper Hornstrup [Mon, 28 Apr 2003 19:44:13 +0000 (19:44 +0000)]
2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/fslib/vfatlib/vfatlib.h: New file.
* subsys/system/usetup/format.c: Ditto.
* subsys/system/usetup/format.h: Ditto.
* lib/fslib/vfatlib/vfatlib.c (GetShiftCount): Define.
(VfatWriteBootSector, VfatWriteFsInfo, VfatWriteFAT,
VfatWriteRootDirectory): New function.
(VfatFormat): Implement.
* subsys/system/usetup/bootsup.c: (InstallFat32BootCodeToFile): Use
0x0000 as marker to disable backup boot sector.
(InstallFat32BootCodeToDisk): Add lower 8-bit to BackupBootSector.
Also treat 0x0000 as no backup boot sector is available.
* subsys/system/usetup/makefile (TARGET_SDKLIBS): Define.
(TARGET_OBJECTS): Add format.o.
* subsys/system/usetup/partlist.c (AddPartitionList): Initialize
PartNumber field.
(GetSelectedPartition): Set PartEntryNumber correctly.
(CreateSelectedPartition): Write partition information to disk.
(DeleteSelectedPartition): New function.
* subsys/system/usetup/partlist.h (PARTDATA): Add field CreatePartition.
(DeleteSelectedPartition): Prototype.
* subsys/system/usetup/usetup.c (ConfirmDeletePartition): New function.
(SelectPartitionPage): Support deletion of partition.
(FormatPartitionPage): Support formatting of partition.
svn path=/trunk/; revision=4612
Aleksey Bragin [Mon, 28 Apr 2003 14:32:36 +0000 (14:32 +0000)]
Added DbgPrint-notification for stubbed function KeSetAffinityThread()
svn path=/trunk/; revision=4611
Aleksey Bragin [Mon, 28 Apr 2003 14:31:47 +0000 (14:31 +0000)]
Added notification for partly-implemented NdisMSetAttributesEx()
svn path=/trunk/; revision=4610
Eric Kohl [Mon, 28 Apr 2003 11:05:34 +0000 (11:05 +0000)]
Use disk signature or MBR checksum to find the right disk.
Add missing device objects to device extensions.
svn path=/trunk/; revision=4609
Gé van Geldorp [Mon, 28 Apr 2003 10:37:40 +0000 (10:37 +0000)]
RegionSize in MEMORY_BASIC_INFORMATION is relative to BaseAddress, not to
AllocationBase
svn path=/trunk/; revision=4608
Gé van Geldorp [Sun, 27 Apr 2003 23:14:04 +0000 (23:14 +0000)]
Layout stat structures exactly the same as in Microsoft MSVCRT, for
binary compatibility
svn path=/trunk/; revision=4607
guido [Sun, 27 Apr 2003 20:23:30 +0000 (20:23 +0000)]
fixed file dates in root directory
svn path=/trunk/; revision=4606
Hartmut Birr [Sun, 27 Apr 2003 18:58:00 +0000 (18:58 +0000)]
- Initialize the fpu control register within the context structure.
svn path=/trunk/; revision=4605
Casper Hornstrup [Sun, 27 Apr 2003 18:18:51 +0000 (18:18 +0000)]
- Query BIOS for supported disk drives
svn path=/trunk/; revision=4604
Eric Kohl [Sun, 27 Apr 2003 18:12:15 +0000 (18:12 +0000)]
Removed unused bios32 support.
svn path=/trunk/; revision=4603
Eric Kohl [Sun, 27 Apr 2003 18:10:38 +0000 (18:10 +0000)]
Detect and print BIOS disk geometry.
svn path=/trunk/; revision=4602
Eric Kohl [Sun, 27 Apr 2003 18:08:56 +0000 (18:08 +0000)]
Added disk geometry structures for hardware detection.
svn path=/trunk/; revision=4601
Emanuele Aliberti [Sun, 27 Apr 2003 16:25:25 +0000 (16:25 +0000)]
FsRtlNumberOfRunsInLargeMcb() implemented (simple).
svn path=/trunk/; revision=4600
Hartmut Birr [Sun, 27 Apr 2003 16:21:16 +0000 (16:21 +0000)]
- Fixed the frame layout for trap 15 and 16.
svn path=/trunk/; revision=4599
Casper Hornstrup [Sun, 27 Apr 2003 14:45:52 +0000 (14:45 +0000)]
2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/helper.mk (TARGET_ASFLAGS): Add -march and define MK_ARCH_ID.
* lib/ntdll/makefile (TARGET_ASFLAGS): Define as
"-I $(PATH_TO_TOP)/include".
(TARGET_OBJECTS): Add ldr/entry.o.
* lib/ntdll/ldr/startup.c: Move inline assembly code...
* lib/ntdll/ldr/entry.S: ...here. New file.
svn path=/trunk/; revision=4598
Casper Hornstrup [Sun, 27 Apr 2003 11:43:31 +0000 (11:43 +0000)]
2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/kernel32/kernel32.h (assert): Define.
* tools/mkhive/.cvsignore: New file.
svn path=/trunk/; revision=4597
Eric Kohl [Sun, 27 Apr 2003 10:50:07 +0000 (10:50 +0000)]
Moved disk manager related offset calculation to class2.
Implemented dynamic partition management.
Removed unused header files.
svn path=/trunk/; revision=4596
KJK::Hyperion [Sat, 26 Apr 2003 23:13:33 +0000 (23:13 +0000)]
My biggest commit so far (everything compiles and apparently runs fine):
- replaced DWORD with ULONG in a couple of places
- replaced some ULONGs with LONGs in the KD GDB stub
- replaced INITIAL_TEB with USER_STACK, as per Nebbet's book, to support both fixed size and expandable stacks
- added InterlockedExchangePointer
- added the ASM_BREAKPOINT macro as the architecture-dependent assembler code to raise a breakpoint exception
- corrected definitions of INT, LONG, DWORD, UINT, ULONG and ULONG32
- corrected IoSetCancelRoutine to use InterlockedExchangePointer
- corrected definition of NtCurrentTeb and NtCurrentPeb
- corrected DbgBreakPoint and DbgUserBreakPoint not to set up a stack frame (temporary fix with inline assembler - why doesn't GCC understand __declspec(naked)?)
- corrected various calls to Interlocked* functions to cast OUT operands to LONG *
- corrected various printf format strings
- corrected DbgUiIssueRemoteBreakin to use the smallest possible stack (this is what started everything)
- removed a DPRINT that accessed pageable memory at non-PASSIVE_LEVEL IRQL
- beautified CreateProcessA (another temporary fix - all the new functions will be isolated in the upcoming stand-alone RTL)
- prefixed LdrInitializeThunk with a nop that can be overwritten with a breakpoint for debugging purposes (temporary debugging aid until we have user-mode debugger support). Will add support for this to the breakin utility soon
- thread creation code rewritten from scratch (some glitches documented inline, but works fine)
- thread creation code now duplicated just twice, as opposed to five times (temporary fix - three new, non standard functions have been exported from NTDLL.DLL, will fix later)
svn path=/trunk/; revision=4595
Eric Kohl [Sat, 26 Apr 2003 22:51:21 +0000 (22:51 +0000)]
Added missing newline.
svn path=/trunk/; revision=4594
Steven Edwards [Sat, 26 Apr 2003 21:39:36 +0000 (21:39 +0000)]
Fixed wm_paint test to use ReactOS build system.
svn path=/trunk/; revision=4593
Steven Edwards [Sat, 26 Apr 2003 21:37:09 +0000 (21:37 +0000)]
Fixed bitblt test to use ReactOS build system.
svn path=/trunk/; revision=4592
Eric Kohl [Sat, 26 Apr 2003 16:38:05 +0000 (16:38 +0000)]
Improved command line completion. Patch by Marc Schuetz.
svn path=/trunk/; revision=4591
Gé van Geldorp [Sat, 26 Apr 2003 12:50:56 +0000 (12:50 +0000)]
Remove SetLastErrorByStatus, since it's no longer needed (it is a macro
now) and is giving compile errors
svn path=/trunk/; revision=4590
Gé van Geldorp [Sat, 26 Apr 2003 10:06:10 +0000 (10:06 +0000)]
Silence debug messages
svn path=/trunk/; revision=4589
Gé van Geldorp [Sat, 26 Apr 2003 10:05:38 +0000 (10:05 +0000)]
If name of DLL to load contains a path and it has been loaded before,
find the previous entry
svn path=/trunk/; revision=4588
Gé van Geldorp [Sat, 26 Apr 2003 08:56:50 +0000 (08:56 +0000)]
FileNameLength and ShortNameLength are in bytes, adjust offset for writing
terminating NUL character accordingly
svn path=/trunk/; revision=4587
Hartmut Birr [Sat, 26 Apr 2003 07:09:26 +0000 (07:09 +0000)]
- Fixed the offset in ReadPciConfigUshort.
svn path=/trunk/; revision=4586
Hartmut Birr [Sat, 26 Apr 2003 07:06:55 +0000 (07:06 +0000)]
- Fixed the offset in ReadPciConfigUshort/WritePciConfigUshort.
svn path=/trunk/; revision=4585
Steven Edwards [Sat, 26 Apr 2003 01:19:31 +0000 (01:19 +0000)]
Replace SetLastErrorByStatus with RtlNtStatusToDosError
svn path=/trunk/; revision=4584
KJK::Hyperion [Sat, 26 Apr 2003 00:25:01 +0000 (00:25 +0000)]
SetLastErrorByStatus() now a macro, for binary compatibility with Windows
svn path=/trunk/; revision=4583
Aleksey Bragin [Fri, 25 Apr 2003 21:22:48 +0000 (21:22 +0000)]
Implement part of the functionality of NdisMSetAttributesEx(). (So ROS doesn't complain while loading VMWare net driver -- though it still doesn't load)
svn path=/trunk/; revision=4582
Casper Hornstrup [Fri, 25 Apr 2003 19:32:51 +0000 (19:32 +0000)]
- Detect PCI busses
- Detect IDE controllers and devices
- Improved RegEnumValue()
svn path=/trunk/; revision=4581
Hartmut Birr [Fri, 25 Apr 2003 18:45:06 +0000 (18:45 +0000)]
- Fixed the detection of a fat32 boot sector.
svn path=/trunk/; revision=4580
Aleksey Bragin [Fri, 25 Apr 2003 18:37:44 +0000 (18:37 +0000)]
KeSetAffinityThread stub added (returns STATUS_SUCCESS and thus VMWare network driver won't crash ReactOS)
svn path=/trunk/; revision=4579
Aleksey Bragin [Fri, 25 Apr 2003 18:36:10 +0000 (18:36 +0000)]
KeSetAffinityThread added (uncommented in def files)
svn path=/trunk/; revision=4578
Hartmut Birr [Fri, 25 Apr 2003 17:49:07 +0000 (17:49 +0000)]
- Fixed a rounding bug within the translation from float values to printable wstrings.
svn path=/trunk/; revision=4577
Eric Kohl [Fri, 25 Apr 2003 09:54:52 +0000 (09:54 +0000)]
- Added memmove().
- Added hardware hive export.
svn path=/trunk/; revision=4576
Eric Kohl [Fri, 25 Apr 2003 09:45:17 +0000 (09:45 +0000)]
- Added memmove().
- Added hardware hive export.
svn path=/trunk/; revision=4575
Gé van Geldorp [Thu, 24 Apr 2003 22:21:13 +0000 (22:21 +0000)]
Moved _ftol to NTDLL
svn path=/trunk/; revision=4574
Hartmut Birr [Thu, 24 Apr 2003 16:55:08 +0000 (16:55 +0000)]
- Call KeBugCheckWithTf for not handled kernel mode exceptions in KiDispatchException.
svn path=/trunk/; revision=4573
Hartmut Birr [Thu, 24 Apr 2003 16:53:59 +0000 (16:53 +0000)]
- Implemented KeBugCheckWithTf like KeBugCheckEx.
svn path=/trunk/; revision=4572
Hartmut Birr [Thu, 24 Apr 2003 16:34:26 +0000 (16:34 +0000)]
- Do not free the initial environment block, if the environment changed.
svn path=/trunk/; revision=4571
Hartmut Birr [Thu, 24 Apr 2003 16:28:57 +0000 (16:28 +0000)]
- Fixed a rounding bug within the translation from float values to printable strings.
svn path=/trunk/; revision=4570
Eric Kohl [Thu, 24 Apr 2003 12:28:57 +0000 (12:28 +0000)]
Enable hardware hive import.
svn path=/trunk/; revision=4569
Gé van Geldorp [Wed, 23 Apr 2003 22:58:02 +0000 (22:58 +0000)]
Fix _ftol() and move it to NTDLL i386 subdir
svn path=/trunk/; revision=4568
Brian Palmer [Wed, 23 Apr 2003 20:59:30 +0000 (20:59 +0000)]
Turned the FreeLoader debugger into a GUI app.
Basically just a terminal program that logs the RS232 data to a file.
svn path=/trunk/; revision=4567
Eric Kohl [Wed, 23 Apr 2003 19:36:04 +0000 (19:36 +0000)]
Fixed returning an undefined value.
svn path=/trunk/; revision=4566
Brian Palmer [Wed, 23 Apr 2003 16:47:24 +0000 (16:47 +0000)]
Changes in v1.8.7 (4/22/2003) (brianp)
- Added a file system recognizer to get around problems where
the partition id did not match the file system type.
svn path=/trunk/; revision=4565
Eric Kohl [Wed, 23 Apr 2003 12:43:23 +0000 (12:43 +0000)]
Remove gstart.exe from boot CD.
svn path=/trunk/; revision=4563
Eric Kohl [Wed, 23 Apr 2003 12:42:59 +0000 (12:42 +0000)]
Use cdmake.exe to create reactos.iso file.
Remove gstart.exe from boot CD.
svn path=/trunk/; revision=4562
Eric Kohl [Tue, 22 Apr 2003 21:14:39 +0000 (21:14 +0000)]
Added checks for invalid block pointers.
Update free cell list when three cells are merged.
svn path=/trunk/; revision=4561