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
Casper Hornstrup
dd53666e1a
2003-04-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* lib/freetype/builds/compiler/gcc.mk (CC): Comment out; use CC from
rules.mak instead.
* lib/freetype/README.ROS: Note this in porting guide.
svn path=/trunk/; revision=4491
2003-04-04 21:30:31 +00:00
KJK::Hyperion
f729ca1756
NtCurrentTeb() for Alpha rewritten. Reorganized a couple of things
...
svn path=/trunk/; revision=4490
2003-04-04 20:36:15 +00:00
KJK::Hyperion
81369c3603
Updated FIXME comment
...
svn path=/trunk/; revision=4489
2003-04-04 20:35:24 +00:00
Steven Edwards
2941c583a4
add ctm by Aleksey Bragin
...
svn path=/trunk/; revision=4488
2003-04-04 19:26:04 +00:00
Eric Kohl
82389bc005
Cleaned-up and simplified hive import and registry initialization.
...
svn path=/trunk/; revision=4487
2003-04-04 14:05:29 +00:00
Gé van Geldorp
69b46e8303
Ignore .*.d files
...
svn path=/trunk/; revision=4486
2003-04-03 22:58:28 +00:00
Gé van Geldorp
4fbceaaefc
Add time...() stubs
...
svn path=/trunk/; revision=4485
2003-04-03 22:57:00 +00:00
Gé van Geldorp
1eb65f81dd
WSOCK32 stub
...
svn path=/trunk/; revision=4484
2003-04-03 22:44:19 +00:00
KJK::Hyperion
37f24851c5
- Nebbet-ized a couple of Zw types [tested]
...
- PSAPI now 10% better
svn path=/trunk/; revision=4483
2003-04-03 00:06:24 +00:00
Gunnar Dalsnes
4948893df6
timer messages impl.
...
svn path=/trunk/; revision=4482
2003-04-02 23:29:04 +00:00
Gé van Geldorp
42f7ce354a
Turn optimization off in DBG builds
...
svn path=/trunk/; revision=4481
2003-04-02 23:25:56 +00:00
Gunnar Dalsnes
94975d7d95
timer messages impl.
...
svn path=/trunk/; revision=4480
2003-04-02 23:19:28 +00:00
Gunnar Dalsnes
9db4bafa99
timer messages impl.
...
svn path=/trunk/; revision=4479
2003-04-02 23:12:53 +00:00