Casper Hornstrup
ac3799c79c
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
2003-04-17 10:41:02 +00:00
Eric Kohl
f284e3a41c
- remove gstart.exe
...
- call mkhive.exe
- load system instead of system.hiv
svn path=/trunk/; revision=4542
2003-04-16 15:08:55 +00:00
Eric Kohl
8b6b2e1d5b
Finished mkhive.
...
svn path=/trunk/; revision=4541
2003-04-16 15:06:33 +00:00
Brian Palmer
273b6dd69f
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
2003-04-15 22:48:06 +00:00
Brian Palmer
b4d0aca25a
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
2003-04-15 02:15:54 +00:00
Eric Kohl
1a884ce84d
Add hive maker. It does not export binary hives yet.
...
svn path=/trunk/; revision=4538
2003-04-14 17:19:42 +00:00
Eric Kohl
be94ceb3d5
Disabled packet.sys driver.
...
svn path=/trunk/; revision=4537
2003-04-14 15:41:30 +00:00
KJK::Hyperion
6225a118af
sorry, forgot to exclude auto-generated files from dependency tracking
...
svn path=/trunk/; revision=4536
2003-04-14 12:14:50 +00:00
KJK::Hyperion
1bd4ae1455
- 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
2003-04-14 01:19:08 +00:00
Casper Hornstrup
e7940ebdad
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
2003-04-13 17:38:27 +00:00
Casper Hornstrup
c64cac2688
2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* tools/Makefile: Fix rule for mkflpimg.
svn path=/trunk/; revision=4532
2003-04-13 13:05:04 +00:00
guido
ca2e0585ff
added tool to create floppy disk images
...
svn path=/trunk/; revision=4531
2003-04-13 12:51:28 +00:00
Brian Palmer
b4581c2c95
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
2003-04-13 04:14:20 +00:00
KJK::Hyperion
336f8e82c1
- corrected typo in epsapi.h
...
- CTM: cleaned up to use EPSAPI and the ReactOS DDK
svn path=/trunk/; revision=4529
2003-04-13 03:57:41 +00:00
KJK::Hyperion
1b1afc9539
- 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
2003-04-13 03:24:28 +00:00
Gunnar Dalsnes
0871ebf88b
implemeted waiting on file handles/file objects
...
svn path=/trunk/; revision=4527
2003-04-12 20:34:27 +00:00
Eric Kohl
7b5e0bebdf
Final preparations for hardware hive import.
...
svn path=/trunk/; revision=4526
2003-04-12 18:41:43 +00:00
Eric Kohl
4aa19f2392
* Removed CmiLockBlock() and CmiReleaseBlock().
...
* Added new hive flags to distinguish between volatile/non-volatile and pointer/offset hives.
svn path=/trunk/; revision=4525
2003-04-12 15:09:57 +00:00
Casper Hornstrup
01aebbdd9d
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
2003-04-12 14:53:56 +00:00
Phillip Susi
03cba78fff
Moved a local declaration to the top of the funtion, where it has to be to compile
...
svn path=/trunk/; revision=4523
2003-04-11 21:02:21 +00:00
KJK::Hyperion
22f750cd54
The GDB KD stub now correctly references/dereferences ETHREAD objects
...
svn path=/trunk/; revision=4522
2003-04-11 02:25:24 +00:00
KJK::Hyperion
5c6df46d27
- 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
2003-04-10 23:14:47 +00:00
Gé van Geldorp
71c3c7c1cc
Fix named resource handling and LoadString by d_layer
...
svn path=/trunk/; revision=4520
2003-04-10 19:12:15 +00:00
Eric Kohl
68962b6249
Remove system.hiv from Boot-CD.
...
svn path=/trunk/; revision=4519
2003-04-10 18:55:27 +00:00
Eric Kohl
c26ce9f93b
Added support for binary system hive.
...
svn path=/trunk/; revision=4518
2003-04-10 18:51:22 +00:00
Eric Kohl
55a31c6b98
Added support for binary system hive.
...
svn path=/trunk/; revision=4517
2003-04-10 18:43:14 +00:00
Eric Kohl
ceb7d45424
Do not add empty bins to a binry hive.
...
svn path=/trunk/; revision=4516
2003-04-10 17:49:55 +00:00
Aleksey Bragin
294c3bcf94
New ctm version, supports killing of process, some bugfixes, increased speed of scrolling. My first ReactOS commit via CVS :)
...
svn path=/trunk/; revision=4515
2003-04-09 16:31:28 +00:00
Gé van Geldorp
2602dec603
Improve (hardware) exception handling and reporting
...
svn path=/trunk/; revision=4514
2003-04-07 23:10:08 +00:00
Eric Kohl
e81de9962d
Added new tool 'cdmake'.
...
svn path=/trunk/; revision=4513
2003-04-07 18:16:58 +00:00
Eric Kohl
4aa447d8d2
Added missing boot signature.
...
svn path=/trunk/; revision=4512
2003-04-06 20:01:09 +00:00
Gé van Geldorp
abbc08ce15
Moved MSVCRT setjmp.o
...
svn path=/trunk/; revision=4511
2003-04-06 13:10:21 +00:00
Gé van Geldorp
f579397b48
Add wsock32
...
svn path=/trunk/; revision=4510
2003-04-06 12:49:13 +00:00
Gé van Geldorp
c3fb300cc3
Zero-fill initialized data not contained in image file (2nd try)
...
svn path=/trunk/; revision=4509
2003-04-06 12:48:33 +00:00
Gé van Geldorp
3fe2b722fd
Added _setjmp3() and __p__iob()
...
svn path=/trunk/; revision=4508
2003-04-06 12:40:56 +00:00
Eric Kohl
e6af1b07da
Removed outdated declarations and macros.
...
svn path=/trunk/; revision=4507
2003-04-06 12:13:53 +00:00
Casper Hornstrup
61914f23d0
2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* lib/freetype/.cvsignore: Ignore nul.
svn path=/trunk/; revision=4506
2003-04-06 10:51:29 +00:00
Casper Hornstrup
09754161f9
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
2003-04-06 10:45:16 +00:00
Casper Hornstrup
d6d1a08b48
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
2003-04-05 23:17:22 +00:00
guido
6756a59755
initialize variable
...
svn path=/trunk/; revision=4503
2003-04-05 22:21:33 +00:00
guido
5ccf66a359
housekeeping
...
svn path=/trunk/; revision=4502
2003-04-05 22:19:57 +00:00
Gé van Geldorp
e09c1c61dc
Rollback previous change for now, gives problems when memory area extends beyond
...
end of file image
svn path=/trunk/; revision=4501
2003-04-05 21:57:13 +00:00
Casper Hornstrup
013bcd214a
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
2003-04-05 19:40:41 +00:00
Casper Hornstrup
d322047b43
2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* tools/.cvsignore: Ignore rline.
svn path=/trunk/; revision=4499
2003-04-05 15:37:58 +00:00
Casper Hornstrup
e656184ad6
2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* bootcd.bat: Install dosmbr.bin.
* drivers/storage/disk/disk.c (DiskClassDeviceControl): Pass physical
device object to IoWritePartitionTable().
* ntoskrnl/io/xhaldrv.c (xHalReadMBR): New function.
(xHalWriteMBR): Ditto.
(xHalExamineMBR): Use xHalReadMBR() to read MBR.
(xHalIoWritePartitionTable): Partial implement.
* subsys/system/usetup/bootsup.c (InstallMBRBootCodeToDisk): New function.
* subsys/system/usetup/bootsup.h (InstallMBRBootCodeToDisk): Prototype.
* subsys/system/usetup/partlist.c (CreatePartitionListNoGUI): New function.
(CreatePartitionList): Use CreatePartitionListNoGUI() to create partition
list.
(GetPartitionInformation): New function.
(MarkPartitionActive): Ditto.
* subsys/system/usetup/partlist.h (MarkPartitionActive): Prototype.
* subsys/system/usetup/usetup.c (SelectPartitionPage): Make SystemRootPath
point to the selected partition if no partitions are active.
(BootLoaderPage): If no partitions are active, then install a DOS MBR and
mark the selected partition active.
svn path=/trunk/; revision=4498
2003-04-05 15:36:34 +00:00
Casper Hornstrup
d44d6e392a
Added DOS compatible Master Boot Record (MBR)
...
svn path=/trunk/; revision=4497
2003-04-05 15:28:45 +00:00
Gé van Geldorp
4f133928b7
Zero-fill initialized data not contained in image file
...
svn path=/trunk/; revision=4496
2003-04-05 13:19:05 +00:00
Gé van Geldorp
2aab2423c2
Silcence CVS messages
...
svn path=/trunk/; revision=4495
2003-04-05 09:48:40 +00:00
Casper Hornstrup
7b1020a10e
2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* Makefile: Add bootcd target.
(BOOTCD_INSTALL): Set for bootcd install.
* rules.mak (TOPDIR): Define on windows.
(BOOTCD_DIR): Define.
(RLINE): Define.
* apps/tests/lpc/makefile: Handle BOOTCD_INSTALL.
* apps/tests/mstest/Makefile: Ditto.
* apps/tests/nptest/Makefile: Ditto.
* apps/tests/shm/makefile: Ditto.
* ntoskrnl/Makefile: Handle BOOTCD_INSTALL. Add bootcd target.
* drivers/dd/vga/makefile: Add bootcd target.
* drivers/dd/blue/makefile (TARGET_BOOTSTRAP): Define as yes.
* drivers/dd/floppy/Makefile: Ditto.
* drivers/fs/cdfs/makefile: Ditto.
* drivers/fs/ntfs/makefile: Ditto.
* drivers/fs/vfat/makefile: Ditto.
* drivers/input/keyboard/makefile: Ditto.
* drivers/storage/atapi/makefile: Ditto.
* drivers/storage/cdrom/makefile: Ditto.
* drivers/storage/class2/makefile: Ditto.
* drivers/storage/disk/makefile: Ditto.
* drivers/storage/scsiport/makefile: Ditto.
* hal/halx86/Makefile: Ditto.
* lib/ntdll/makefile: Ditto.
* subsys/system/usetup/makefile (TARGET_BOOTSTRAP): Define as yes.
(TARGET_BOOTSTRAP_NAME): Define as smss.exe.
* tools/Makefile: Add rline executable.
* tools/helper.mk: Support bootcd targets.
* tools/rline.c: New file.
svn path=/trunk/; revision=4494
2003-04-05 09:37:45 +00:00
Hartmut Birr
e174c6dcd5
- Fixed the initializing of the buffer length in CmiConnectHive.
...
svn path=/trunk/; revision=4492
2003-04-04 21:52:25 +00:00