reactos.git
11 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

11 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

11 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

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

svn path=/trunk/; revision=43206

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

svn path=/trunk/; revision=43190

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

svn path=/trunk/; revision=43172

11 years agoDon't add quick launch icon copies after showing a context menu
Gregor Schneider [Sat, 26 Sep 2009 19:24:39 +0000 (19:24 +0000)]
Don't add quick launch icon copies after showing a context menu
See issue #2453 for more details.

svn path=/trunk/; revision=43170

11 years ago- Import Breton, Romansh, and Welsh NLS files from Wine.
Dmitry Gorbachev [Sat, 26 Sep 2009 17:37:25 +0000 (17:37 +0000)]
- Import Breton, Romansh, and Welsh NLS files from Wine.
- Sync locale RC files.
- Move language-specific stuff to more visible to translators place. ;)

svn path=/trunk/; revision=43169

11 years agoFix one of the most awesome "_MSC_VER means compiling with Microsoft's header set...
Stefan Ginsberg [Sat, 26 Sep 2009 15:42:34 +0000 (15:42 +0000)]
Fix one of the most awesome "_MSC_VER means compiling with Microsoft's header set" assumptions, revision 30728. Instead of breaking linking for user mode CRT to hide header incompatibilities we now use a less exciting solution; do not include the incompatible headers when implementing the affected functions -- abs.c and labs.c don't need anything at all, and strset.c only needs size_t, so define it there.

svn path=/trunk/; revision=43168

11 years ago- HAL: Make /W3 friendly
Stefan Ginsberg [Sat, 26 Sep 2009 13:41:57 +0000 (13:41 +0000)]
- HAL: Make /W3 friendly
- Everywhere else: Use casts instead of -1U to fix C4146 (this is compatible with both compilers)

svn path=/trunk/; revision=43167

11 years ago- sync d3d8, d3d9, ddraw, wined3d with Wine 1.1.30
Kamil Hornicek [Sat, 26 Sep 2009 11:13:40 +0000 (11:13 +0000)]
- sync d3d8, d3d9, ddraw, wined3d with Wine 1.1.30

svn path=/trunk/; revision=43166

11 years ago- Sync winhlp32 with Wine 1.1.30
Dmitry Chapyshev [Sat, 26 Sep 2009 10:49:56 +0000 (10:49 +0000)]
- Sync winhlp32 with Wine 1.1.30

svn path=/trunk/; revision=43165

11 years ago- Fix building of tests
Dmitry Chapyshev [Sat, 26 Sep 2009 10:49:05 +0000 (10:49 +0000)]
- Fix building of tests

svn path=/trunk/; revision=43164

11 years ago- Sync shlwapi, msxml3 and windowscodecs with Wine 1.1.30
Dmitry Chapyshev [Sat, 26 Sep 2009 10:48:07 +0000 (10:48 +0000)]
- Sync shlwapi, msxml3 and windowscodecs with Wine 1.1.30

svn path=/trunk/; revision=43163

11 years ago- Sync crypt32 with Wine 1.1.30
Dmitry Chapyshev [Sat, 26 Sep 2009 10:46:37 +0000 (10:46 +0000)]
- Sync crypt32 with Wine 1.1.30

svn path=/trunk/; revision=43162

11 years ago- Sync comctl32/comdlg32 with Wine 1.1.30
Dmitry Chapyshev [Sat, 26 Sep 2009 10:45:59 +0000 (10:45 +0000)]
- Sync comctl32/comdlg32 with Wine 1.1.30

svn path=/trunk/; revision=43161

11 years ago- Sync headers with Wine 1.1.30
Dmitry Chapyshev [Sat, 26 Sep 2009 10:45:05 +0000 (10:45 +0000)]
- Sync headers with Wine 1.1.30

svn path=/trunk/; revision=43160

11 years ago - Don't modify the size for now until I figure out where the incorrect code is
Cameron Gutman [Sat, 26 Sep 2009 06:50:06 +0000 (06:50 +0000)]
 - Don't modify the size for now until I figure out where the incorrect code is

svn path=/trunk/; revision=43159

11 years ago- Ilya Shpigor: User32: Skip STM_SETIMAGE message if the static control style does...
James Tabor [Sat, 26 Sep 2009 05:36:10 +0000 (05:36 +0000)]
- Ilya Shpigor: User32: Skip STM_SETIMAGE message if the static control style does not match.
- Enable EnhMeta functions.

svn path=/trunk/; revision=43158

11 years ago- Alexandre Julliard : kernel32: Cope with an empty resource section in UpdateResource.
James Tabor [Sat, 26 Sep 2009 05:25:52 +0000 (05:25 +0000)]
- Alexandre Julliard : kernel32: Cope with an empty resource section in UpdateResource.
- Wine Bug 19783 : http://bugs.winehq.org/show_bug.cgi?id=19783

svn path=/trunk/; revision=43157

11 years ago - Add debug prints in failure cases
Cameron Gutman [Sat, 26 Sep 2009 01:05:45 +0000 (01:05 +0000)]
 - Add debug prints in failure cases
 - Replace 0 with NO_ERROR

svn path=/trunk/; revision=43156

11 years ago- Enable building a bootcd
Johannes Anderwald [Sat, 26 Sep 2009 00:57:22 +0000 (00:57 +0000)]
- Enable building a bootcd

svn path=/trunk/; revision=43155

11 years ago - We want socket closure notification so we don't leak our socket context when the...
Cameron Gutman [Fri, 25 Sep 2009 23:44:51 +0000 (23:44 +0000)]
 - We want socket closure notification so we don't leak our socket context when the socket is destroyed
 - Free socket context in WSHNotify

svn path=/trunk/; revision=43154

11 years ago - Fix implementation of WSHGetWildcardSockaddr
Cameron Gutman [Fri, 25 Sep 2009 23:27:44 +0000 (23:27 +0000)]
 - Fix implementation of WSHGetWildcardSockaddr
 - Implement WSHGetBroadcastSockaddr

svn path=/trunk/; revision=43153

11 years ago - Fix parameter checking in WSHGetSockaddrType
Cameron Gutman [Fri, 25 Sep 2009 21:46:18 +0000 (21:46 +0000)]
 - Fix parameter checking in WSHGetSockaddrType
 - Implement WSHGetWinsockMapping

svn path=/trunk/; revision=43152

11 years ago[WDMAUD.DRV]
Johannes Anderwald [Fri, 25 Sep 2009 18:06:13 +0000 (18:06 +0000)]
[WDMAUD.DRV]
- Forward mixer control requests to wdmaud driver
[MMEBUDDY]
- Handle MXDM_GETCONTROLDETAILS, MXDM_SETCONTROLDETAILS, MXDM_GETLINECONTROLS, MXDM_GETLINEINFO
[WDMAUD_KERNEL]
- Add stubs for mixer api

svn path=/trunk/; revision=43147

11 years ago[KS]
Johannes Anderwald [Fri, 25 Sep 2009 17:26:33 +0000 (17:26 +0000)]
[KS]
- Silent debug traces
- Try fix 'Assertion 'WorkItem->List.Flink == NULL' failed at ntoskrnl\ex\work.c'

svn path=/trunk/; revision=43146

11 years agoRevert r43141 to try to fix ReactOS boot style...
Hervé Poussineau [Fri, 25 Sep 2009 15:10:28 +0000 (15:10 +0000)]
Revert r43141 to try to fix ReactOS boot style...

svn path=/trunk/; revision=43145

11 years ago - Fix a bug which causes port 0 to be classified as reserved instead of wildcard
Cameron Gutman [Fri, 25 Sep 2009 13:39:36 +0000 (13:39 +0000)]
 - Fix a bug which causes port 0 to be classified as reserved instead of wildcard

svn path=/trunk/; revision=43144

11 years ago[winldr]
Aleksey Bragin [Fri, 25 Sep 2009 13:03:42 +0000 (13:03 +0000)]
[winldr]
- Fix release build.

svn path=/trunk/; revision=43143

11 years ago[winldr]
Aleksey Bragin [Fri, 25 Sep 2009 09:28:37 +0000 (09:28 +0000)]
[winldr]
- Load and use debug boot options if built with DBG (mimics old reactos setupldr behaviour).

svn path=/trunk/; revision=43142

11 years agoRemove now unneeded ARC cdrom hack. We're now able to boot from a LiveCD, even if...
Hervé Poussineau [Thu, 24 Sep 2009 22:05:10 +0000 (22:05 +0000)]
Remove now unneeded ARC cdrom hack. We're now able to boot from a LiveCD, even if ReactOS directory is not "reactos"

svn path=/trunk/; revision=43141

11 years ago[freeldr] Put cdrom information in block list information
Hervé Poussineau [Thu, 24 Sep 2009 21:29:31 +0000 (21:29 +0000)]
[freeldr] Put cdrom information in block list information

svn path=/trunk/; revision=43140

11 years ago- Fix derefercing of null pointer
Johannes Anderwald [Thu, 24 Sep 2009 20:32:31 +0000 (20:32 +0000)]
- Fix derefercing of null pointer
- Brought to you by Amine Khaldi (amine48rz)

svn path=/trunk/; revision=43139

11 years ago[WDMAUD.DRV]
Johannes Anderwald [Thu, 24 Sep 2009 19:24:22 +0000 (19:24 +0000)]
[WDMAUD.DRV]
- Implement copying mixer capabilities
[WDMAUD_KERNEL]
- Partly implement retrieving mixer capabilties
- Implement retrieving mixer name

svn path=/trunk/; revision=43138

11 years ago[WDMAUD.DRV]
Johannes Anderwald [Thu, 24 Sep 2009 18:11:22 +0000 (18:11 +0000)]
[WDMAUD.DRV]
- Implement opening / closing of mixer devices
[AUDIO_TEST]
- Add DirectKs sample test function
[WDMAUD_KERNEL]
- Use KSSTREAM header of the changed interface

svn path=/trunk/; revision=43133

11 years ago- msctf: Define function calling convention compatibly for MSVC. Patch sent to and...
Stefan Ginsberg [Thu, 24 Sep 2009 18:01:03 +0000 (18:01 +0000)]
- msctf: Define function calling convention compatibly for MSVC. Patch sent to and accepted by Wine.

svn path=/trunk/; revision=43132

11 years ago- handle WGL_SWAP_MAIN_PLANE flag in rosglSwapLayerBuffers
Kamil Hornicek [Thu, 24 Sep 2009 16:35:20 +0000 (16:35 +0000)]
- handle WGL_SWAP_MAIN_PLANE flag in rosglSwapLayerBuffers

svn path=/trunk/; revision=43131

11 years ago- Implement CPortFilterWaveCyclic::FastDeviceIoControl
Johannes Anderwald [Thu, 24 Sep 2009 15:07:29 +0000 (15:07 +0000)]
- Implement CPortFilterWaveCyclic::FastDeviceIoControl

svn path=/trunk/; revision=43130

11 years ago- Rewrite mixer enumeration functions
Johannes Anderwald [Thu, 24 Sep 2009 14:54:58 +0000 (14:54 +0000)]
- Rewrite mixer enumeration functions
- WDMAUD should reports a mixer device each time it sees a KSNODETYPE_ADC / KSNODETYPE_DAC

svn path=/trunk/; revision=43129

11 years agoPut bootvid.dll in system32 directory
Hervé Poussineau [Thu, 24 Sep 2009 11:58:06 +0000 (11:58 +0000)]
Put bootvid.dll in system32 directory

svn path=/trunk/; revision=43127

11 years agoWINLDR: Don't hardcode filesystem driver name
Hervé Poussineau [Thu, 24 Sep 2009 08:15:13 +0000 (08:15 +0000)]
WINLDR: Don't hardcode filesystem driver name
Instead, use the one of the system partition

svn path=/trunk/; revision=43126

11 years agoPartly unregress Xbox 1 port. It now fails with INACCESSIBLE_BOOT_DEVICE bugcheck
Hervé Poussineau [Wed, 23 Sep 2009 20:59:08 +0000 (20:59 +0000)]
Partly unregress Xbox 1 port. It now fails with INACCESSIBLE_BOOT_DEVICE bugcheck

svn path=/trunk/; revision=43124

11 years ago[freeldr] Partition numbers are 1 based
Hervé Poussineau [Wed, 23 Sep 2009 19:07:49 +0000 (19:07 +0000)]
[freeldr] Partition numbers are 1 based

svn path=/trunk/; revision=43123

11 years agoUpdate log2lines to version 1.1. Patch by Jan Roeloffzen. Bug #4342.
Dmitry Gorbachev [Wed, 23 Sep 2009 10:33:11 +0000 (10:33 +0000)]
Update log2lines to version 1.1. Patch by Jan Roeloffzen. Bug #4342.

svn path=/trunk/; revision=43122

11 years ago - Comment out RegNotifyChangeKeyValue call until it gets implemented
Cameron Gutman [Wed, 23 Sep 2009 01:17:14 +0000 (01:17 +0000)]
 - Comment out RegNotifyChangeKeyValue call until it gets implemented
 - WSAStartup succeeds now

svn path=/trunk/; revision=43121

11 years agoAllocate a TLS slot once at process join and treat TlsIndex as an alias to it.
Art Yerkes [Wed, 23 Sep 2009 00:45:19 +0000 (00:45 +0000)]
Allocate a TLS slot once at process join and treat TlsIndex as an alias to it.

svn path=/trunk/; revision=43120

11 years ago[win32k]
Aleksey Bragin [Tue, 22 Sep 2009 21:50:33 +0000 (21:50 +0000)]
[win32k]
- Giannis Adamopoulos: Don't do callbacks to usermode when holding the lock. Fixes the famous "VMWare video driver installer 2nd stage hang" bug. Signed off by James Tabor.
See issue #2666 for more details.

svn path=/trunk/; revision=43119

11 years ago- Get rid of the KDB_MODULE_INFO and operate with LDR_DATA_TABLE_ENTRYs directly.
Colin Finck [Tue, 22 Sep 2009 21:31:55 +0000 (21:31 +0000)]
- Get rid of the KDB_MODULE_INFO and operate with LDR_DATA_TABLE_ENTRYs directly.
  This saves us from some copy steps and unneeded search operations.
- Fix loading HAL.DLL symbols.
  This module is not guaranteed to be the second one in PsLoadedModuleList due to the kernel loading bootvid.dll.
- Don't duplicate code in KdbpSymFindModule and KdbpSymFindUserModule. Use a helper function instead and call it twice from KdbpSymFindModule.
- Get rid of KdbpSymFindModuleByAddress, KdbpSymFindModuleByName and KdbpSymFindModuleByIndex. Instead use a single KdbpSymFindModule for all three variants.
- Remove some unused functions and defines.

svn path=/trunk/; revision=43118

11 years ago[freeldr] Never ever define a macro as multiple instructions. It may lead to subtle...
Hervé Poussineau [Tue, 22 Sep 2009 20:33:56 +0000 (20:33 +0000)]
[freeldr] Never ever define a macro as multiple instructions. It may lead to subtle bugs

svn path=/trunk/; revision=43117

11 years ago- Fix memory leak
Johannes Anderwald [Tue, 22 Sep 2009 20:09:11 +0000 (20:09 +0000)]
- Fix memory leak
- Fix displaying of random characters if there is no device name

svn path=/trunk/; revision=43116

11 years ago[freeldr] Rework NTFS filesystem to not be tied to boot filesystem
Hervé Poussineau [Tue, 22 Sep 2009 19:37:11 +0000 (19:37 +0000)]
[freeldr] Rework NTFS filesystem to not be tied to boot filesystem

svn path=/trunk/; revision=43115

11 years ago[freeldr] Move definition of maximum number of available file descriptors to fs.h
Hervé Poussineau [Tue, 22 Sep 2009 19:33:34 +0000 (19:33 +0000)]
[freeldr] Move definition of maximum number of available file descriptors to fs.h
Fix typos

svn path=/trunk/; revision=43114

11 years ago[freeldr] Accept to read blocks whose size is not a multiple of device sector size
Hervé Poussineau [Tue, 22 Sep 2009 19:32:35 +0000 (19:32 +0000)]
[freeldr] Accept to read blocks whose size is not a multiple of device sector size

svn path=/trunk/; revision=43113

11 years ago- Partly implement IBandSite, IMenuBand
Johannes Anderwald [Tue, 22 Sep 2009 18:30:39 +0000 (18:30 +0000)]
- Partly implement IBandSite, IMenuBand

svn path=/trunk/; revision=43112

11 years ago- Fix a bug spotted by Timo
Johannes Anderwald [Tue, 22 Sep 2009 13:54:33 +0000 (13:54 +0000)]
- Fix a bug spotted by Timo

svn path=/trunk/; revision=43111

11 years ago- Stubplement IBandSite interface
Johannes Anderwald [Tue, 22 Sep 2009 13:52:54 +0000 (13:52 +0000)]
- Stubplement IBandSite interface

svn path=/trunk/; revision=43110

11 years ago- don't return false on success
Kamil Hornicek [Tue, 22 Sep 2009 10:29:27 +0000 (10:29 +0000)]
- don't return false on success

svn path=/trunk/; revision=43109

11 years ago- Use __writeeflags instead of clc to clear the carry flag.
Stefan Ginsberg [Mon, 21 Sep 2009 22:08:44 +0000 (22:08 +0000)]
- Use __writeeflags instead of clc to clear the carry flag.

svn path=/trunk/; revision=43108

11 years ago- Fix up-down control spinning
Johannes Anderwald [Mon, 21 Sep 2009 19:31:19 +0000 (19:31 +0000)]
- Fix up-down control spinning

See issue #3390 for more details.

svn path=/trunk/; revision=43107

11 years ago- Fix playing global thermo nuclear war in ReactOS
Johannes Anderwald [Mon, 21 Sep 2009 18:11:52 +0000 (18:11 +0000)]
- Fix playing global thermo nuclear war in ReactOS
- Found by encoded

svn path=/trunk/; revision=43105

11 years ago- Add the missing Result return pointed out by Michael Martin.
James Tabor [Mon, 21 Sep 2009 17:29:26 +0000 (17:29 +0000)]
- Add the missing Result return pointed out by Michael Martin.

svn path=/trunk/; revision=43104

11 years agoMega compiler intrinsics patch:
Stefan Ginsberg [Mon, 21 Sep 2009 15:20:18 +0000 (15:20 +0000)]
Mega compiler intrinsics patch:

FreeLdr
- Goodbye Ke386EraseFlags & KeAmd64EraseFlags. Welcome __writeeflags.
- Respect MSVC when generating clc (clear carry flag) instruction in PcGetTime.
- Use portable __wbinvd instead of __asm__ in XboxMemInit.
- Replace broken gcc assembly by portable intrinsics in WinLdrpMapApic.
- Use portable Ke386SetSs and Ke386SetGs (new) in WinLdrSetProcessorContext.
- The far jump in WinLdrSetProcessorContext can not be expressed in masm, so we use a (untested) far return instead.

Kernel
- Replace Ke386Set/GetInterruptDescriptorTable, Ke386Save/RestoreFlags, Ke386Set/GetDr, Ki386Cpuid, Ke386Rdmsr and Ke386Wrmsr by MSVC alternatives present in intrin.h.
- Fixed Ke386Get/SetGlobalDescriptorTable, Ke386GetLocalDescriptorTable and Ke386GetTr -- the intrinsics were completely broken for MSVC and generated bogus code. Moreover, Ke386Set/GetInterruptDescriptorTable and Ke386Rdmsr were also affected. This lets us (in addition to having a bootable, working msvc compiled kernel) get rid of several hacky variable zero-initializations that hid this bug -- the way MSVC interpreted the inlined assembly resulted in uninitialized variable usage.
- Implement Ke386SetGs and add missing Ke386SetGs for gcc.
- KdPollBreakIn: Use portable KeDisableInterrupts instead of x86 intrinsics and flags.

svn path=/trunk/; revision=43103

11 years agoLogfWriteData: Add missing LeaveCriticalSection before returning from function. Found...
Michael Martin [Mon, 21 Sep 2009 12:49:25 +0000 (12:49 +0000)]
LogfWriteData: Add missing LeaveCriticalSection before returning from function. Found by Amine Khaldi

svn path=/trunk/; revision=43102

11 years ago- Working with Michael Martin to fix the LoadMenu callback bug. MenuName is a variabl...
James Tabor [Mon, 21 Sep 2009 01:22:32 +0000 (01:22 +0000)]
- Working with Michael Martin to fix the LoadMenu callback bug. MenuName is a variable string buffer and not a pointer. The minimum size is always four bytes. Initialization of the structure, zero out the memory, allowing Intersource check to function as it should. To make it Intersource, use the first word character in the buffer.

svn path=/trunk/; revision=43101

11 years ago - Stub and export GetAddrInfoW
Cameron Gutman [Sun, 20 Sep 2009 22:20:16 +0000 (22:20 +0000)]
 - Stub and export GetAddrInfoW

svn path=/trunk/; revision=43100

11 years ago - Simplify and fix a few bugs in datagram reassembly
Cameron Gutman [Sun, 20 Sep 2009 21:07:45 +0000 (21:07 +0000)]
 - Simplify and fix a few bugs in datagram reassembly
 - Implement reassembly timeout

svn path=/trunk/; revision=43099

11 years agoUpdate / add Japanese translations. Tomoya Kitagawa, bug #4852.
Dmitry Gorbachev [Sun, 20 Sep 2009 19:35:23 +0000 (19:35 +0000)]
Update / add Japanese translations. Tomoya Kitagawa, bug #4852.

svn path=/trunk/; revision=43098