Hartmut Birr
d62b3b42e8
- Fixed the check for an existing paging file.
...
svn path=/trunk/; revision=4906
2003-06-16 19:15:57 +00:00
Casper Hornstrup
922b9fdf46
2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
Changes for compiling with w32api
* include/ddk/cctypes.h (PREACTOS_COMMON_FCB_HEADER): Remove.
(FSRTL_COMMON_FCB_HEADER): Add.
* include/ddk/iotypes.h (FILE_OBJECT): Rename field
SectionObjectPointers to SectionObjectPointer.
* ntoskrnl/cc/copy.c, ntoskrnl/cc/misc.c, ntoskrnl/cc/pin.c,
ntoskrnl/cc/view.c, ntoskrnl/io/rawfs.c, ntoskrnl/mm/section.c,
drivers/fs/cdfs/cleanup.c, drivers/fs/cdfs/fcb.c,
drivers/fs/cdfs/fsctl.c, drivers/fs/ntfs/fcb.c, drivers/fs/ntfs/fsctl.c,
drivers/fs/vfat/close.c, drivers/fs/vfat/create.c,
drivers/fs/vfat/finfo.c, drivers/fs/vfat/fcb.c, drivers/fs/vfat/fsctl.c:
Use new FILE_OBJECT structure.
* drivers/fs/cdfs/cdfs.h, drivers/fs/ntfs/ntfs.h, drivers/fs/vfat/vfat.h:
Use new FSRTL_COMMON_FCB_HEADER structure.
* drivers/net/afd/include/afd.h (FSRTL_COMMON_FCB_HEADER): Remove.
* include/ddk/ketypes.h (KQUEUE): Match w32api structure.
* ntoskrnl/ke/queue.c, ntoskrnl/ke/wait.c: Use new structure.
* ntoskrnl/ke/spinlock.c (KeAcquireSpinLockAtDpcLevel,
KeReleaseSpinLockFromDpcLevel): Undefine before declaring.
svn path=/trunk/; revision=4865
2003-06-07 11:34:36 +00:00
Hartmut Birr
b841a51945
- Fixed a wrong call to OffsetToCluster in VfatSetAllocationSizeInformation (Thanks to Marc Sch�tz).
...
svn path=/trunk/; revision=4836
2003-06-04 18:01:02 +00:00
Eric Kohl
00d19927ae
Implemented spinlock and event functions.
...
svn path=/trunk/; revision=4784
2003-05-27 20:59:24 +00:00
Gé van Geldorp
fe8db53413
Add DebugOut device driver
...
svn path=/trunk/; revision=4741
2003-05-22 15:11:29 +00:00
Gunnar Dalsnes
e76a3a5ab0
-Fixed FileObject/Event dereferencing at IRP completion problem
...
-Reworked IRP completion rotuines
-io/irp.c: Reworked IoIsOperationSynchronous
-afd/opnclose.c: Fixed bug where CCB was freed twice
-io/create.c: changed Lock event in FileObject from NotificationEvent to SynchronizationEvent
svn path=/trunk/; revision=4739
2003-05-22 00:47:04 +00:00
Eric Kohl
74592b5432
Implemented NDIS timer functions.
...
svn path=/trunk/; revision=4731
2003-05-20 13:00:41 +00:00
Hartmut Birr
7a801d3bd8
- Implemented FSCTL_GET_RETRIVAL_POINTERS.
...
- Call the storage driver for read/write requests to pagefiles directly.
svn path=/trunk/; revision=4669
2003-05-11 09:51:26 +00:00
Aleksey Bragin
74c0e6eb1c
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
2003-05-07 19:33:14 +00:00
Aleksey Bragin
1ee3211646
Uncommented exporting of EthFilterDprIndicateReceive (and ReceiveComplete)
...
svn path=/trunk/; revision=4654
2003-05-07 19:09:48 +00:00
Eric Kohl
e0352540ed
Moved test sound.
...
svn path=/trunk/; revision=4652
2003-05-06 19:01:03 +00:00
Gé van Geldorp
e16ddc6bdf
Clean up debugging stuff and silence debug messages
...
svn path=/trunk/; revision=4642
2003-05-04 15:41:40 +00:00
Gé van Geldorp
158fda092b
Implement GetDeviceCaps()
...
svn path=/trunk/; revision=4639
2003-05-03 13:39:06 +00:00
Eric Kohl
8cbf35a0f7
Get timeout value from the registry or use default timeout.
...
svn path=/trunk/; revision=4632
2003-05-01 17:50:35 +00:00
Eric Kohl
85c99dd8aa
Get timeout value from the registry.
...
svn path=/trunk/; revision=4631
2003-05-01 17:49:23 +00:00
Eric Kohl
e678b87637
Disabled debug messages.
...
svn path=/trunk/; revision=4617
2003-04-29 19:49:17 +00:00
Eric Kohl
23f8e2083b
Implemented disk geometry update for BIOS drives.
...
Disk manager handling is not implemented yet.
svn path=/trunk/; revision=4616
2003-04-29 18:06:26 +00:00
Aleksey Bragin
331899f621
Added notification for partly-implemented NdisMSetAttributesEx()
...
svn path=/trunk/; revision=4610
2003-04-28 14:31:47 +00:00
Eric Kohl
29a610ad56
Use disk signature or MBR checksum to find the right disk.
...
Add missing device objects to device extensions.
svn path=/trunk/; revision=4609
2003-04-28 11:05:34 +00:00
Eric Kohl
392883e81f
Detect and print BIOS disk geometry.
...
svn path=/trunk/; revision=4602
2003-04-27 18:10:38 +00:00
Eric Kohl
a950079369
Moved disk manager related offset calculation to class2.
...
Implemented dynamic partition management.
Removed unused header files.
svn path=/trunk/; revision=4596
2003-04-27 10:50:07 +00:00
Hartmut Birr
40b6b22911
- Fixed the offset in ReadPciConfigUshort/WritePciConfigUshort.
...
svn path=/trunk/; revision=4585
2003-04-26 07:06:55 +00:00
Aleksey Bragin
2e6c5e5a92
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
2003-04-25 21:22:48 +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
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
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
Eric Kohl
7bf5e6cae6
Added support for the Ontrack Disk Manager.
...
svn path=/trunk/; revision=4451
2003-03-28 22:47:33 +00:00
Gé van Geldorp
34aacc4e6b
Fix crash at load-time
...
svn path=/trunk/; revision=4447
2003-03-28 15:34:17 +00:00
KJK::Hyperion
1c607fc7d1
zlib is a static library, not (necessarily) a driver library. Moved it back to reactos/lib (who moved it?)
...
svn path=/trunk/; revision=4419
2003-03-24 01:28:44 +00:00
Hartmut Birr
1032130eaf
- Fixed the intialization of the returned fcb if the directory is the root (FindFile).
...
svn path=/trunk/; revision=4408
2003-03-23 10:45:56 +00:00
Jason Filby
44b3528f71
Line drawing fixes
...
svn path=/trunk/; revision=4405
2003-03-23 09:18:51 +00:00
Jason Filby
8526f38f43
Line drawing fixes
...
svn path=/trunk/; revision=4398
2003-03-22 21:51:05 +00:00
Hartmut Birr
a9b1cd3b93
- Fixed the buffer handling for ioctl requests and direct access
...
input buffers (METHODE_IN_DIRECT, output buffer from caller).
svn path=/trunk/; revision=4388
2003-03-21 21:09:42 +00:00
Steven Edwards
2b4f936add
Hack stub for NdisWriteErrorLogEntry so VMware network driver fails with some grace. =/
...
svn path=/trunk/; revision=4303
2003-03-14 23:37:26 +00:00
Gé van Geldorp
ab42b89f19
Get mouse cursor working under VMware
...
svn path=/trunk/; revision=4286
2003-03-11 00:21:41 +00:00
Jason Filby
5a4eded72e
Updated Serial Mouse driver
...
svn path=/trunk/; revision=4284
2003-03-10 19:53:08 +00:00
Jason Filby
34d1c4a88a
Removing old mouse driver
...
svn path=/trunk/; revision=4283
2003-03-10 19:44:40 +00:00
Jason Filby
b0e9fcf187
Minor button fixes
...
svn path=/trunk/; revision=4281
2003-03-09 21:49:08 +00:00
Hartmut Birr
f92f7ff968
- Return TRUE on success in DrvAssertMode.
...
svn path=/trunk/; revision=4280
2003-03-09 21:44:24 +00:00
Hartmut Birr
b98522fd18
- Protected the access to the crtc registers (cursor position) with cli/sti.
...
svn path=/trunk/; revision=4279
2003-03-09 21:43:37 +00:00
Gé van Geldorp
95bceebe67
#include file moved
...
svn path=/trunk/; revision=4270
2003-03-09 19:34:14 +00:00
Jason Filby
975ce25154
Improved mouse button handling
...
svn path=/trunk/; revision=4266
2003-03-09 15:00:51 +00:00
Gé van Geldorp
6fdd94516b
- Fix DC/Bitmap handling
...
- Fix compiler warnings
- Silence some debug output
svn path=/trunk/; revision=4263
2003-03-08 13:16:52 +00:00
Gé van Geldorp
31e559fb73
- Add support for 8-bit and 32-bit displays
...
- Precompute DIB routines
- Fix some compiler warnings
svn path=/trunk/; revision=4238
2003-03-04 10:09:01 +00:00
Gé van Geldorp
1b48f7d941
Get MS 16 color driver to work under Bochs
...
svn path=/trunk/; revision=4232
2003-03-03 00:17:24 +00:00
Gé van Geldorp
1b1e741e1b
Fixed several off-by-one errors and some compiler warnings
...
svn path=/trunk/; revision=4229
2003-03-02 12:04:00 +00:00
Gé van Geldorp
8690cad211
Fix boot problems and make it work under VMware
...
svn path=/trunk/; revision=4228
2003-03-02 10:53:38 +00:00
Gé van Geldorp
343857f12a
Replace direct calls to "make" with $(MAKE)
...
svn path=/trunk/; revision=4213
2003-02-28 22:51:17 +00:00
Eric Kohl
4b23fcb6ce
Fixed string lengths in calls to ZwSetValueKey() to include terminating zero character.
...
svn path=/trunk/; revision=4211
2003-02-27 20:32:31 +00:00
Gé van Geldorp
e024154763
Cleanup
...
svn path=/trunk/; revision=4209
2003-02-27 16:34:15 +00:00