Eric Kohl
98ed7cd2b1
Started work on second stage setup.
...
svn path=/trunk/; revision=4636
2003-05-02 18:12:38 +00:00
Gé van Geldorp
ec67470a38
Silence CVS
...
svn path=/trunk/; revision=4635
2003-05-02 07:57:04 +00:00
Gé van Geldorp
6644846375
Implemented NtUserRegisterWindowMessage
...
svn path=/trunk/; revision=4634
2003-05-02 07:52:33 +00:00
Gé van Geldorp
8eaabc5146
Properly clean up terminated threads
...
svn path=/trunk/; revision=4633
2003-05-01 22:00:31 +00:00
Eric Kohl
8cbf35a0f7
Get timeout value from the registry or use default timeout.
...
svn path=/trunk/; revision=4632
2003-05-01 17:50:35 +00:00
Eric Kohl
85c99dd8aa
Get timeout value from the registry.
...
svn path=/trunk/; revision=4631
2003-05-01 17:49:23 +00:00
Eric Kohl
62d7fe29c6
Added CPU detection for multiprocessor systems.
...
svn path=/trunk/; revision=4630
2003-05-01 15:46:06 +00:00
Gé van Geldorp
45661acd89
C++ runtime support, mostly copied from Wine
...
svn path=/trunk/; revision=4629
2003-04-30 22:07:30 +00:00
Gé van Geldorp
412a23aa10
Changed some DbgPrint's to DPRINT's
...
svn path=/trunk/; revision=4628
2003-04-30 22:04:12 +00:00
Gé van Geldorp
70dce1ee4b
Added stubs for keybd_event() and mouse_event()
...
svn path=/trunk/; revision=4627
2003-04-30 22:03:00 +00:00
Gé van Geldorp
340ee78475
Fix SetThreadPriority()
...
svn path=/trunk/; revision=4626
2003-04-30 22:00:41 +00:00
Gé van Geldorp
ad70cd4bbe
Implement ThreadBasePriority case for NtSetInformationThread()
...
svn path=/trunk/; revision=4625
2003-04-30 21:56:22 +00:00
Gé van Geldorp
e70e534a2e
Added imm32 and winspool
...
svn path=/trunk/; revision=4624
2003-04-30 21:06:02 +00:00
Gé van Geldorp
deba825487
Install winspool.drv
...
svn path=/trunk/; revision=4623
2003-04-30 20:55:00 +00:00
Gé van Geldorp
4c59119a88
Fully stubbed winspool.drv (Wine printing is too different from ReactOS
...
to use that one)
svn path=/trunk/; revision=4622
2003-04-30 20:44:06 +00:00
Eric Kohl
5fd8b65697
Fixed disk geometry detection bug.
...
Added CPU detection for uniprocessor systems.
svn path=/trunk/; revision=4621
2003-04-30 18:10:46 +00:00
Gé van Geldorp
f0d4e3c543
Zero-initialze TEB for new threads
...
svn path=/trunk/; revision=4620
2003-04-30 15:11:31 +00:00
Eric Kohl
43ab2f61b4
- 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
2003-04-30 14:08:04 +00:00
Gé van Geldorp
78a50b48b4
All IsBadXxxxPtr return values were backward (TRUE when they should be
...
FALSE and vv.)
svn path=/trunk/; revision=4618
2003-04-29 22:39:57 +00:00
Eric Kohl
e678b87637
Disabled debug messages.
...
svn path=/trunk/; revision=4617
2003-04-29 19:49:17 +00:00
Eric Kohl
23f8e2083b
Implemented disk geometry update for BIOS drives.
...
Disk manager handling is not implemented yet.
svn path=/trunk/; revision=4616
2003-04-29 18:06:26 +00:00
KJK::Hyperion
38a1364aae
- 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
2003-04-29 02:17:01 +00:00
Casper Hornstrup
6247d82cc7
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
2003-04-28 21:32:10 +00:00
Eric Kohl
e97422786f
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
2003-04-28 21:15:07 +00:00
Casper Hornstrup
37f29ead4b
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
2003-04-28 19:44:13 +00:00
Aleksey Bragin
55300ebbf2
Added DbgPrint-notification for stubbed function KeSetAffinityThread()
...
svn path=/trunk/; revision=4611
2003-04-28 14:32:36 +00:00
Aleksey Bragin
331899f621
Added notification for partly-implemented NdisMSetAttributesEx()
...
svn path=/trunk/; revision=4610
2003-04-28 14:31:47 +00:00
Eric Kohl
29a610ad56
Use disk signature or MBR checksum to find the right disk.
...
Add missing device objects to device extensions.
svn path=/trunk/; revision=4609
2003-04-28 11:05:34 +00:00
Gé van Geldorp
ffebf21131
RegionSize in MEMORY_BASIC_INFORMATION is relative to BaseAddress, not to
...
AllocationBase
svn path=/trunk/; revision=4608
2003-04-28 10:37:40 +00:00
Gé van Geldorp
458d8d250c
Layout stat structures exactly the same as in Microsoft MSVCRT, for
...
binary compatibility
svn path=/trunk/; revision=4607
2003-04-27 23:14:04 +00:00
guido
8429d49021
fixed file dates in root directory
...
svn path=/trunk/; revision=4606
2003-04-27 20:23:30 +00:00
Hartmut Birr
b5d5cf6145
- Initialize the fpu control register within the context structure.
...
svn path=/trunk/; revision=4605
2003-04-27 18:58:00 +00:00
Casper Hornstrup
371b0fd87e
- Query BIOS for supported disk drives
...
svn path=/trunk/; revision=4604
2003-04-27 18:18:51 +00:00
Eric Kohl
3f270ca3d4
Removed unused bios32 support.
...
svn path=/trunk/; revision=4603
2003-04-27 18:12:15 +00:00
Eric Kohl
392883e81f
Detect and print BIOS disk geometry.
...
svn path=/trunk/; revision=4602
2003-04-27 18:10:38 +00:00
Eric Kohl
0f71890bc8
Added disk geometry structures for hardware detection.
...
svn path=/trunk/; revision=4601
2003-04-27 18:08:56 +00:00
Emanuele Aliberti
52fa46b090
FsRtlNumberOfRunsInLargeMcb() implemented (simple).
...
svn path=/trunk/; revision=4600
2003-04-27 16:25:25 +00:00
Hartmut Birr
676d1d9ebf
- Fixed the frame layout for trap 15 and 16.
...
svn path=/trunk/; revision=4599
2003-04-27 16:21:16 +00:00
Casper Hornstrup
a80496b963
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
2003-04-27 14:45:52 +00:00
Casper Hornstrup
3568bb9b50
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
2003-04-27 11:43:31 +00:00
Eric Kohl
a950079369
Moved disk manager related offset calculation to class2.
...
Implemented dynamic partition management.
Removed unused header files.
svn path=/trunk/; revision=4596
2003-04-27 10:50:07 +00:00
KJK::Hyperion
879b1f5754
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
2003-04-26 23:13:33 +00:00
Eric Kohl
f2c91805a0
Added missing newline.
...
svn path=/trunk/; revision=4594
2003-04-26 22:51:21 +00:00
Steven Edwards
71df58baf5
Fixed wm_paint test to use ReactOS build system.
...
svn path=/trunk/; revision=4593
2003-04-26 21:39:36 +00:00
Steven Edwards
91316fff93
Fixed bitblt test to use ReactOS build system.
...
svn path=/trunk/; revision=4592
2003-04-26 21:37:09 +00:00
Eric Kohl
8b4929f41e
Improved command line completion. Patch by Marc Schuetz.
...
svn path=/trunk/; revision=4591
2003-04-26 16:38:05 +00:00
Gé van Geldorp
01a868d4b8
Remove SetLastErrorByStatus, since it's no longer needed (it is a macro
...
now) and is giving compile errors
svn path=/trunk/; revision=4590
2003-04-26 12:50:56 +00:00
Gé van Geldorp
ffa4267973
Silence debug messages
...
svn path=/trunk/; revision=4589
2003-04-26 10:06:10 +00:00
Gé van Geldorp
1139966a4e
If name of DLL to load contains a path and it has been loaded before,
...
find the previous entry
svn path=/trunk/; revision=4588
2003-04-26 10:05:38 +00:00
Gé van Geldorp
1e0a179dd4
FileNameLength and ShortNameLength are in bytes, adjust offset for writing
...
terminating NUL character accordingly
svn path=/trunk/; revision=4587
2003-04-26 08:56:50 +00:00