Commit graph

31782 commits

Author SHA1 Message Date
Aleksey Bragin e9973c3d3a - Pass thread's CreateTime in QSI SystemProcessInformation.
- Better implementation of QSI SystemInterruptInformation.
- Minor cleanup.

svn path=/trunk/; revision=34637
2008-07-21 12:45:12 +00:00
Timo Kreuzer 7ac61f4d05 use %p in sprintf instead of %x / cast to int
svn path=/trunk/; revision=34636
2008-07-21 12:15:36 +00:00
Aleksey Bragin 4e663a7c28 - Include a "System Idle Process" as the first item in QSI SystemProcessInformation.
svn path=/trunk/; revision=34635
2008-07-21 12:14:23 +00:00
Ged Murphy ee13626507 - fix the length of the dependencies string
- spotted by bugboy <martinmnet at hotmail dot com>

svn path=/trunk/; revision=34634
2008-07-21 11:43:55 +00:00
Matthias Kupfer 9bd87564c8 add language group for japanese keyboard layout
svn path=/trunk/; revision=34633
2008-07-21 10:55:33 +00:00
Matthias Kupfer c2e433cadf - enable japanese keyboard layout in 1st stage setup (but 2nd stage doesn't but yet)
- select Swiss keyboard layout for Liechtenstein as default

svn path=/trunk/; revision=34632
2008-07-21 10:44:18 +00:00
Aleksey Bragin 7a158b7f2d Yuriy Sidorov <jura@cp-lab.com>
- Invalid parameter error is returned if requested memory area is located above USER_SHARED_DATA address (0x7FFE0000) (WinXP compatible).
- Access violation error is returned if existing memory area found on requested address and this area have uninitialized region list.
See issue #3467 for more details.

svn path=/trunk/; revision=34630
2008-07-21 09:40:12 +00:00
Aleksey Bragin d50cea53cd - Small DPRINT typo fix.
svn path=/trunk/; revision=34629
2008-07-21 09:36:02 +00:00
Aleksey Bragin e52a7ae321 Yuriy Sidorov <jura@cp-lab.com>
- Call DbgBreakPoint() only for main thread. It fixes debugging of multithreaded apps.
- Prevent BSOD if ObReferenceObjectByHandle failed in NtGetContextThread and NtSetContextThread.
See issue #3535 for more details.

svn path=/trunk/; revision=34628
2008-07-21 09:22:28 +00:00
Aleksey Bragin 1b7106dee1 - Remove useless USE_W32API define from .rbuilds
- Fix compilation of a number of modules.
- Delete outdated fmifs.h, the one from ReactOS includes should be used instead.
- Move more libs to /lib directory.

svn path=/trunk/; revision=34627
2008-07-21 09:15:15 +00:00
Aleksey Bragin 32bd72afd4 - Fix wrong paths to some rosapps utils.
svn path=/trunk/; revision=34626
2008-07-21 09:11:30 +00:00
ReactOS Portable Systems Group c4a2e2e22b - Implement RamdiskReadWrite.
- Implement RamdiskReadWriteReal.
- We now have a working copy loop for both read and write operations.
- Need to implement RamdiskMapPages and RamdiskUnmapPages -- then we'll nearly be done!


svn path=/trunk/; revision=34625
2008-07-21 06:35:39 +00:00
Art Yerkes 861184aa18 Patch by Cameron Gutman (aicommander <at> gmail <dot> com)
- Forgot to remove UnlockRequest in last patch

svn path=/trunk/; revision=34624
2008-07-21 05:44:10 +00:00
ReactOS Portable Systems Group 9a54151f86 - Fix ARM exports to make up for the recent i386 changes.
- Implement MmGetPageProtect. MDL Probe And Lock now works.
- We get to RamdiskReadWrite now!


svn path=/trunk/; revision=34623
2008-07-21 01:41:04 +00:00
ReactOS Portable Systems Group 63c51607f5 - Get rid of 3 days of work due to complaints from our legal guy.
svn path=/trunk/; revision=34622
2008-07-21 01:15:07 +00:00
ReactOS Portable Systems Group f28f30eafa - Implement IOCTL_CDROM_GET_LAST_SESSION and IOCTL_CDROM_READ_TOC.
- The formet is a hack to support ReactOS' cdfs.


svn path=/trunk/; revision=34621
2008-07-21 01:12:17 +00:00
Timo Kreuzer 35b23ed1d4 rbuild files use tab indentation
svn path=/trunk/; revision=34620
2008-07-20 23:21:16 +00:00
Jeffrey Morlan 1ee0441036 Fix KeInsertQueueApc error checking
svn path=/trunk/; revision=34619
2008-07-20 23:00:18 +00:00
Jeffrey Morlan ec2194d205 KiMoveApcState: Fix reversal of RepairList arguments. (Bug 1720)
svn path=/trunk/; revision=34618
2008-07-20 22:48:06 +00:00
ReactOS Portable Systems Group c1937b5160 - Now it compiles.
- Add wdk_wnet_to_ros.diff to easily merge changes with any possible future WDK updates.

svn path=/trunk/; revision=34616
2008-07-20 19:56:09 +00:00
ReactOS Portable Systems Group 77a8db07f3 - Add new CDFS driver.
- Does not compile.


svn path=/trunk/; revision=34615
2008-07-20 19:52:30 +00:00
ReactOS Portable Systems Group 87f76ea54b - Our resident GCC expert just informed me of an undocumented "enable Microsoft Compiler Extensions" flag that makes things like unnnamed members work.
- Apply the switch and remove our workaround hack.


svn path=/trunk/; revision=34614
2008-07-20 19:39:55 +00:00
Jeffrey Morlan f956615435 In ConioConsoleCtrlEvent, don't wait for the thread to terminate; a misbehaving handler could hang CSRSS indefinitely that way. Testing on Windows shows that no waiting is done when Ctrl-C is pressed; however, there is a wait of up to 5 seconds when attempting to close the window, so add a comment in GuiConsoleHandleClose mentioning this.
svn path=/trunk/; revision=34613
2008-07-20 19:34:18 +00:00
ReactOS Portable Systems Group 840143e28a - Fix the way NlsOemLeadByteInfo is exported.
- Fix definition of PFAST_IO_UNLOCK_ALL_BY_KEY.
- Add IO_REPARSE and IO_REMOUNT definitions.
- Add IOCTL_CDROM_DISK_TYPE definition.
- Add FlagOn, BooleanFlagOn, SetFlag and ClearFlag definitions.
- Add FILE_READ_ONLY_VOLUME, FILE_SEQUENTIAL_WRITE_ONCE, FILE_SUPPORTS_TRANSACTIONS definitions.
- Add FSRTL_FLAG_ADVANCED_HEADER definition.
- Add FSRTL_FLAG2_PURGE_WHEN_MAPPED and FSRTL_FLAG2_IS_PAGING_FILE definitions.
- Add FILE_ID_FULL_DIR_INFORMATION and FILE_ID_BOTH_DIR_INFORMATION structures.
- Add FSRTL_FCB_HEADER_V0 and FSRTL_FCB_HEADER_V1 definitions.
- Add FSRTL_COMPARISION_RESULT enumeration.
- Add backwards compatibility support for non-AVL tree routines.
- Add RtlInsertElementGenericTableAvl, RtlDeleteElementGenericTableAvl, RtlLookupElementGenericTableAvl, RtlEnumerateGenericTableWithoutSplayingAvl prototypes.
- Add FsRtlSetupAdvancedHeader macro.
- Add FsRtlIsFatDbcsLegal prototype.
- Add FsRtlTeardownPerStreamContexts prototype.
- Add RtlFreeOemString, RtlOemStringToCountedUnicodeString, RtlUnicodeStringToCountedOemString, RtlOemToUnicodeN prototypes.
- Fix GenericTable prototypes in rtlfuncs.h
- It seems the ntoskrnl_i386.def exports file is totally incorrect with respect to mingw -- most FsRtl functions are not properly exported. We fixed the ones we need, someone needs to go fix this entire file.
- Add memcmp to the NTOS exports -- we're not entirely sure how you were even expecting 3rd party drivers to load in React?
- Fix FastFat's "VfatFastIoUnlockAllByKey" prototype to match the fixed up PFAST_IO_UNLOCK_ALL_BY_KEY definition.
- Clean-build-tested on i386.


svn path=/trunk/; revision=34611
2008-07-20 19:19:02 +00:00
Matthias Kupfer f3ddaf8067 mark the current keyboard layout as checked (in popup menu)
svn path=/trunk/; revision=34610
2008-07-20 19:08:35 +00:00
Jeffrey Morlan d9c376b18d Fix memory leak in vfwprintf: Don't change 'mem' pointer before freeing it.
svn path=/trunk/; revision=34609
2008-07-20 16:48:24 +00:00
ReactOS Portable Systems Group b1e617cc6f - Write out all the IOCTLs the RAM Disk emulation core needs to handle.
- Looks like the React CDFS driver behaves very differently from the NT CDFS driver.


svn path=/trunk/; revision=34608
2008-07-20 16:13:19 +00:00
Matthias Kupfer ba074059a5 Mario Kacmar <kario AT szm DOT sk>
- Slovak translation of several inf-files
- See #3518 for more details.

svn path=/trunk/; revision=34607
2008-07-20 14:58:35 +00:00
Matthias Kupfer 54ca4c3d3b - again, one more fix of damaged inf files
- please take care when committing this utf-16 files

svn path=/trunk/; revision=34606
2008-07-20 14:52:15 +00:00
ReactOS Portable Systems Group 9da9409da6 - Unlike NT, it seems React has a bug and does not automatically load the boot FS driver regardless of start type.
svn path=/trunk/; revision=34605
2008-07-20 06:36:27 +00:00
ReactOS Portable Systems Group 7158e5bfa9 - Fix the parameters we were sending to IoCreateDevice for our drive FDO.
- Now the kernel attempts to mount us through CDFS!
- Start stubbing the work we'll need to do in RamdiskDeviceControl -- this is where the emulation magic will happen.

svn path=/trunk/; revision=34604
2008-07-20 06:32:23 +00:00
ReactOS Portable Systems Group 3a6f964385 - Ramdisk doesn't seem to work yet, we're not getting properly initialized yet.
- We end up crashing in CcRosTryToInitialzeFileCache because there is no SectionObjectPointer, and it is assumed this always exists.
- We need to verify if this is truly the case -- in either case, add an ASSERT, since all assumptions should be ASSERTed!

svn path=/trunk/; revision=34603
2008-07-20 04:40:27 +00:00
ReactOS Portable Systems Group 14ea158446 - Finish implementing RamdiskCreateDiskDevice -- we should now have a working ramdisk drive that should receive read/write requests.
svn path=/trunk/; revision=34602
2008-07-20 04:39:01 +00:00
ReactOS Portable Systems Group 54694096a1 - Looks like this FIXME was fixed.
svn path=/trunk/; revision=34601
2008-07-20 04:38:26 +00:00
Art Yerkes 5ba974a93f Patch by Cameron Gutman (aicommander <at> gmail <dot> com)
- Fixes some issues with releasing locks
- Verify that we have an MDL before trying to unlock it

svn path=/trunk/; revision=34600
2008-07-20 04:33:53 +00:00
Sylvain Petreolle f2db1bc11f french translation for media/inf files
svn path=/trunk/; revision=34598
2008-07-20 00:44:09 +00:00
ReactOS Portable Systems Group df5fe4469c - Fixup some more structure and prototype details to make more sense.
- Start building the drive FDO extension by capturing most of the input data and our strings.

svn path=/trunk/; revision=34597
2008-07-19 22:42:18 +00:00
ReactOS Portable Systems Group 1176b541f6 - Create the RAM Disk Drive Device Object.
- Create the name for it, based on the GUID sent by the kernel.
- Create the DOS Device Symbolic Link if requested and if possible.
- Create the DOS Drive Letter if requested.
- (drivers/storage/class/ramdisk/ramdisk.c:440) Creating symbolic link: \DosDevices\C: to \Device\Ramdisk{d9b257fc-684e-4dcb-79ab-f6a2cf0350b7}
- Need to continue implementing..


svn path=/trunk/; revision=34596
2008-07-19 22:21:38 +00:00
ReactOS Portable Systems Group 8ee4e020f8 - Implement the main RamdiskWorkerThread work loop.
- Now we have to implement RamdiskCreateDiskDevice for real.

svn path=/trunk/; revision=34594
2008-07-19 21:19:41 +00:00
ReactOS Portable Systems Group 71bada1343 - We break your build, you break ours...
svn path=/trunk/; revision=34593
2008-07-19 21:04:31 +00:00
ReactOS Portable Systems Group 5bcb1c6a0e - Usually a good idea to fill out the device relation count instead of leaving it uninitailized to 2 billion.
- Fixes all the ramdisk problems -- need to implement RamdiskWorkerThread now.

svn path=/trunk/; revision=34592
2008-07-19 20:57:31 +00:00
ReactOS Portable Systems Group 46eda1013c - No, it isn't "ramdisk" that's misbehaving, it's your code. PnP needs to handle BusRelations instead of ignoring them.
svn path=/trunk/; revision=34591
2008-07-19 20:55:49 +00:00
ReactOS Portable Systems Group 910b3242e7 - It doesn't make sense to dereference an I/O Work Item... did you perhaps mean to dereference the device object?
- Fixes a crash when IoInvalidateRelations is called, as well as a reference leak.


svn path=/trunk/; revision=34590
2008-07-19 20:52:52 +00:00
ReactOS Portable Systems Group fd5bd1942d - Seperate the Ramdisk device extension into the Bus Device Extension and the Drive Device Extension.
- Rename the device types to Bus vs Drive, not FDO vs PDO (they're both FDOs).
- Use a common extension (the first 0x60 bytes or so) between Bus and Drive devices.
- Implement first pass of RamdiskCreateDiskDevice -- doesn't create anything, just validates the parameters.
- Implement our delayed work queue for handling requests asynchronously -- SendIrpToThread. Doesn't do anything for now.
- Implement RamdiskQueryDeviceRelations... not sure if we're doing the right thing. According to PnP, we get a warning that we are "misbehaving".
- Driver seems to crash right now, needs fixes.
- Some reformatting to make more lines fit inside 80 characters so it looks nice in joe.


svn path=/trunk/; revision=34589
2008-07-19 18:44:31 +00:00
Matthias Kupfer aa4af5693a Display of ReactOS bitmap implemented.
svn path=/trunk/; revision=34588
2008-07-19 17:20:20 +00:00
Pierre Schweitzer 909b7f0308 Fixed i386 build
svn path=/trunk/; revision=34586
2008-07-19 08:04:47 +00:00
ReactOS Portable Systems Group 49de00587a - Implement DebugService2, but don't make it do anything yet.
- Add ATTEMPTED_SWITCH_FROM_DPC bugcheck code.


svn path=/trunk/; revision=34585
2008-07-19 06:53:36 +00:00
ReactOS Portable Systems Group c0cde8777b - Enable interrupts after probing and capturing parameters during a system call.
- Enable WFI during idle loop.
- Implement undefined exception handler, and get rid of reserved exception code -- this will never happen except for an SoC bug.
- Request an APC interrupt if the new thread we context switched to has APCs pending and enabled.
- Perform DPC watchdog debugging code if a DPC lasted more than a second.
- Do the appropriate bugcheck if DPCs are active during a context switch.
- Go over the FIXMEs in the assembly files too, and create a new FIXME-PERF category.


svn path=/trunk/; revision=34584
2008-07-19 06:53:03 +00:00
ReactOS Portable Systems Group b95845bf85 - Cleanup some stray header issues for ARM.
- Separate kernel FIXMEs into clearer groupings:
  - TODO FIXMEs are highest priority, as they are missing required functionality.
  - USER FIXMEs are the next highest priority, since they will be required for user mode support.
  - V6 FIXMEs and future groupings are lowest priority, since they relate to hardware support we don't care about for now.


svn path=/trunk/; revision=34583
2008-07-19 06:13:10 +00:00
James Tabor 7272eb9108 Move NUMC defines to FNIDs.
svn path=/trunk/; revision=34582
2008-07-19 03:49:48 +00:00