reactos.git
18 years agoKERNEL32.OpenConsoleW interface changed a proposed by KJK:Hyperion.
Emanuele Aliberti [Fri, 16 May 2003 20:33:15 +0000 (20:33 +0000)]
KERNEL32.OpenConsoleW interface changed a proposed by KJK:Hyperion.

svn path=/trunk/; revision=4693

18 years agoConvert from Unicode to ANSI in GetTextMetricsA()
Gé van Geldorp [Fri, 16 May 2003 18:55:27 +0000 (18:55 +0000)]
Convert from Unicode to ANSI in GetTextMetricsA()

svn path=/trunk/; revision=4692

18 years agoUpdated NLS function signature.
Eric Kohl [Fri, 16 May 2003 17:38:41 +0000 (17:38 +0000)]
Updated NLS function signature.
Reverted NLS section mapping because of unability to fix the section mapping code.

svn path=/trunk/; revision=4691

18 years agoAccept .nls files.
Eric Kohl [Fri, 16 May 2003 15:37:50 +0000 (15:37 +0000)]
Accept .nls files.

svn path=/trunk/; revision=4690

18 years agoAdded Bitstream Vera fonts and removed accidental loading of Arial font
Gé van Geldorp [Fri, 16 May 2003 15:10:10 +0000 (15:10 +0000)]
Added Bitstream Vera fonts and removed accidental loading of Arial font

svn path=/trunk/; revision=4689

18 years ago2003-05-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Fri, 16 May 2003 12:03:11 +0000 (12:03 +0000)]
2003-05-16  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* ntoskrnl/io/cleanup.c (IopCompleteRequest1, IoSecondStageCompletion):
Don't dereference Irp->UserEvent here.
* ntoskrnl/io/irp.c (IofCallDriver): Reference FileObject.
* ntoskrnl/io/rw.c (IopReadWriteIoComplete): New function.
* (NtReadFile, NtWriteFile): Set I/O completion routine if using an
event that is under object manager control.

svn path=/trunk/; revision=4688

18 years agoFixed typo in TEXTMETRICSW
Gé van Geldorp [Fri, 16 May 2003 06:23:14 +0000 (06:23 +0000)]
Fixed typo in TEXTMETRICSW

svn path=/trunk/; revision=4687

18 years agoFixed crash upon shutdown.
Eric Kohl [Thu, 15 May 2003 13:34:37 +0000 (13:34 +0000)]
Fixed crash upon shutdown.

svn path=/trunk/; revision=4686

18 years agoImplemented NLS section (not usable yet) and updated NLS functions.
Eric Kohl [Thu, 15 May 2003 11:07:51 +0000 (11:07 +0000)]
Implemented NLS section (not usable yet) and updated NLS functions.

svn path=/trunk/; revision=4685

18 years agoDon't crash ReactOS if DLL-Preloading fails.
Eric Kohl [Wed, 14 May 2003 21:27:53 +0000 (21:27 +0000)]
Don't crash ReactOS if DLL-Preloading fails.

svn path=/trunk/; revision=4684

18 years agoImplemented MmMapViewInSystemSpace() and MmUnmapViewInSystemSpace().
Eric Kohl [Wed, 14 May 2003 10:52:46 +0000 (10:52 +0000)]
Implemented MmMapViewInSystemSpace() and MmUnmapViewInSystemSpace().

svn path=/trunk/; revision=4683

18 years ago2003-05-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Tue, 13 May 2003 21:28:26 +0000 (21:28 +0000)]
2003-05-13  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* ntoskrnl/Makefile (OBJECTS_IO): Add io/rawfs.o.
* ntoskrnl/cm/registry.c (CmiInitHives): Check status using NT_SUCCESS().
* ntoskrnl/include/internal/io.h (RawFsIsRawFileSystemDeviceObject,
RawFsDriverEntry): Add prototypes.
* ntoskrnl/include/internal/ntoskrnl.h (IoInit2): Add prototype.
* ntoskrnl/io/device.c (IopCreateDriverObject): Handle unnamed services.
* ntoskrnl/io/fs.c (IoMountVolume): Handle mounting of raw volumes.
(IoRegisterFileSystem): Add registered filesystem device objects at the
head of the list.
* ntoskrnl/io/iomgr.c (IoInit2): New function.
* ntoskrnl/ke/main.c (ExpInitializeExecutive): Call IoInit2().
* ntoskrnl/mm/section.c (MmQuerySectionView): Check return value of call
to MmFindRegion().
* ntoskrnl/io/rawfs.c: New file.

svn path=/trunk/; revision=4682

18 years agoImplemented dll preloading and mapping.
Eric Kohl [Mon, 12 May 2003 19:47:53 +0000 (19:47 +0000)]
Implemented dll preloading and mapping.

svn path=/trunk/; revision=4681

18 years agoUNIMPLEMENTED put in unimplemented functions
Jason Filby [Mon, 12 May 2003 19:30:00 +0000 (19:30 +0000)]
UNIMPLEMENTED put in unimplemented functions

svn path=/trunk/; revision=4680

18 years agoImplemented IsWindow()
Gé van Geldorp [Mon, 12 May 2003 18:52:14 +0000 (18:52 +0000)]
Implemented IsWindow()

svn path=/trunk/; revision=4679

18 years agoDirectory objects must be able to parse a 'remaining path' that does not start with...
Eric Kohl [Mon, 12 May 2003 13:59:09 +0000 (13:59 +0000)]
Directory objects must be able to parse a 'remaining path' that does not start with a backslash.
This is needed to support relative path names in the object tree.

svn path=/trunk/; revision=4678

18 years agoAdded ability to open a file using a handle to a directory file and a relative path...
Eric Kohl [Mon, 12 May 2003 10:00:46 +0000 (10:00 +0000)]
Added ability to open a file using a handle to a directory file and a relative path name.
Tested on NT4.

svn path=/trunk/; revision=4677

18 years agoFixed a bug which skipped the first letter of a relative object path name.
Eric Kohl [Sun, 11 May 2003 19:41:22 +0000 (19:41 +0000)]
Fixed a bug which skipped the first letter of a relative object path name.

svn path=/trunk/; revision=4676

18 years ago2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 11 May 2003 18:31:09 +0000 (18:31 +0000)]
2003-05-11  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/fslib/vfatlib/vfatlib.c (VfatFormat): Set hidden sectors.
* ntoskrnl/io/xhaldrv.c (xHalIoWritePartitionTable): Implement support
for primary partitions.
* subsys/system/usetup/partlist.c (CreateSelectedPartition): Compute
hidden sectors.
* subsys/system/usetup/usetup.c (SelectPartitionPage,
DrawFileSystemList, FormatPartitionPage): Don't use conditional define
ENABLE_FORMAT.
(CreateFileSystemList): Don't draw "Keep current file system" option if
formatting is needed.
(SelectFileSystemPage): Figure out if partition must be formatted.
* subsys/system/usetup/usetup.h (ENABLE_FORMAT): Remove.
(FILE_SYSTEM_LIST): Add ForceFormat field.

svn path=/trunk/; revision=4675

18 years ago2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 11 May 2003 15:18:01 +0000 (15:18 +0000)]
2003-05-11  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/user32/windows/font.c (TEXT_PathEllipsify, TEXT_Reprefix): Fix
unsigned/signed warning.
* ntoskrnl/mm/pagefile.c (MmWriteToSwapPage, MmReadFromSwapPage,
NtCreatePagingFile): Ditto.

svn path=/trunk/; revision=4674

18 years agoFixed return values of W32kArc and W32kMoveToEx
Jason Filby [Sun, 11 May 2003 12:44:09 +0000 (12:44 +0000)]
Fixed return values of W32kArc and W32kMoveToEx

svn path=/trunk/; revision=4673

18 years agoNtUserSendMessageCallback is UNIMPLEMENTED
Jason Filby [Sun, 11 May 2003 12:29:41 +0000 (12:29 +0000)]
NtUserSendMessageCallback is UNIMPLEMENTED

svn path=/trunk/; revision=4672

18 years agoImplement DrawTextA()/DrawTextW() (mostly copied from Wine)
Gé van Geldorp [Sun, 11 May 2003 11:12:00 +0000 (11:12 +0000)]
Implement DrawTextA()/DrawTextW() (mostly copied from Wine)

svn path=/trunk/; revision=4671

18 years agoNtUserPostMessage: use a switch statement instead of if; WM_NULL: ignore message
Jason Filby [Sun, 11 May 2003 10:47:33 +0000 (10:47 +0000)]
NtUserPostMessage: use a switch statement instead of if; WM_NULL: ignore message

svn path=/trunk/; revision=4670

18 years ago- Implemented FSCTL_GET_RETRIVAL_POINTERS.
Hartmut Birr [Sun, 11 May 2003 09:51:26 +0000 (09:51 +0000)]
- Implemented FSCTL_GET_RETRIVAL_POINTERS.
- Call the storage driver for read/write requests to pagefiles directly.

svn path=/trunk/; revision=4669

18 years ago- Retrieve the cluster chunks for a pagefile from fsd and use this values for reading...
Hartmut Birr [Sun, 11 May 2003 09:48:57 +0000 (09:48 +0000)]
- Retrieve the cluster chunks for a pagefile from fsd and use this values for reading/writing to the pagefile.

svn path=/trunk/; revision=4668

18 years agoDisplay human readable device descriptions for generic PnP-IDs.
Eric Kohl [Sun, 11 May 2003 09:42:40 +0000 (09:42 +0000)]
Display human readable device descriptions for generic PnP-IDs.

svn path=/trunk/; revision=4667

18 years ago- Changed data pointers from signed to unsigned char.
Hartmut Birr [Sun, 11 May 2003 07:44:14 +0000 (07:44 +0000)]
- Changed data pointers from signed to unsigned char.

svn path=/trunk/; revision=4666

18 years agoCheck for messages sent by other threads
Gé van Geldorp [Sat, 10 May 2003 21:47:04 +0000 (21:47 +0000)]
Check for messages sent by other threads

svn path=/trunk/; revision=4665

18 years agoRight description.
Emanuele Aliberti [Sat, 10 May 2003 10:31:32 +0000 (10:31 +0000)]
Right description.

svn path=/trunk/; revision=4664

18 years agoNames fixed.
Emanuele Aliberti [Sat, 10 May 2003 10:30:18 +0000 (10:30 +0000)]
Names fixed.

svn path=/trunk/; revision=4663

18 years agoDetect hardware before ntoskrnl.exe will be loaded.
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

18 years ago- Fixed counting the number of available harddisks for broken BIOSes.
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

18 years agoRemoved duplicate output of used disk space in the summary.
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

18 years agoAdded a little PnP-BIOS data dumper.
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

18 years agoReworked and fixed most of the CPU and PnP code.
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

18 years agoOnly update page dir for page containing stack
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

18 years agoDon't let page containing stack disappear when switching memory spaces
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

18 years agoAdded EthFilterDprIndicateReceive(), EthFilterDprIndicateReceiveComplete() functions...
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

18 years agoUncommented exporting of EthFilterDprIndicateReceive (and ReceiveComplete)
Aleksey Bragin [Wed, 7 May 2003 19:09:48 +0000 (19:09 +0000)]
Uncommented exporting of EthFilterDprIndicateReceive (and ReceiveComplete)

svn path=/trunk/; revision=4654

18 years agoRemoved unix newlines
Eric Kohl [Wed, 7 May 2003 18:45:56 +0000 (18:45 +0000)]
Removed unix newlines

svn path=/trunk/; revision=4653

18 years agoMoved test sound.
Eric Kohl [Tue, 6 May 2003 19:01:03 +0000 (19:01 +0000)]
Moved test sound.

svn path=/trunk/; revision=4652

18 years agoAdded PnP-BIOS detection.
Eric Kohl [Tue, 6 May 2003 16:36:42 +0000 (16:36 +0000)]
Added PnP-BIOS detection.

svn path=/trunk/; revision=4651

18 years agoFixed wrong types in printf strings.
Eric Kohl [Tue, 6 May 2003 08:45:10 +0000 (08:45 +0000)]
Fixed wrong types in printf strings.

svn path=/trunk/; revision=4650

18 years agoAdded emergency console dummy page.
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

18 years agoFixes to GetFullPathNameA and RtlGetFullPathName_U by Tim Jobling
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

18 years ago2003-05-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
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

18 years agoKERNEL32.OpenConsoleW() implemented.
Emanuele Aliberti [Mon, 5 May 2003 19:58:27 +0000 (19:58 +0000)]
KERNEL32.OpenConsoleW() implemented.

svn path=/trunk/; revision=4646

18 years agobuild wm_paint and bitblt tests
Steven Edwards [Mon, 5 May 2003 16:40:38 +0000 (16:40 +0000)]
build wm_paint and bitblt tests

svn path=/trunk/; revision=4645

18 years agoAdd install for wm_paint and bitblt test
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

18 years agoAllow sending of messages from non-GUI threads
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

18 years agoClean up debugging stuff and silence debug messages
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

18 years ago(Partial) implementation of W32kGetDIBits()
Gé van Geldorp [Sat, 3 May 2003 14:38:11 +0000 (14:38 +0000)]
(Partial) implementation of W32kGetDIBits()

svn path=/trunk/; revision=4641

18 years agoFix GetDC(NULL), not complete yet
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

18 years agoImplement GetDeviceCaps()
Gé van Geldorp [Sat, 3 May 2003 13:39:06 +0000 (13:39 +0000)]
Implement GetDeviceCaps()

svn path=/trunk/; revision=4639

18 years agoAdded .cvsignore files. Patch by Mihcael Fritscher.
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

18 years agoStarted work on second stage setup.
Eric Kohl [Fri, 2 May 2003 18:12:38 +0000 (18:12 +0000)]
Started work on second stage setup.

svn path=/trunk/; revision=4636

18 years agoSilence CVS
Gé van Geldorp [Fri, 2 May 2003 07:57:04 +0000 (07:57 +0000)]
Silence CVS

svn path=/trunk/; revision=4635

18 years agoImplemented NtUserRegisterWindowMessage
Gé van Geldorp [Fri, 2 May 2003 07:52:33 +0000 (07:52 +0000)]
Implemented NtUserRegisterWindowMessage

svn path=/trunk/; revision=4634

18 years agoProperly clean up terminated threads
Gé van Geldorp [Thu, 1 May 2003 22:00:31 +0000 (22:00 +0000)]
Properly clean up terminated threads

svn path=/trunk/; revision=4633

18 years agoGet timeout value from the registry or use default timeout.
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

18 years agoGet timeout value from the registry.
Eric Kohl [Thu, 1 May 2003 17:49:23 +0000 (17:49 +0000)]
Get timeout value from the registry.

svn path=/trunk/; revision=4631

18 years agoAdded CPU detection for multiprocessor systems.
Eric Kohl [Thu, 1 May 2003 15:46:06 +0000 (15:46 +0000)]
Added CPU detection for multiprocessor systems.

svn path=/trunk/; revision=4630

18 years agoC++ runtime support, mostly copied from Wine
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

18 years agoChanged some DbgPrint's to DPRINT's
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

18 years agoAdded stubs for keybd_event() and mouse_event()
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

18 years agoFix SetThreadPriority()
Gé van Geldorp [Wed, 30 Apr 2003 22:00:41 +0000 (22:00 +0000)]
Fix SetThreadPriority()

svn path=/trunk/; revision=4626

18 years agoImplement ThreadBasePriority case for NtSetInformationThread()
Gé van Geldorp [Wed, 30 Apr 2003 21:56:22 +0000 (21:56 +0000)]
Implement ThreadBasePriority case for NtSetInformationThread()

svn path=/trunk/; revision=4625

18 years agoAdded imm32 and winspool
Gé van Geldorp [Wed, 30 Apr 2003 21:06:02 +0000 (21:06 +0000)]
Added imm32 and winspool

svn path=/trunk/; revision=4624

18 years agoInstall winspool.drv
Gé van Geldorp [Wed, 30 Apr 2003 20:55:00 +0000 (20:55 +0000)]
Install winspool.drv

svn path=/trunk/; revision=4623

18 years agoFully stubbed winspool.drv (Wine printing is too different from ReactOS
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

18 years agoFixed disk geometry detection bug.
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

18 years agoZero-initialze TEB for new threads
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

18 years ago- Added DiskGetExtendedDriveParameters()
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

18 years agoAll IsBadXxxxPtr return values were backward (TRUE when they should be
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

18 years agoDisabled debug messages.
Eric Kohl [Tue, 29 Apr 2003 19:49:17 +0000 (19:49 +0000)]
Disabled debug messages.

svn path=/trunk/; revision=4617

18 years agoImplemented disk geometry update for BIOS drives.
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

18 years ago - new statically linked library ROSRTL, for code to be shared among system DLLs
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

18 years ago2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
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

18 years agoWiped the partition sector structure mess away.
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

18 years ago2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
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

18 years agoAdded DbgPrint-notification for stubbed function KeSetAffinityThread()
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

18 years agoAdded notification for partly-implemented NdisMSetAttributesEx()
Aleksey Bragin [Mon, 28 Apr 2003 14:31:47 +0000 (14:31 +0000)]
Added notification for partly-implemented NdisMSetAttributesEx()

svn path=/trunk/; revision=4610

18 years agoUse disk signature or MBR checksum to find the right disk.
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

18 years agoRegionSize in MEMORY_BASIC_INFORMATION is relative to BaseAddress, not to
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

18 years agoLayout stat structures exactly the same as in Microsoft MSVCRT, for
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

18 years agofixed file dates in root directory
guido [Sun, 27 Apr 2003 20:23:30 +0000 (20:23 +0000)]
fixed file dates in root directory

svn path=/trunk/; revision=4606

18 years ago- Initialize the fpu control register within the context structure.
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

18 years ago- Query BIOS for supported disk drives
Casper Hornstrup [Sun, 27 Apr 2003 18:18:51 +0000 (18:18 +0000)]
- Query BIOS for supported disk drives

svn path=/trunk/; revision=4604

18 years agoRemoved unused bios32 support.
Eric Kohl [Sun, 27 Apr 2003 18:12:15 +0000 (18:12 +0000)]
Removed unused bios32 support.

svn path=/trunk/; revision=4603

18 years agoDetect and print BIOS disk geometry.
Eric Kohl [Sun, 27 Apr 2003 18:10:38 +0000 (18:10 +0000)]
Detect and print BIOS disk geometry.

svn path=/trunk/; revision=4602

18 years agoAdded disk geometry structures for hardware detection.
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

18 years agoFsRtlNumberOfRunsInLargeMcb() implemented (simple).
Emanuele Aliberti [Sun, 27 Apr 2003 16:25:25 +0000 (16:25 +0000)]
FsRtlNumberOfRunsInLargeMcb() implemented (simple).

svn path=/trunk/; revision=4600

18 years ago- Fixed the frame layout for trap 15 and 16.
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

18 years ago2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
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

18 years ago2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
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

18 years agoMoved disk manager related offset calculation to class2.
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

18 years agoMy biggest commit so far (everything compiles and apparently runs fine):
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

18 years agoAdded missing newline.
Eric Kohl [Sat, 26 Apr 2003 22:51:21 +0000 (22:51 +0000)]
Added missing newline.

svn path=/trunk/; revision=4594

18 years agoFixed wm_paint test to use ReactOS build system.
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