reactos.git
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

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

18 years agoImproved command line completion. Patch by Marc Schuetz.
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

18 years agoRemove SetLastErrorByStatus, since it's no longer needed (it is a macro
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

18 years agoSilence debug messages
Gé van Geldorp [Sat, 26 Apr 2003 10:06:10 +0000 (10:06 +0000)]
Silence debug messages

svn path=/trunk/; revision=4589

18 years agoIf name of DLL to load contains a path and it has been loaded before,
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

18 years agoFileNameLength and ShortNameLength are in bytes, adjust offset for writing
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

18 years ago- Fixed the offset in ReadPciConfigUshort.
Hartmut Birr [Sat, 26 Apr 2003 07:09:26 +0000 (07:09 +0000)]
- Fixed the offset in ReadPciConfigUshort.

svn path=/trunk/; revision=4586

18 years ago- Fixed the offset in ReadPciConfigUshort/WritePciConfigUshort.
Hartmut Birr [Sat, 26 Apr 2003 07:06:55 +0000 (07:06 +0000)]
- Fixed the offset in ReadPciConfigUshort/WritePciConfigUshort.

svn path=/trunk/; revision=4585

18 years agoReplace SetLastErrorByStatus with RtlNtStatusToDosError
Steven Edwards [Sat, 26 Apr 2003 01:19:31 +0000 (01:19 +0000)]
Replace SetLastErrorByStatus with RtlNtStatusToDosError

svn path=/trunk/; revision=4584

18 years agoSetLastErrorByStatus() now a macro, for binary compatibility with Windows
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

18 years agoImplement part of the functionality of NdisMSetAttributesEx(). (So ROS doesn't compla...
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

18 years ago- Detect PCI busses
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

18 years ago- Fixed the detection of a fat32 boot sector.
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

18 years agoKeSetAffinityThread stub added (returns STATUS_SUCCESS and thus VMWare network driver...
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

18 years agoKeSetAffinityThread added (uncommented in def files)
Aleksey Bragin [Fri, 25 Apr 2003 18:36:10 +0000 (18:36 +0000)]
KeSetAffinityThread added (uncommented in def files)

svn path=/trunk/; revision=4578

18 years ago- Fixed a rounding bug within the translation from float values to printable wstrings.
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

18 years ago- Added memmove().
Eric Kohl [Fri, 25 Apr 2003 09:54:52 +0000 (09:54 +0000)]
- Added memmove().
- Added hardware hive export.

svn path=/trunk/; revision=4576

18 years ago- Added memmove().
Eric Kohl [Fri, 25 Apr 2003 09:45:17 +0000 (09:45 +0000)]
- Added memmove().
- Added hardware hive export.

svn path=/trunk/; revision=4575

18 years agoMoved _ftol to NTDLL
Gé van Geldorp [Thu, 24 Apr 2003 22:21:13 +0000 (22:21 +0000)]
Moved _ftol to NTDLL

svn path=/trunk/; revision=4574

18 years ago- Call KeBugCheckWithTf for not handled kernel mode exceptions in KiDispatchException.
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

18 years ago- Implemented KeBugCheckWithTf like KeBugCheckEx.
Hartmut Birr [Thu, 24 Apr 2003 16:53:59 +0000 (16:53 +0000)]
- Implemented KeBugCheckWithTf like KeBugCheckEx.

svn path=/trunk/; revision=4572

18 years ago- Do not free the initial environment block, if the environment changed.
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

18 years ago- Fixed a rounding bug within the translation from float values to printable strings.
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

18 years agoEnable hardware hive import.
Eric Kohl [Thu, 24 Apr 2003 12:28:57 +0000 (12:28 +0000)]
Enable hardware hive import.

svn path=/trunk/; revision=4569

18 years agoFix _ftol() and move it to NTDLL i386 subdir
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

18 years agoTurned the FreeLoader debugger into a GUI app.
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

18 years agoFixed returning an undefined value.
Eric Kohl [Wed, 23 Apr 2003 19:36:04 +0000 (19:36 +0000)]
Fixed returning an undefined value.

svn path=/trunk/; revision=4566

18 years agoChanges in v1.8.7 (4/22/2003) (brianp)
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

18 years agoRemove gstart.exe from boot CD.
Eric Kohl [Wed, 23 Apr 2003 12:43:23 +0000 (12:43 +0000)]
Remove gstart.exe from boot CD.

svn path=/trunk/; revision=4563

18 years agoUse cdmake.exe to create reactos.iso file.
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

18 years agoAdded checks for invalid block pointers.
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

18 years ago - string-type-generic getopt() (hacked together in half a hour - seems to work fine...
KJK::Hyperion [Tue, 22 Apr 2003 03:20:25 +0000 (03:20 +0000)]
 - string-type-generic getopt() (hacked together in half a hour - seems to work fine, though). Very simple - only implements the POSIX standard (no long options, etc.)
 - modified tlist to use getopt() to parse the command line, just for fun. Seems to work

svn path=/trunk/; revision=4560

18 years agoExclude dependency files from CVS operations
Gé van Geldorp [Sun, 20 Apr 2003 19:54:51 +0000 (19:54 +0000)]
Exclude dependency files from CVS operations

svn path=/trunk/; revision=4559

18 years agoImplemented _beginthreadex and _endthreadex
Gé van Geldorp [Sun, 20 Apr 2003 19:42:50 +0000 (19:42 +0000)]
Implemented _beginthreadex and _endthreadex

svn path=/trunk/; revision=4558

18 years agoSimple implementation of GetCPInfo
Gé van Geldorp [Sun, 20 Apr 2003 19:42:11 +0000 (19:42 +0000)]
Simple implementation of GetCPInfo

svn path=/trunk/; revision=4557

18 years agoFsRtl: More obsolete functions for handling Memory Control Blocks (MCB).
Emanuele Aliberti [Sun, 20 Apr 2003 17:59:18 +0000 (17:59 +0000)]
FsRtl: More obsolete functions for handling Memory Control Blocks (MCB).
It seems that, whit the release of WNT40, MCBs were replaced with LARGE_MCBs.

svn path=/trunk/; revision=4556

18 years agoFsRtl{Un}InitializeMcb() implemented (apparently obsolete).
Emanuele Aliberti [Sun, 20 Apr 2003 09:07:12 +0000 (09:07 +0000)]
FsRtl{Un}InitializeMcb() implemented (apparently obsolete).

svn path=/trunk/; revision=4555

18 years agoFsRtl:Memory Control Block updates (from ntifs.h by B.Branten)
Emanuele Aliberti [Sat, 19 Apr 2003 17:17:10 +0000 (17:17 +0000)]
FsRtl:Memory Control Block updates (from ntifs.h by B.Branten)

svn path=/trunk/; revision=4554

18 years agoFor binary compatibility, layout the fields in the TEB at exactly the
Gé van Geldorp [Fri, 18 Apr 2003 19:02:16 +0000 (19:02 +0000)]
For binary compatibility, layout the fields in the TEB at exactly the
same offsets as in WinNT.

svn path=/trunk/; revision=4553

18 years ago2003-04-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Fri, 18 Apr 2003 14:00:17 +0000 (14:00 +0000)]
2003-04-18  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* subsys/system/usetup/partlist.c (AddPartitionList): Create
unpartitioned areas.
(CreatePartitionListNoGUI): Save disk geometry.
(PrintDiskData): Do not print hidden partition list entries.
(ScrollDownPartitionList, ScrollUpPartitionList): Skip hidden partition
list entries.
(GetActiveBootPartition): Use CurrentDisk as index.
(CreateSelectedPartition): New function.
* subsys/system/usetup/partlist.h (PARTDATA): Add field NewPartSize.
(PARTENTRY): Add fields StartingOffset and HidePartEntry.
(DISKENTRY): Add fields Cylinders, TracksPerCylinder, SectorsPerTrack,
and BytesPerSector;
(CreateSelectedPartition): Add Prototype.
* subsys/system/usetup/usetup.c (PAGE_NUMBER): Add CREATE_PARTITION_PAGE
and FORMAT_PARTITION_PAGE
(CurrentPartitionList, CurrentFileSystemList): New globals.
(SelectPartitionPage): Set CurrentPartitionList.
(PARTITION_SIZE_INPUT_FIELD_LENGTH): Define as 6.
(DrawInputField, ShowPartitionSizeInputBox, CreatePartitionPage,
CreateFileSystemList, DestroyFileSystemList, DrawFileSystemList,
ScrollDownFileSystemList, ScrollUpFileSystemList, FormatPartitionPage):
New functions.
(SelectFileSystemPage): Draw partition screen.
(CheckFileSystemPage): Handle CREATE_PARTITION_PAGE and
FORMAT_PARTITION_PAGE.
* subsys/system/usetup/usetup.h (FILE_SYSTEM, FILE_SYSTEM_LIST): Add enums.

svn path=/trunk/; revision=4552

18 years agoPass CC on make command line so we won't have to change FreeType source
Gé van Geldorp [Fri, 18 Apr 2003 10:48:13 +0000 (10:48 +0000)]
Pass CC on make command line so we won't have to change FreeType source
files

svn path=/trunk/; revision=4551

18 years agoImport FreeType 2.1.4
Gé van Geldorp [Fri, 18 Apr 2003 10:44:19 +0000 (10:44 +0000)]
Import FreeType 2.1.4

svn path=/trunk/; revision=4550

18 years agoImplement duplication of NtCurrentThread() pseudo-handle
Gé van Geldorp [Fri, 18 Apr 2003 09:37:01 +0000 (09:37 +0000)]
Implement duplication of NtCurrentThread() pseudo-handle

svn path=/trunk/; revision=4549

18 years agoChange DPL in trap gate for INT 3 to 3, so INT 3 can be used from user mode
Gé van Geldorp [Fri, 18 Apr 2003 09:09:56 +0000 (09:09 +0000)]
Change DPL in trap gate for INT 3 to 3, so INT 3 can be used from user mode

svn path=/trunk/; revision=4548

18 years agoFix GetVersion
Gé van Geldorp [Fri, 18 Apr 2003 08:29:35 +0000 (08:29 +0000)]
Fix GetVersion

svn path=/trunk/; revision=4547

18 years agoPrint debug message if DllMain of a loaded DLL fails
Gé van Geldorp [Fri, 18 Apr 2003 08:28:31 +0000 (08:28 +0000)]
Print debug message if DllMain of a loaded DLL fails

svn path=/trunk/; revision=4546

18 years agoHave GetACP() return something sensible
Gé van Geldorp [Fri, 18 Apr 2003 08:26:50 +0000 (08:26 +0000)]
Have GetACP() return something sensible

svn path=/trunk/; revision=4545

18 years agoCreate hardware keys only if hardware hive was not imported.
Eric Kohl [Thu, 17 Apr 2003 11:07:47 +0000 (11:07 +0000)]
Create hardware keys only if hardware hive was not imported.

svn path=/trunk/; revision=4544

18 years ago2003-04-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Thu, 17 Apr 2003 10:41:02 +0000 (10:41 +0000)]
2003-04-17  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/mkhive/infcache.c (InfpCacheFindSection, InfpCacheFindKeyLine,
InfFindFirstLine, InfFindFirstMatchLine, InfFindNextMatchLine,
InfGetLineCount): Change call to stricmp() to strcasecmp().
* tools/mkhive/reginf.c (GetRootKey): Ditto.
* tools/mkhive/registry.c (RegSetValue, RegQueryValue): Ditto.

svn path=/trunk/; revision=4543

18 years ago- remove gstart.exe
Eric Kohl [Wed, 16 Apr 2003 15:08:55 +0000 (15:08 +0000)]
- remove gstart.exe
- call mkhive.exe
- load system instead of system.hiv

svn path=/trunk/; revision=4542

18 years agoFinished mkhive.
Eric Kohl [Wed, 16 Apr 2003 15:06:33 +0000 (15:06 +0000)]
Finished mkhive.

svn path=/trunk/; revision=4541

18 years agoFixed the EXT2/3 boot sector code so that it only uses the boot drive in the boot...
Brian Palmer [Tue, 15 Apr 2003 22:48:06 +0000 (22:48 +0000)]
Fixed the EXT2/3 boot sector code so that it only uses the boot drive in the boot sector if it exists (i.e. not 0xff)
Otherwise it uses the boot drive passed in the DL register.
Updated the EXT2/3 installer to reflect the changes in the boot sector code for EXT2/3.

svn path=/trunk/; revision=4540

18 years agoChanges in v1.8.6 (4/14/2003) (brianp)
Brian Palmer [Tue, 15 Apr 2003 02:15:54 +0000 (02:15 +0000)]
Changes in v1.8.6 (4/14/2003) (brianp)

- Fixed a bug in fathelp.asm where is wasn't adding the hidden sector
  count before performing a subtraction.

svn path=/trunk/; revision=4539

18 years agoAdd hive maker. It does not export binary hives yet.
Eric Kohl [Mon, 14 Apr 2003 17:19:42 +0000 (17:19 +0000)]
Add hive maker. It does not export binary hives yet.

svn path=/trunk/; revision=4538

18 years agoDisabled packet.sys driver.
Eric Kohl [Mon, 14 Apr 2003 15:41:30 +0000 (15:41 +0000)]
Disabled packet.sys driver.

svn path=/trunk/; revision=4537

18 years agosorry, forgot to exclude auto-generated files from dependency tracking
KJK::Hyperion [Mon, 14 Apr 2003 12:14:50 +0000 (12:14 +0000)]
sorry, forgot to exclude auto-generated files from dependency tracking

svn path=/trunk/; revision=4536

18 years ago - fixed definition of IO_COUNTERS structure to make it binary compatible with Window...
KJK::Hyperion [Mon, 14 Apr 2003 01:19:08 +0000 (01:19 +0000)]
 - fixed definition of IO_COUNTERS structure to make it binary compatible with Windows (and make EPSAPI enumerate threads correctly on Windows)
 - cleaned up some makefiles, added dependency tracking
 - tlist now uses EPSAPI, and, incidentally, a bug has also been fixed

svn path=/trunk/; revision=4535

18 years ago2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 13 Apr 2003 17:38:27 +0000 (17:38 +0000)]
2003-04-13  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* ntoskrnl/kd/gdbstub.c (KdEnterDebuggerException): Fix signed/unsigned
comparison warning.
* ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Ditto.
* ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
* tools/helper.mk: Do not install static libraries.

svn path=/trunk/; revision=4533

18 years ago2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 13 Apr 2003 13:05:04 +0000 (13:05 +0000)]
2003-04-13  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/Makefile: Fix rule for mkflpimg.

svn path=/trunk/; revision=4532

18 years agoadded tool to create floppy disk images
guido [Sun, 13 Apr 2003 12:51:28 +0000 (12:51 +0000)]
added tool to create floppy disk images

svn path=/trunk/; revision=4531

18 years agoAdded simple utility to read the FreeLoader debug output
Brian Palmer [Sun, 13 Apr 2003 04:14:20 +0000 (04:14 +0000)]
Added simple utility to read the FreeLoader debug output
from the serial port and display it on the console.
Someday I will turn this into a GUI app.

svn path=/trunk/; revision=4530

18 years ago - corrected typo in epsapi.h
KJK::Hyperion [Sun, 13 Apr 2003 03:57:41 +0000 (03:57 +0000)]
 - corrected typo in epsapi.h
 - CTM: cleaned up to use EPSAPI and the ReactOS DDK

svn path=/trunk/; revision=4529

18 years ago - the build system now handles static libraries 0.5% better
KJK::Hyperion [Sun, 13 Apr 2003 03:24:28 +0000 (03:24 +0000)]
 - the build system now handles static libraries 0.5% better
 - cabman: brand new makefile - uses TARGET_* macros, the build helper, and the zlib library properly
 - fmifs: static libraries (.a archives) are built directly into the dk/w32/lib directory, instead of their base directory, so the makefile has been fixed
 - psapi: split into PSAPI.dll and EPSAPI (Extended PSAPI), renamed some files, new header
 - zlib: cleaned up makefile from unnecessary hacks

svn path=/trunk/; revision=4528

18 years agoimplemeted waiting on file handles/file objects
Gunnar Dalsnes [Sat, 12 Apr 2003 20:34:27 +0000 (20:34 +0000)]
implemeted waiting on file handles/file objects

svn path=/trunk/; revision=4527

18 years agoFinal preparations for hardware hive import.
Eric Kohl [Sat, 12 Apr 2003 18:41:43 +0000 (18:41 +0000)]
Final preparations for hardware hive import.

svn path=/trunk/; revision=4526

18 years ago* Removed CmiLockBlock() and CmiReleaseBlock().
Eric Kohl [Sat, 12 Apr 2003 15:09:57 +0000 (15:09 +0000)]
* Removed CmiLockBlock() and CmiReleaseBlock().
* Added new hive flags to distinguish between volatile/non-volatile and pointer/offset hives.

svn path=/trunk/; revision=4525

18 years ago2003-04-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 12 Apr 2003 14:53:56 +0000 (14:53 +0000)]
2003-04-12  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/cdmake/Makefile: Use HOST_CC.
* tools/cdmake/cdmake.c (MAX_PATH, DIR_SEPARATOR_CHAR,
DIR_SEPARATOR_STRING): Define.
(directory_record): Add fields name_on_cd and extension_on_cd.
(error_exit): Make a macro. Avoid using vfprintf and fprintf.
(write_directory_record, new_directory_record, compare_directory_order,
pass): Use name_on_cd and extension_on_cd.
(make_directory_records, get_file_specifications): Use DIR_SEPARATOR_CHAR.
(new_directory_record, make_directory_records): Linux implementations.
(main): Use DIR_SEPARATOR_CHAR.

svn path=/trunk/; revision=4524

18 years agoMoved a local declaration to the top of the funtion, where it has to be to compile
Phillip Susi [Fri, 11 Apr 2003 21:02:21 +0000 (21:02 +0000)]
Moved a local declaration to the top of the funtion, where it has to be to compile

svn path=/trunk/; revision=4523

18 years agoThe GDB KD stub now correctly references/dereferences ETHREAD objects
KJK::Hyperion [Fri, 11 Apr 2003 02:25:24 +0000 (02:25 +0000)]
The GDB KD stub now correctly references/dereferences ETHREAD objects

svn path=/trunk/; revision=4522

18 years ago - PsLookup* functions fixed to increment the reference count of the object they...
KJK::Hyperion [Thu, 10 Apr 2003 23:14:47 +0000 (23:14 +0000)]
 - PsLookup* functions fixed to increment the reference count of the object they are about to return. The GDB KD stub is directly affected by this patch, but it hasn't been fixed yet
 - PsGetCurrentProcess and PsGetCurrentThread are now macros calling IoGetCurrentProcess and KeGetCurrentThread, for binary compatibility with Windows

svn path=/trunk/; revision=4521

18 years agoFix named resource handling and LoadString by d_layer
Gé van Geldorp [Thu, 10 Apr 2003 19:12:15 +0000 (19:12 +0000)]
Fix named resource handling and LoadString by d_layer

svn path=/trunk/; revision=4520

18 years agoRemove system.hiv from Boot-CD.
Eric Kohl [Thu, 10 Apr 2003 18:55:27 +0000 (18:55 +0000)]
Remove system.hiv from Boot-CD.

svn path=/trunk/; revision=4519

18 years agoAdded support for binary system hive.
Eric Kohl [Thu, 10 Apr 2003 18:51:22 +0000 (18:51 +0000)]
Added support for binary system hive.

svn path=/trunk/; revision=4518

18 years agoAdded support for binary system hive.
Eric Kohl [Thu, 10 Apr 2003 18:43:14 +0000 (18:43 +0000)]
Added support for binary system hive.

svn path=/trunk/; revision=4517

18 years agoDo not add empty bins to a binry hive.
Eric Kohl [Thu, 10 Apr 2003 17:49:55 +0000 (17:49 +0000)]
Do not add empty bins to a binry hive.

svn path=/trunk/; revision=4516

18 years agoNew ctm version, supports killing of process, some bugfixes, increased speed of scrol...
Aleksey Bragin [Wed, 9 Apr 2003 16:31:28 +0000 (16:31 +0000)]
New ctm version, supports killing of process, some bugfixes, increased speed of scrolling. My first ReactOS commit via CVS :)

svn path=/trunk/; revision=4515

18 years agoImprove (hardware) exception handling and reporting
Gé van Geldorp [Mon, 7 Apr 2003 23:10:08 +0000 (23:10 +0000)]
Improve (hardware) exception handling and reporting

svn path=/trunk/; revision=4514

18 years agoAdded new tool 'cdmake'.
Eric Kohl [Mon, 7 Apr 2003 18:16:58 +0000 (18:16 +0000)]
Added new tool 'cdmake'.

svn path=/trunk/; revision=4513

18 years agoAdded missing boot signature.
Eric Kohl [Sun, 6 Apr 2003 20:01:09 +0000 (20:01 +0000)]
Added missing boot signature.

svn path=/trunk/; revision=4512

18 years agoMoved MSVCRT setjmp.o
Gé van Geldorp [Sun, 6 Apr 2003 13:10:21 +0000 (13:10 +0000)]
Moved MSVCRT setjmp.o

svn path=/trunk/; revision=4511

18 years agoAdd wsock32
Gé van Geldorp [Sun, 6 Apr 2003 12:49:13 +0000 (12:49 +0000)]
Add wsock32

svn path=/trunk/; revision=4510

18 years agoZero-fill initialized data not contained in image file (2nd try)
Gé van Geldorp [Sun, 6 Apr 2003 12:48:33 +0000 (12:48 +0000)]
Zero-fill initialized data not contained in image file (2nd try)

svn path=/trunk/; revision=4509

18 years agoAdded _setjmp3() and __p__iob()
Gé van Geldorp [Sun, 6 Apr 2003 12:40:56 +0000 (12:40 +0000)]
Added _setjmp3() and __p__iob()

svn path=/trunk/; revision=4508

18 years agoRemoved outdated declarations and macros.
Eric Kohl [Sun, 6 Apr 2003 12:13:53 +0000 (12:13 +0000)]
Removed outdated declarations and macros.

svn path=/trunk/; revision=4507

18 years ago2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 6 Apr 2003 10:51:29 +0000 (10:51 +0000)]
2003-04-06  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/freetype/.cvsignore: Ignore nul.

svn path=/trunk/; revision=4506

18 years ago2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 6 Apr 2003 10:45:16 +0000 (10:45 +0000)]
2003-04-06  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* drivers/storage/atapi/atapi.c (AtapiReadWrite): Expect an interrupt a
bit sooner.
* hal/halx86/isa.c (HalpGetIsaInterruptVector): Compute vector for MP.
* hal/halx86/pci.c (HalpGetPciInterruptVector): Ditto.
* hal/halx86/sysbus.c (HalpGetSystemInterruptVector): Ditto.
* hal/halx86/mp.c (AssignIrqVector): Rewrite.
(MpsTimerHandler): Disable for now.
(MpsSpuriousHandler): Do not acknowledge interrupt.
(HalAllProcessorsStarted): Only boot 1 CPU for now.
(RescheduleDpcRoutine): New function.
(RescheduleDpc): New variable.
(HalpInitMPS): Initialize RescheduleDpc. Fix bug in call to memset.
* hal/halx86/mpsirql.c: Rewrite.
* hal/halx86/include/mps.h (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL,
IRQL2VECTOR): New macros.
* ntoskrnl/ntoskrnl.def: Add KeRescheduleThread@0.
* ntoskrnl/ntoskrnl.edf: Ditto.
* ntoskrnl/include/internal/ke.h (KeRescheduleThread): Prototype.
* ntoskrnl/ke/kthread.c (KeRescheduleThread): New function.
* ntoskrnl/ke/i386/exp.c (KeInitExceptions): Remove unneeded call to
set_trap_gate().
* ntoskrnl/ke/i386/irq.c (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL): Correct.
(IRQ_BASE): Define as FIRST_DEVICE_VECTOR.
(NR_IRQS): Define using IRQ_BASE.
(KeInitInterrupts): Use IRQ_BASE.
(KiInterruptDispatch2): Rewrite.
(KiInterruptDispatch): Ditto.
(KeConnectInterrupt): Pass Vector to HalEnableSystemInterrupt() for MP.
(KeDisconnectInterrupt): Pass Vector to HalDisableSystemInterrupt() for MP.
* ntoskrnl/ke/i386/trap.s (_KiTrapProlog): Change 0x124 to KPCR_CURRENT_THREAD.

svn path=/trunk/; revision=4505

18 years ago2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 5 Apr 2003 23:17:22 +0000 (23:17 +0000)]
2003-04-06  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* Makefile: Add format.
* include/fslib/vfatlib.h (VfatFormat): Prototype.
* lib/fmifs/format.c (VfatFormat): Add stub.
* lib/fmifs/makefile (TARGET_LIBS): Add vfatlib.a.
* lib/fslib/vfatlib/vfatlib.c (VfatFormat): Add stub.
* tools/helper.mk: Do not install .sym files for static libraries.
* subsys/system/format: New directory.
* subsys/system/format/makefile: New file.
* subsys/system/format/format.c: Ditto.

svn path=/trunk/; revision=4504

18 years agoinitialize variable
guido [Sat, 5 Apr 2003 22:21:33 +0000 (22:21 +0000)]
initialize variable

svn path=/trunk/; revision=4503

18 years agohousekeeping
guido [Sat, 5 Apr 2003 22:19:57 +0000 (22:19 +0000)]
housekeeping

svn path=/trunk/; revision=4502

18 years agoRollback previous change for now, gives problems when memory area extends beyond
Gé van Geldorp [Sat, 5 Apr 2003 21:57:13 +0000 (21:57 +0000)]
Rollback previous change for now, gives problems when memory area extends beyond
end of file image

svn path=/trunk/; revision=4501

18 years ago2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 5 Apr 2003 19:40:41 +0000 (19:40 +0000)]
2003-04-05  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/fslib: New directory.
* lib/fslib: Ditto.
* lib/fslib/vfatlib: Ditto.
* include/fslib/vfatlib.h: New file.
* lib/fslib/vfatlib/.cvsignore: Ditto.
* lib/fslib/vfatlib/Makefile: Ditto.
* lib/fslib/vfatlib/vfatlib.c: Ditto.
* Makefile: Support file system libraries
* lib/zlib/Makefile: Remove nostrip target.
* tools/helper.mk: Add nostrip target.

svn path=/trunk/; revision=4500

18 years ago2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 5 Apr 2003 15:37:58 +0000 (15:37 +0000)]
2003-04-05  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/.cvsignore: Ignore rline.

svn path=/trunk/; revision=4499