reactos.git
10 years agoWINLDR: Finally, set Windows boot style as default
Hervé Poussineau [Sat, 3 Oct 2009 20:09:57 +0000 (20:09 +0000)]
WINLDR: Finally, set Windows boot style as default
Many thanks to Fireball and Alex for your hard work on Windows boot style

svn path=/trunk/; revision=43273

10 years ago[usetup] Simplify creation of entries in freeldr.ini
Hervé Poussineau [Sat, 3 Oct 2009 19:43:29 +0000 (19:43 +0000)]
[usetup] Simplify creation of entries in freeldr.ini

svn path=/trunk/; revision=43272

10 years ago[freeldr] Remove MachDiskGetPartitionEntry, and directly use the correct one
Hervé Poussineau [Sat, 3 Oct 2009 18:41:10 +0000 (18:41 +0000)]
[freeldr] Remove MachDiskGetPartitionEntry, and directly use the correct one
Remove PpcDiskNormalizeSystemPath(), it was the same as DiskNormalizeSystemPath()

svn path=/trunk/; revision=43271

10 years ago - Fix the crash in ws2_32_winetest during the ioctlsocket test
Cameron Gutman [Sat, 3 Oct 2009 18:21:14 +0000 (18:21 +0000)]
 - Fix the crash in ws2_32_winetest during the ioctlsocket test
 - Pass the blocking mode down to AFD
 - Dedicated to encoded

svn path=/trunk/; revision=43270

10 years ago- consider DragFullWindows-value from Registry
Matthias Kupfer [Sat, 3 Oct 2009 17:13:02 +0000 (17:13 +0000)]
- consider DragFullWindows-value from Registry

svn path=/trunk/; revision=43269

10 years ago[freeldr] Remove (Mach)DiskGetBootDevice, DiskGetBootVolume, DiskGetSystemVolume...
Hervé Poussineau [Sat, 3 Oct 2009 17:00:29 +0000 (17:00 +0000)]
[freeldr] Remove (Mach)DiskGetBootDevice, DiskGetBootVolume, DiskGetSystemVolume, FsRecognizeVolume
This commit breaks ext2 driver in freeldr, which needs to use ArcSeek/ArcRead/Arc* instead of DiskGetBootVolume/MachDiskReadLogicalSectors

svn path=/trunk/; revision=43268

10 years agoRework FAT filesystem to not be tied to boot filesystem
Hervé Poussineau [Sat, 3 Oct 2009 16:47:54 +0000 (16:47 +0000)]
Rework FAT filesystem to not be tied to boot filesystem

svn path=/trunk/; revision=43267

10 years ago* only show message box on exit if the image has not been saved and is not blank
Benedikt Freisen [Sat, 3 Oct 2009 16:33:41 +0000 (16:33 +0000)]
* only show message box on exit if the image has not been saved and is not blank
* set as wallpaper: now working, setting wallpaper style: not yet
* made number of undo-steps changeable through define-statement; increased to 10 (see original)
* zoom tool got its track bar (see original)

svn path=/trunk/; revision=43266

10 years ago- Replace some x86 assembly in drivers with portable breakpoint support.
Stefan Ginsberg [Sat, 3 Oct 2009 14:15:46 +0000 (14:15 +0000)]
- Replace some x86 assembly in drivers with portable breakpoint support.

svn path=/trunk/; revision=43265

10 years ago[freeldr] Fix warning on recent GCC versions
Hervé Poussineau [Sat, 3 Oct 2009 13:29:41 +0000 (13:29 +0000)]
[freeldr] Fix warning on recent GCC versions

svn path=/trunk/; revision=43264

10 years ago[freeldr] Code code specific to ARC emulation to its own directory
Hervé Poussineau [Sat, 3 Oct 2009 13:11:22 +0000 (13:11 +0000)]
[freeldr] Code code specific to ARC emulation to its own directory

svn path=/trunk/; revision=43263

10 years ago[freeldr] It's easy to check if we booted from a floppy thanks to boot path. No need...
Hervé Poussineau [Sat, 3 Oct 2009 12:49:14 +0000 (12:49 +0000)]
[freeldr] It's easy to check if we booted from a floppy thanks to boot path. No need to maintain a machine callback for that

svn path=/trunk/; revision=43262

10 years agoWINLDR: Move i386 specific code to its own file
Hervé Poussineau [Sat, 3 Oct 2009 12:36:52 +0000 (12:36 +0000)]
WINLDR: Move i386 specific code to its own file

svn path=/trunk/; revision=43261

10 years ago- Implement delete of the program information from the registry
Dmitry Chapyshev [Sat, 3 Oct 2009 09:34:19 +0000 (09:34 +0000)]
- Implement delete of the program information from the registry
- Store settings information in HKEY_LOCAL_MACHINE instead HKEY_CURRENT_USER

svn path=/trunk/; revision=43260

10 years ago- Prevent kernel bug check in win32k when calling a hook proc when thread is in cleanup.
James Tabor [Sat, 3 Oct 2009 02:30:47 +0000 (02:30 +0000)]
- Prevent kernel bug check in win32k when calling a hook proc when thread is in cleanup.
- This is not a hack and not a fix. Please retest related bug report applications. Tested Firefox 3.5 and the new putty. Need new debug print outs. ATM Ff 3.5 send out WH_JOURNALRECORD hook calls when the thread is in cleanup. Look like this: Thread is in cleanup and trying to call hook 0
- Reference bug 4298.

svn path=/trunk/; revision=43259

10 years ago- Add KSPROPSETID_Audio guid
Johannes Anderwald [Fri, 2 Oct 2009 21:55:53 +0000 (21:55 +0000)]
- Add KSPROPSETID_Audio guid
- Allocate data format after successful initialization of IPinWaveCyclic
- Store Miniport Adapter in subdevice descriptor
- Implement GUID_NULL handler for topology nodes
- Implement setting / retrieving properties for topology nodes

svn path=/trunk/; revision=43258

10 years ago[fastfat_new]
Aleksey Bragin [Fri, 2 Oct 2009 17:07:37 +0000 (17:07 +0000)]
[fastfat_new]
- Don't leak VCB lock, prevents hang when trying to open another file.

svn path=/trunk/; revision=43257

10 years ago[fastfat_new]
Aleksey Bragin [Fri, 2 Oct 2009 13:59:51 +0000 (13:59 +0000)]
[fastfat_new]
- Fail with an error if file can't be opened.
- Implement FatCreateDcb, actually create DCBs for all parsed directories in the path.
- Set file size in an advanced FSRTL header for a file.
- Implement a small helper function for setting full names in FCB/DCB like it's done in the reference driver.

svn path=/trunk/; revision=43256

10 years ago[fullfat]
Aleksey Bragin [Fri, 2 Oct 2009 11:56:03 +0000 (11:56 +0000)]
[fullfat]
- Substitute more "free" to FF_Free function.

svn path=/trunk/; revision=43255

10 years ago- Rewrite Wave API to enumerate wave out / in devices at startup
Johannes Anderwald [Fri, 2 Oct 2009 10:57:24 +0000 (10:57 +0000)]
- Rewrite Wave API to enumerate wave out / in devices at startup
- Improves speedup of application minus short delay in system boot
- Enumerate controls for source and destination lines

svn path=/trunk/; revision=43254

10 years ago- Check if NodeId is out of bounds
Johannes Anderwald [Fri, 2 Oct 2009 10:53:36 +0000 (10:53 +0000)]
- Check if NodeId is out of bounds
- Return correct status code

svn path=/trunk/; revision=43253

10 years ago[fastfat_new]
Aleksey Bragin [Fri, 2 Oct 2009 10:49:57 +0000 (10:49 +0000)]
[fastfat_new]
- Implement querying standard information (important for getting correct file size).
- Substitute CcMap/copy/Unpin by CcCopyRead in FatReadBlocks.
- Take offset into account (seek) in file read operation. Fixes always reading files from the beginning.

svn path=/trunk/; revision=43252

10 years ago - Get the length from each packet header instead of assuming that all packets will...
Cameron Gutman [Thu, 1 Oct 2009 21:00:41 +0000 (21:00 +0000)]
 - Get the length from each packet header instead of assuming that all packets will be the length of the first one

svn path=/trunk/; revision=43251

10 years ago[fastfat_new]
Aleksey Bragin [Thu, 1 Oct 2009 16:08:11 +0000 (16:08 +0000)]
[fastfat_new]
- Implement simple read support.
- Rewrite FatMapUserBuffer, no exception raising necessary at this stage.
- Silence FatReadBlocks dbgprint.

svn path=/trunk/; revision=43250

10 years ago- Fix MSVC YieldProcessor macro
Stefan Ginsberg [Thu, 1 Oct 2009 14:18:54 +0000 (14:18 +0000)]
- Fix MSVC YieldProcessor macro

svn path=/trunk/; revision=43249

10 years ago- Kill leftover __USE_W32API
Stefan Ginsberg [Thu, 1 Oct 2009 14:18:18 +0000 (14:18 +0000)]
- Kill leftover __USE_W32API

svn path=/trunk/; revision=43248

10 years ago[fastfat_new]
Aleksey Bragin [Thu, 1 Oct 2009 13:21:28 +0000 (13:21 +0000)]
[fastfat_new]
- Open a file in FatiOpenExistingFile by means of FullFAT library.
- Fix incorrect fullfat placement in fasfat.rbuild.
- Hack StreamFileObject to be 5Gb in length instead of 512 bytes. It'll be set to the size of an underlying physical device later.
- Add FF file handle to FCB structure.

svn path=/trunk/; revision=43247

10 years ago- Add usbdlib.h
Johannes Anderwald [Wed, 30 Sep 2009 23:58:04 +0000 (23:58 +0000)]
- Add usbdlib.h

svn path=/trunk/; revision=43246

10 years agoPatch by Viliam Lejcik (lejcik =at= gmail com). Fixes bug #4858. With the blessing...
Dmitry Gorbachev [Wed, 30 Sep 2009 20:59:21 +0000 (20:59 +0000)]
Patch by Viliam Lejcik (lejcik =at= gmail com). Fixes bug #4858. With the blessing of Ged Murphy.

svn path=/trunk/; revision=43245

10 years agoReactOS SMP Bringup Lite:
Stefan Ginsberg [Wed, 30 Sep 2009 20:30:57 +0000 (20:30 +0000)]
ReactOS SMP Bringup Lite:
- Add simple and hacky spinlock implementation to HAL and kernel. It treats queued spinlocks as normal spinlocks and does not support debug timeout, but works well enough to expose bugs in spinlock usage.
- Implement KiProcessDeferredReadyList, a simple wrapper around KiDeferredReadyThread.
- Add missing PRCB locking in KiDeferredReadyThread.
- Implement SMP handling in KiRetireDpcList.
- Acquire the spinlock in KeSynchronizeExecution for SMP.
- Stub and export Kii386SpinOnSpinLock -- not used yet.
- Fix locking in KiAcquire/ReleaseDispatcherLockAtDpcLevel -- KeAcquireQueuedSpinLockAtDpcLevel takes the lock queue pointer, not the index.
- "Implement" KiRundownThread for SMP.
- Fix some sanity checks in the SMP context switch code and implement a stubbed SMP case.
- Define SYNCH_LEVEL in asm.h and use it in HAL's KeRaiseIrqlToSynchLevel.

To try the MP kernel on UP (it does not work on multiple processors yet) compile ntkrnlmp, rename it to ntoskrnl and add it to your installation. This requires a HAL with CONFIG_SMP enabled in HAL's spinlock.c and irq.S. Booting with the MP kernel does not work because of a weird regression introduced sometime in the last few months --  it appears MmProbeAndLockPages fails for a user mode stack pointer (no, I have no idea why).

svn path=/trunk/; revision=43244

10 years ago- ASSERT on NULL-frees
Stefan Ginsberg [Wed, 30 Sep 2009 19:29:08 +0000 (19:29 +0000)]
- ASSERT on NULL-frees

svn path=/trunk/; revision=43243

10 years ago- Several bugfixes for mixer source / destination line detection code
Johannes Anderwald [Wed, 30 Sep 2009 18:58:52 +0000 (18:58 +0000)]
- Several bugfixes for mixer source / destination line detection code
- Fix a memory leak

svn path=/trunk/; revision=43242

10 years ago- KeBugCheckEx expects BugCheckParameter2 to point to an array when the bug code...
Stefan Ginsberg [Wed, 30 Sep 2009 18:31:26 +0000 (18:31 +0000)]
- KeBugCheckEx expects BugCheckParameter2 to point to an array when the bug code is FATAL_UNHANDLED_HARD_ERROR -- properly stub out ExpSystemErrorHandler so we don't crash in KeBugCheckEx.

svn path=/trunk/; revision=43241

10 years ago- Fix recursive spinlock acquisition in Mm caused by locking inconsistency between...
Stefan Ginsberg [Wed, 30 Sep 2009 18:24:00 +0000 (18:24 +0000)]
- Fix recursive spinlock acquisition in Mm caused by locking inconsistency between ARM3 and the old ReactOS Mm. The old Mm calls certain routines to modify PFN entries (lock, unlock, reference, dereference, etc) and acquires/releases the PFN lock inside those functions (which is extremely inefficient as you can't, for example, have to acquire/release the PFN lock twice to reference and lock the same page), while ARM3 synchronizes differently and holds the lock while calling those routines, resulting in a recursive lock attempt on MP (which works on UP because spinlocks are just IRQL raise/lower there). Move out locking from MmAllocPage, MmReference/DereferencePage and MmLock/UnlockPage to the callers to be consistent with ARM3.
- Add missing PFN locking to MmFreePagesFromMdl and MiAllocatePoolPages.
- Get rid of MmLockPageUnsafe and MmReferencePageUnsafe. The "safe" routines just forwarded to the unsafe versions -- call them directly instead. Remove unused MmAcquirePageListLock/MmReleasePageListLock.

svn path=/trunk/; revision=43240

10 years ago[fastfat_new]
Aleksey Bragin [Wed, 30 Sep 2009 16:16:18 +0000 (16:16 +0000)]
[fastfat_new]
- Partially implement a codepath for opening an existing file.
- Implement simple FCB and CCB creation.
- Correctly set FILE_OBJECT fields.
- Allocate space for SECTION_POINTERS.
- Implement some misc in FatQueryInformation.
- The driver goes up to getting a read request for ntdll.dll.

svn path=/trunk/; revision=43239

10 years ago- ...and this one.
Stefan Ginsberg [Wed, 30 Sep 2009 13:43:55 +0000 (13:43 +0000)]
- ...and this one.

svn path=/trunk/; revision=43238

10 years ago- Missed this one
Stefan Ginsberg [Wed, 30 Sep 2009 13:33:48 +0000 (13:33 +0000)]
- Missed this one

svn path=/trunk/; revision=43237

10 years ago- Goodbye __USE_W32API
Stefan Ginsberg [Wed, 30 Sep 2009 13:32:05 +0000 (13:32 +0000)]
- Goodbye __USE_W32API

svn path=/trunk/; revision=43236

10 years ago- Good bye __USE_W32API, _DISABLE_TIDENTS
Stefan Ginsberg [Wed, 30 Sep 2009 13:31:50 +0000 (13:31 +0000)]
- Good bye __USE_W32API, _DISABLE_TIDENTS

svn path=/trunk/; revision=43235

10 years ago- Remove the remaining __USE_W32API, deprecated for ages.
Stefan Ginsberg [Wed, 30 Sep 2009 13:28:51 +0000 (13:28 +0000)]
- Remove the remaining __USE_W32API, deprecated for ages.
- Remove _SEH_NO_NATIVE_NLG from msvcrt.rbuild, deprecated long ago.
- Get rid of __NO_CTYPE_INLINES for everything but host tools, deprecated since revision 38052.
- Deprecate and remove _DISABLE_TIDENTS.

svn path=/trunk/; revision=43234

10 years ago- simplify the code a bit
Kamil Hornicek [Wed, 30 Sep 2009 12:59:06 +0000 (12:59 +0000)]
- simplify the code a bit

svn path=/trunk/; revision=43233

10 years ago- add wglUseFontOutlines, wglUseFontBitmaps
Kamil Hornicek [Wed, 30 Sep 2009 12:12:56 +0000 (12:12 +0000)]
- add wglUseFontOutlines, wglUseFontBitmaps
- code ported (rearranged, simplified, fixed memory leaks, removed unneeded variables) from Mesa3D glDirect driver (c) SciTech Software, Inc
- more work needed but 3D text screen saver finally renders at least something

svn path=/trunk/; revision=43232

10 years ago- Store destination line in LineList
Johannes Anderwald [Wed, 30 Sep 2009 10:32:15 +0000 (10:32 +0000)]
- Store destination line in LineList
- Implement WdmAudGetLineInfo for MIXER_GETLINEINFOF_LINEID
- Add a hack for WdmAudGetLineControls for MIXER_GETLINECONTROLSF_ONEBYTYPE

svn path=/trunk/; revision=43231

10 years ago - Uncomment some SYN handling code
Cameron Gutman [Wed, 30 Sep 2009 03:44:44 +0000 (03:44 +0000)]
 - Uncomment some SYN handling code
 - Enable a ROS-specific hack because oskittcp doesn't know about all interfaces in the system
 - Small cleanup of code

svn path=/trunk/; revision=43230

10 years ago - Fix a nasty bug that caused us to exit the loop before sending all the data
Cameron Gutman [Wed, 30 Sep 2009 01:30:45 +0000 (01:30 +0000)]
 - Fix a nasty bug that caused us to exit the loop before sending all the data

svn path=/trunk/; revision=43229

10 years ago - Sync the ACK hack with the last oskit release
Cameron Gutman [Tue, 29 Sep 2009 23:14:21 +0000 (23:14 +0000)]
 - Sync the ACK hack with the last oskit release

svn path=/trunk/; revision=43228

10 years agoReapply r43141: Remove now unneeded ARC cdrom hack in NTLDR boot-style. We're now...
Hervé Poussineau [Tue, 29 Sep 2009 20:01:20 +0000 (20:01 +0000)]
Reapply r43141: Remove now unneeded ARC cdrom hack in NTLDR boot-style. We're now able to boot from a LiveCD, even if ReactOS directory is not "reactos"
Keep the existing hack for FreeLdr boot-style, which should be removed one day

svn path=/trunk/; revision=43227

10 years ago- Italian & english translation of ks.inf
Johannes Anderwald [Tue, 29 Sep 2009 18:03:41 +0000 (18:03 +0000)]
- Italian & english translation of ks.inf
- Patch by Gabriel Ilardi (gabriel_it)

svn path=/trunk/; revision=43226

10 years ago[fastfat_new]
Aleksey Bragin [Tue, 29 Sep 2009 13:09:16 +0000 (13:09 +0000)]
[fastfat_new]
- Add directory path parsing which tries to find existing FCBs for path names.
- Add a framework for creating DCBs during path dissection. Currently just prints out path names.
- Cleanup fcb.c, Alexey Vlasov's version was great, but it is a bit different from what I want to implement now.

svn path=/trunk/; revision=43225

10 years ago- Implement enumerating mixer source and destination lines
Johannes Anderwald [Tue, 29 Sep 2009 12:26:48 +0000 (12:26 +0000)]
- Implement enumerating mixer source and destination lines

svn path=/trunk/; revision=43224

10 years ago- Implement PcHandlePropertyWithTable
Johannes Anderwald [Tue, 29 Sep 2009 10:46:30 +0000 (10:46 +0000)]
- Implement PcHandlePropertyWithTable
- Use PcHandlePropertyWithTable to handle IOCTL_KS_PROPERTY requests
- Remove dead code

svn path=/trunk/; revision=43223

10 years ago[fastfat_new]
Aleksey Bragin [Tue, 29 Sep 2009 10:08:43 +0000 (10:08 +0000)]
[fastfat_new]
- Start integrating FullFAT library.
- Current state is that it's able to mount a FAT volume.

svn path=/trunk/; revision=43222

10 years ago[fullfat]
Aleksey Bragin [Tue, 29 Sep 2009 09:14:08 +0000 (09:14 +0000)]
[fullfat]
- Remove all malloc/free usage in the library and substitute them by user-provided FF_Malloc and FF_Free functions.
- Cleanup fullfat.rbuild.

svn path=/trunk/; revision=43221

10 years ago- Add GraphApp, Ext2 and X to the list of acknowledged projects.
James Tabor [Tue, 29 Sep 2009 04:01:30 +0000 (04:01 +0000)]
- Add GraphApp, Ext2 and X to the list of acknowledged projects.

svn path=/trunk/; revision=43220

10 years ago- Retrieve the correct pin name
Johannes Anderwald [Tue, 29 Sep 2009 00:25:05 +0000 (00:25 +0000)]
- Retrieve the correct pin name

svn path=/trunk/; revision=43219

10 years agoAdd 1152x864, 1280x1024, and 1600x1200 modes.
Dmitry Gorbachev [Mon, 28 Sep 2009 20:46:44 +0000 (20:46 +0000)]
Add 1152x864, 1280x1024, and 1600x1200 modes.

svn path=/trunk/; revision=43218

10 years agoFix some bugs.
Dmitry Gorbachev [Mon, 28 Sep 2009 20:46:30 +0000 (20:46 +0000)]
Fix some bugs.

svn path=/trunk/; revision=43217

10 years agoDo not copy those structures twice.
Dmitry Gorbachev [Mon, 28 Sep 2009 20:46:19 +0000 (20:46 +0000)]
Do not copy those structures twice.

svn path=/trunk/; revision=43216

10 years agoErm, thanks Timo...
Stefan Ginsberg [Mon, 28 Sep 2009 20:34:11 +0000 (20:34 +0000)]
Erm, thanks Timo...

svn path=/trunk/; revision=43215

10 years ago- Fix Winetests build after sddkver.h update (and why the hell isn't the build server...
Stefan Ginsberg [Mon, 28 Sep 2009 20:25:30 +0000 (20:25 +0000)]
- Fix Winetests build after sddkver.h update (and why the hell isn't the build server building the tests anymore???)

svn path=/trunk/; revision=43214

10 years ago- Thanks Stefan.
Aleksey Bragin [Mon, 28 Sep 2009 18:43:27 +0000 (18:43 +0000)]
- Thanks Stefan.

svn path=/trunk/; revision=43213

10 years ago- Import FullFAT and add it to build.
Aleksey Bragin [Mon, 28 Sep 2009 18:41:51 +0000 (18:41 +0000)]
- Import FullFAT and add it to build.

svn path=/trunk/; revision=43212

10 years agoCorrection to 36917: EPROFILE/KPROFILE.Segment is pointer sized, not a pointer.
Stefan Ginsberg [Mon, 28 Sep 2009 18:27:06 +0000 (18:27 +0000)]
Correction to 36917: EPROFILE/KPROFILE.Segment is pointer sized, not a pointer.

svn path=/trunk/; revision=43211

10 years ago- Add ks.inf
Johannes Anderwald [Mon, 28 Sep 2009 18:12:40 +0000 (18:12 +0000)]
- Add ks.inf
- ATM, only german is available, and is also the default

svn path=/trunk/; revision=43209

10 years ago[fastfat_new]
Aleksey Bragin [Mon, 28 Sep 2009 18:04:31 +0000 (18:04 +0000)]
[fastfat_new]
- Create root DCB when mounting a volume.

svn path=/trunk/; revision=43207

10 years ago- Comment fixes
Stefan Ginsberg [Mon, 28 Sep 2009 18:02:45 +0000 (18:02 +0000)]
- Comment fixes

svn path=/trunk/; revision=43206

10 years agoHey Arch, how do you expect kernel32 to build with Microsoft's headers if you define...
Stefan Ginsberg [Mon, 28 Sep 2009 17:45:23 +0000 (17:45 +0000)]
Hey Arch, how do you expect kernel32 to build with Microsoft's headers if you define a NTDDI_VERSION that conflicts with _WIN32_WINNT and makes sdkddkver.h cry? Remove the conflicting define from the .rbuild and redefine it in the header before including the NDK (this is needed because we need Vista types from the PSDK but require 2003 types from the NDK -- glorious, eh?).

Prepare sddkver.h for mingw-w64 import:
- Point out the fact that the header is in the public domain.
- Add some missing stuff, including a NTDDI_VERSION sanity check.
- Format fixes, add some comments

svn path=/trunk/; revision=43205

10 years ago- Implement KSPROPERTY_PIN_NAME properly
Johannes Anderwald [Mon, 28 Sep 2009 13:33:17 +0000 (13:33 +0000)]
- Implement KSPROPERTY_PIN_NAME properly
- KsPinPropertyHandler does *NOT* set Status in the IRP

svn path=/trunk/; revision=43204

10 years ago[fastfat_new]
Aleksey Bragin [Mon, 28 Sep 2009 11:02:34 +0000 (11:02 +0000)]
[fastfat_new]
- Add an internal routine for opening root DCB (a stub for now).
- Add code for checking if this is a relative or absolute open. Start implementing absolute opening part.

svn path=/trunk/; revision=43203

10 years ago[fastfat_new]
Aleksey Bragin [Mon, 28 Sep 2009 10:43:27 +0000 (10:43 +0000)]
[fastfat_new]
- Fix wrong comment in FatiCreate, spotted by Ged Murphy.
- Add some parameters validation to FatiCreate, and a check for volume open request.
- Add node types and a decoding routine.
- Implement VCB locking/unlocking.

svn path=/trunk/; revision=43202

10 years ago- Fix 2 bugs:
Johannes Anderwald [Mon, 28 Sep 2009 10:38:23 +0000 (10:38 +0000)]
- Fix 2 bugs:
- The Category member is LPGUID not GUID
- Check if there is a category member

svn path=/trunk/; revision=43201

10 years ago- Handle variable sized PCPIN_DESCRIPTORs
Johannes Anderwald [Mon, 28 Sep 2009 10:30:34 +0000 (10:30 +0000)]
- Handle variable sized PCPIN_DESCRIPTORs

svn path=/trunk/; revision=43200

10 years ago[fastfat_new]
Aleksey Bragin [Mon, 28 Sep 2009 09:49:16 +0000 (09:49 +0000)]
[fastfat_new]
- Start implementing one of the most massive IFS driver routines - IRP_MJ_CREATE handler. Right now it just does some preliminary work, deciphers all options, prepares all variables, prints out debug stuff.

svn path=/trunk/; revision=43199

10 years agobootvid.dll is in system32, not system32\drivers
Hervé Poussineau [Mon, 28 Sep 2009 09:36:02 +0000 (09:36 +0000)]
bootvid.dll is in system32, not system32\drivers

svn path=/trunk/; revision=43198

10 years agoFix debug message
Hervé Poussineau [Mon, 28 Sep 2009 09:30:27 +0000 (09:30 +0000)]
Fix debug message

svn path=/trunk/; revision=43197

10 years ago- Remove superfluous VOID casts from 42314.
Stefan Ginsberg [Sun, 27 Sep 2009 20:34:40 +0000 (20:34 +0000)]
- Remove superfluous VOID casts from 42314.

svn path=/trunk/; revision=43196

10 years ago- "Worked for me!"
Stefan Ginsberg [Sun, 27 Sep 2009 20:28:33 +0000 (20:28 +0000)]
- "Worked for me!"

svn path=/trunk/; revision=43195

10 years ago[fastfat_new]
Aleksey Bragin [Sun, 27 Sep 2009 20:24:22 +0000 (20:24 +0000)]
[fastfat_new]
- Acquire global lock before touching FatGlobalData structure.
- Initialize global VCB list, fixes a crash at volume mounting.
- Loading goes up to volume mounting, an attempt to query information and open a file.

svn path=/trunk/; revision=43194

10 years ago- Add more padding so our gcc compatible C_ASSERT doesn't conflict with ntoskrnl.h
Stefan Ginsberg [Sun, 27 Sep 2009 20:17:52 +0000 (20:17 +0000)]
- Add more padding so our gcc compatible C_ASSERT doesn't conflict with ntoskrnl.h

svn path=/trunk/; revision=43193

10 years ago- Use MAXUINT, MAXULONG, MAXDWORD, MAXULONGLONG and MAXULONGLONG instead of ~0 or...
Stefan Ginsberg [Sun, 27 Sep 2009 20:07:43 +0000 (20:07 +0000)]
- Use MAXUINT, MAXULONG, MAXDWORD, MAXULONGLONG and MAXULONGLONG instead of ~0 or casting -1 to unsigned.
- bintype.c: Use INVALID_SET_FILE_POINTER instead of (DWORD)-1.
- irp.c: KsGetNodeIdFromIrp returns KSFILTER_NODE (which is -1).
- basetsd.h: Add missing MAXUINT and MAXULONGLONG.
- typedefs.h: Add MAXULONG for mkhive.
- elf.inc.h and pe.c: Remove incorrect and unneeded MAXULONG define.

svn path=/trunk/; revision=43192

10 years agoSynched the UniATA Inf to the internal support list. Now ROS can detect all supported...
Daniel Reimer [Sun, 27 Sep 2009 14:21:47 +0000 (14:21 +0000)]
Synched the UniATA Inf to the internal support list. Now ROS can detect all supported SATA Controller even after 1st stage and properly shows them in the HW Wizard.

svn path=/trunk/; revision=43191

10 years agoremove BOM
Sylvain Petreolle [Sun, 27 Sep 2009 13:44:37 +0000 (13:44 +0000)]
remove BOM

svn path=/trunk/; revision=43190

10 years agoBug 4854: slovak updates by Mario Kacmar
Daniel Reimer [Sun, 27 Sep 2009 13:28:08 +0000 (13:28 +0000)]
Bug 4854: slovak updates by Mario Kacmar
Bug 4864: Bulgarian translation update for ReactOS.by CCTAHEB

svn path=/trunk/; revision=43189

10 years agoArch, why are you using Unicode BOM ?
Sylvain Petreolle [Sun, 27 Sep 2009 13:27:36 +0000 (13:27 +0000)]
Arch, why are you using Unicode BOM ?

svn path=/trunk/; revision=43188

10 years ago- Remove deprecated GCC 4.4 hack
Stefan Ginsberg [Sun, 27 Sep 2009 13:20:44 +0000 (13:20 +0000)]
- Remove deprecated GCC 4.4 hack

svn path=/trunk/; revision=43187

10 years ago- remove wgl* stubs added in r512, they don't belong here
Kamil Hornicek [Sun, 27 Sep 2009 12:41:16 +0000 (12:41 +0000)]
- remove wgl* stubs added in r512, they don't belong here

svn path=/trunk/; revision=43186

10 years agoSync WinFile to Wine 1.1.30
Daniel Reimer [Sun, 27 Sep 2009 12:09:24 +0000 (12:09 +0000)]
Sync WinFile to Wine 1.1.30

svn path=/trunk/; revision=43185

10 years agoSync xcopy, winhlp32 and wordpad to Wine 1.1.30
Daniel Reimer [Sun, 27 Sep 2009 12:09:18 +0000 (12:09 +0000)]
Sync xcopy, winhlp32 and wordpad to Wine 1.1.30

svn path=/trunk/; revision=43184

10 years agoFix undefined behavior, already fixed in Wine.
Dmitry Gorbachev [Sun, 27 Sep 2009 11:56:35 +0000 (11:56 +0000)]
Fix undefined behavior, already fixed in Wine.

svn path=/trunk/; revision=43183

10 years agoKill goto, avoid compiler warnings.
Dmitry Gorbachev [Sun, 27 Sep 2009 11:56:16 +0000 (11:56 +0000)]
Kill goto, avoid compiler warnings.

svn path=/trunk/; revision=43182

10 years agoGive a name to a structure.
Dmitry Gorbachev [Sun, 27 Sep 2009 11:55:47 +0000 (11:55 +0000)]
Give a name to a structure.

svn path=/trunk/; revision=43181

10 years ago- Change CPUID to match the old Ki386Cpuid and take 4 output arguments instead of...
Stefan Ginsberg [Sun, 27 Sep 2009 10:09:38 +0000 (10:09 +0000)]
- Change CPUID to match the old Ki386Cpuid and take 4 output arguments instead of an array. This way we save some stack when using a dummy cpuid for synchronization and can query only the registers we want in the case we don't want all 4.
- Simplify Ke386GetTr and Ke386GetLocalDescriptorTable to return by value instead of reference.
- Make RDMSR smaller by making it fastcall as rdmsr takes its argument in ecx.
- Fix KiGetCacheInformation -- it only handled the Intel and AMD case.
- Replace Ke386HaltProcessor with __halt.
- KiHaltProcessorDpcRoutine: Always halt the processor for the architectures we support for consistency.
- Clean up x86 and PPC headers from deprecated stuff.
- Fix broken LOCK undefine in v86m_sup.S -- LOCK is used both in a macro and the code, so only undefine it where required and redefine it after it is used (this worked because LOCK was interpreted as lock).

Get rid of KeArch*:
- Rename KeArchInitThreadWithContext to KiInitializeContextThread and use the same name for all architectures.
- Kill KeArchHaltProcessor. Use __halt and KeArmHaltProcessor directly instead.
- Use Ke386FnInit instead of KeArchFnInit -- it is only used for x86.

svn path=/trunk/; revision=43180

10 years ago[uniata]
Aleksey Bragin [Sun, 27 Sep 2009 10:04:21 +0000 (10:04 +0000)]
[uniata]
- Revert most of the 41684: "-fix support for ICH7,ICH7M,ICH8,ICH8M,ICH9,ICH9R,ICH9M and ICH10 in compat mode". Those controllers should be supported now, and when set to compat mode the driver falls back to UDMA automatically.
- ICH7 real hw testing is required. ICH9 doesn't work in Enhanced mode, works in Compat mode.

svn path=/trunk/; revision=43179

10 years ago- Add a few nodetypes
Johannes Anderwald [Sun, 27 Sep 2009 09:56:14 +0000 (09:56 +0000)]
- Add a few nodetypes

svn path=/trunk/; revision=43178

10 years ago- Add more supported ICH/PCH ids, confirmed by bearwindows.
Aleksey Bragin [Sun, 27 Sep 2009 09:26:59 +0000 (09:26 +0000)]
- Add more supported ICH/PCH ids, confirmed by bearwindows.

svn path=/trunk/; revision=43177

10 years ago- [NtDDraw]
James Tabor [Sun, 27 Sep 2009 03:12:02 +0000 (03:12 +0000)]
- [NtDDraw]
- Export global DD context size. Create a container for both PDev and EDDG structures. When allocating PDev and add the DD context size if not zero.

svn path=/trunk/; revision=43176

10 years ago- Rewrite registering physical connection handling to support KSPROPERTY_PIN_PHYSICAL...
Johannes Anderwald [Sun, 27 Sep 2009 00:50:06 +0000 (00:50 +0000)]
- Rewrite registering physical connection handling to support KSPROPERTY_PIN_PHYSICALCONNECTION

svn path=/trunk/; revision=43175

10 years agoAdd rbuild files for x64 build. Dedicated to encoded.
Timo Kreuzer [Sat, 26 Sep 2009 21:52:00 +0000 (21:52 +0000)]
Add rbuild files for x64 build. Dedicated to encoded.

svn path=/trunk/; revision=43174

10 years agoMerge HAL changes 34743, 34812, 34839, 34917, 35515, 35771, 35902, 35904,
Timo Kreuzer [Sat, 26 Sep 2009 21:32:53 +0000 (21:32 +0000)]
Merge HAL changes 34743, 34812, 34839, 34917, 35515, 35771, 35902, 35904,
35905, 35906, 35942, 35947, 35948, 35949, 35953, 36013, 36388, 36389, 36570, 37873, 37991, 39151 from amd64 branch

svn path=/trunk/; revision=43173

10 years ago- Add macros
Johannes Anderwald [Sat, 26 Sep 2009 20:19:28 +0000 (20:19 +0000)]
- Add macros

svn path=/trunk/; revision=43172