Commit graph

4391 commits

Author SHA1 Message Date
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
KJK::Hyperion
a812f4e0b2 Long due update to PSAPI
svn path=/trunk/; revision=4478
2003-04-02 22:09:57 +00:00
KJK::Hyperion
01da24f40c Miscellaneous fixes:
- activated dependency tracking for ntdll [tested]
 - fixed trivial warning [tested]
 - build rules now define appropriate _M_<arch> macro, for compatibility with the Microsoft DDK [tested]
 - faster implementation of NtCurrentPeb() on the x86 [tested]
 - NtCurrentTeb() implementations for the Alpha AXP and MIPS R4000 architectures

svn path=/trunk/; revision=4477
2003-04-02 21:55:16 +00:00
KJK::Hyperion
323478bacf Forgot to remove this
svn path=/trunk/; revision=4476
2003-04-02 02:09:28 +00:00
KJK::Hyperion
4e0c54a3b8 Finalized my previous kernel32.dll patch - please test OutputDebugString
svn path=/trunk/; revision=4475
2003-04-02 00:23:12 +00:00
KJK::Hyperion
870f594d75 RtlRunDecodeUnicodeString & RtlRunEncodeUnicodeString patch finalized
svn path=/trunk/; revision=4474
2003-04-02 00:06:00 +00:00
KJK::Hyperion
e379c5e0b7 RtlRunEncodeUnicodeString & RtlRunDecodeUnicodeString contributed by crazylord
svn path=/trunk/; revision=4473
2003-04-02 00:01:21 +00:00
Eric Kohl
c3a2a5dc0d Start cleaning-up the hive management routines.
Initialize hive and log file names for the system hive.

svn path=/trunk/; revision=4472
2003-04-01 19:01:58 +00:00
Eric Kohl
1a56964de6 Fix missing entry point warning.
svn path=/trunk/; revision=4471
2003-04-01 18:58:59 +00:00
Gé van Geldorp
db73ddbe31 Add labs() needed for new MinGW environment
svn path=/trunk/; revision=4470
2003-04-01 17:14:36 +00:00
Eric Kohl
0ce7c979ac Enable import of binary system hive.
svn path=/trunk/; revision=4469
2003-04-01 16:37:14 +00:00
Eric Kohl
1fb9958a68 Fix bug which causes a crash in RtlpCheckFileNameExtension() if the file doesn't have an extension.
svn path=/trunk/; revision=4468
2003-04-01 16:35:22 +00:00
Gé van Geldorp
1d1253f734 Changed location of FreeType to lib/freetype
svn path=/trunk/; revision=4467
2003-04-01 08:55:51 +00:00
Gé van Geldorp
b4f4566a01 Use FreeType DLL
svn path=/trunk/; revision=4466
2003-04-01 08:43:46 +00:00
Gé van Geldorp
fa1f8db542 FreeType 2.1.3 import
svn path=/trunk/; revision=4465
2003-04-01 08:38:33 +00:00
Gé van Geldorp
fbc6b77b36 Support for kernel mode DLLs (TARGET_TYPE kmdll)
svn path=/trunk/; revision=4464
2003-04-01 08:13:30 +00:00
KJK::Hyperion
1f3d9b8335 - implemented a couple of DbgUi* APIs introduced in NT 5.1
- implemented RtlExitUserThread

svn path=/trunk/; revision=4463
2003-03-31 22:32:18 +00:00
KJK::Hyperion
279e7acf18 - added annotation to TEB definition
- new DbgUi* APIs added in NT 5.1
 - implemented RtlExitThread
 - added definition of various ACE_* structures

svn path=/trunk/; revision=4462
2003-03-31 22:30:49 +00:00
KJK::Hyperion
647129da1f - debugging support APIs moved into their own directory
- reversed the Debug Monitor protocol, implemented OutputDebugString accordingly
 - added a handful of new functions introduced in NT 5.1, either stubbed out or implemented

svn path=/trunk/; revision=4461
2003-03-31 22:28:59 +00:00
KJK::Hyperion
63a0f413bf Fixed tlist
svn path=/trunk/; revision=4460
2003-03-31 21:03:42 +00:00
Eric Kohl
1f8fe422c6 Remove unused code.
svn path=/trunk/; revision=4459
2003-03-31 11:49:38 +00:00
Eric Kohl
4dc8e937b1 Enable loading of binary hive files (without file extension).
svn path=/trunk/; revision=4458
2003-03-31 11:48:48 +00:00