reactos.git
13 years agoBring back ext2 code from branch
Hervé Poussineau [Mon, 11 Feb 2008 12:10:35 +0000 (12:10 +0000)]
Bring back ext2 code from branch
It does not compile yet

svn path=/trunk/; revision=32283

13 years agoDeleted ext2 driver
Pierre Schweitzer [Mon, 11 Feb 2008 11:29:54 +0000 (11:29 +0000)]
Deleted ext2 driver
Another one will be merged

svn path=/trunk/; revision=32282

13 years agoUse Rule class to generate instructions for .idl files
Hervé Poussineau [Mon, 11 Feb 2008 10:55:33 +0000 (10:55 +0000)]
Use Rule class to generate instructions for .idl files

svn path=/trunk/; revision=32281

13 years agotranslate some GreatLordish comments into something more similar to English
Christoph von Wittich [Sun, 10 Feb 2008 20:45:56 +0000 (20:45 +0000)]
translate some GreatLordish comments into something more similar to English

svn path=/trunk/; revision=32279

13 years ago- Revert 32276, since the include guard convention has been changed by 32274.
Aleksey Bragin [Sun, 10 Feb 2008 20:09:06 +0000 (20:09 +0000)]
- Revert 32276, since the include guard convention has been changed by 32274.

svn path=/trunk/; revision=32277

13 years agofix unknown.h back as it was
Magnus Olsen [Sun, 10 Feb 2008 20:02:26 +0000 (20:02 +0000)]
fix unknown.h back as it was
correct fix is to fix ksfilter

svn path=/trunk/; revision=32276

13 years agoTry to fix build
Hervé Poussineau [Sun, 10 Feb 2008 20:00:45 +0000 (20:00 +0000)]
Try to fix build

svn path=/trunk/; revision=32275

13 years agoUse the same include guard in WIDL generated files and MIDL generated files
Hervé Poussineau [Sun, 10 Feb 2008 19:47:42 +0000 (19:47 +0000)]
Use the same include guard in WIDL generated files and MIDL generated files

svn path=/trunk/; revision=32274

13 years agoRevert r32271 ; I thought we decided to remove hacks instead of adding new ones!
Hervé Poussineau [Sun, 10 Feb 2008 19:43:05 +0000 (19:43 +0000)]
Revert r32271 ; I thought we decided to remove hacks instead of adding new ones!
Correct fix will follow.

svn path=/trunk/; revision=32273

13 years agoremove my hack in wtype.ldl I should not coding when i start fall into sleep
Magnus Olsen [Sun, 10 Feb 2008 19:40:36 +0000 (19:40 +0000)]
remove my hack in wtype.ldl I should not coding when i start fall into sleep
sorry and thx fireball

svn path=/trunk/; revision=32272

13 years agosome case psdk unknown.h being include when it should be ddk version
Magnus Olsen [Sun, 10 Feb 2008 19:25:42 +0000 (19:25 +0000)]
some case psdk unknown.h being include when it should be ddk version
for now we do not double inlcude the ddk version for ksfilter.

svn path=/trunk/; revision=32271

13 years agoFix a comptaible issue with dxsdk and vc, our dxsdk want the name #define __wtypes_h...
Magnus Olsen [Sun, 10 Feb 2008 18:35:20 +0000 (18:35 +0000)]
Fix a comptaible issue with dxsdk and vc, our dxsdk want the name  #define __wtypes_h__  (same as windows psdk)
this fix a comptiable issue with vc as well, wine ldl can not name a idl correct so I hardcode in this name

svn path=/trunk/; revision=32269

13 years agoSimplify SetupDiSetDeviceRegistryPropertyW/SetupDiGetDeviceRegistryPropertyW
Hervé Poussineau [Sun, 10 Feb 2008 14:37:19 +0000 (14:37 +0000)]
Simplify SetupDiSetDeviceRegistryPropertyW/SetupDiGetDeviceRegistryPropertyW
Misc cleanup

svn path=/trunk/; revision=32265

13 years ago- Update winesync status.
Aleksey Bragin [Sun, 10 Feb 2008 13:52:47 +0000 (13:52 +0000)]
- Update winesync status.

svn path=/trunk/; revision=32264

13 years agoWinesync to Wine-0.9.55.
Aleksey Bragin [Sun, 10 Feb 2008 13:51:59 +0000 (13:51 +0000)]
Winesync to Wine-0.9.55.

svn path=/trunk/; revision=32263

13 years agoWinesync to Wine-0.9.55.
Aleksey Bragin [Sun, 10 Feb 2008 13:22:36 +0000 (13:22 +0000)]
Winesync to Wine-0.9.55.

svn path=/trunk/; revision=32262

13 years agoWinesync to Wine-0.9.55.
Aleksey Bragin [Sun, 10 Feb 2008 13:16:32 +0000 (13:16 +0000)]
Winesync to Wine-0.9.55.

svn path=/trunk/; revision=32261

13 years ago- Fix a leakage during DC deletion (introduced in revision 773), spotted by Samuel...
Aleksey Bragin [Sun, 10 Feb 2008 13:06:53 +0000 (13:06 +0000)]
- Fix a leakage during DC deletion (introduced in revision 773), spotted by Samuel Serapion.

svn path=/trunk/; revision=32260

13 years ago- Add LSTATUS definition.
Aleksey Bragin [Sun, 10 Feb 2008 13:00:31 +0000 (13:00 +0000)]
- Add LSTATUS definition.

svn path=/trunk/; revision=32259

13 years ago- Winesync to Wine-0.9.55.
Aleksey Bragin [Sun, 10 Feb 2008 12:33:16 +0000 (12:33 +0000)]
- Winesync to Wine-0.9.55.

svn path=/trunk/; revision=32257

13 years agoWinesync to Wine-0.9.55.
Aleksey Bragin [Sun, 10 Feb 2008 12:26:59 +0000 (12:26 +0000)]
Winesync to Wine-0.9.55.

svn path=/trunk/; revision=32256

13 years agoWinesync to Wine-0.9.55.
Aleksey Bragin [Sun, 10 Feb 2008 12:17:32 +0000 (12:17 +0000)]
Winesync to Wine-0.9.55.

svn path=/trunk/; revision=32255

13 years ago- Mark WIDL as updated.
Aleksey Bragin [Sun, 10 Feb 2008 12:00:21 +0000 (12:00 +0000)]
- Mark WIDL as updated.

svn path=/trunk/; revision=32254

13 years agoNTFS driver improvments :
Pierre Schweitzer [Sun, 10 Feb 2008 11:20:29 +0000 (11:20 +0000)]
NTFS driver improvments :
- Implemented NtfsFsdDispatch to dispatch some IO requests (use it with implemented functions that need it)
- Implemented NtfsIsIrpTopLevel (From Rajeev Nagar), NtfsAllocateIrpContext
- Added more checks
- Renamed functions that are called by IO to NtfsFsd* (similar to Windows NTFS driver)
- Use NTAPI instead of STDCALL to have MSVC compatibility, thanks to Hervé
- Reorganized functions order with increasing index
- Updated files headers

svn path=/trunk/; revision=32253

13 years agoSync to Wine-0.9.55:
Aleksey Bragin [Sun, 10 Feb 2008 10:10:44 +0000 (10:10 +0000)]
Sync to Wine-0.9.55:

- Rob Shearman <rob@codeweavers.com> Sun, 20 Jan 2008
widl: Write out code for initialising out-only client context handles.

- Francois Gouget <fgouget@free.fr> Wed, 23 Jan 2008
Assorted spelling fixes.

- Jacek Caban <jacek@codeweavers.com> Tue, 29 Jan 2008
widl: Ignore ATTR_LOCAL in create_msft_typeinfo.

- Rob Shearman <rob@codeweavers.com> Wed, 30 Jan 2008
widl: Don't search for a import file name with a path in the include directories for compatibility with MIDL.

- Rob Shearman <rob@codeweavers.com> Wed, 30 Jan 2008
widl: Output code for initialising and freeing full pointer translation tables.

- Colin Finck <mail@colinfinck.de> Thu, 7 Feb 2008
widl: Support Windows paths in dup_basename and make_token.

- Colin Finck <mail@colinfinck.de> Thu, 7 Feb 2008
widl: Write the TLB file in binary mode, so the line endings won't be changed.

svn path=/trunk/; revision=32252

13 years agoFixed a typo
Gregor Brunmar [Sun, 10 Feb 2008 09:08:50 +0000 (09:08 +0000)]
Fixed a typo

svn path=/trunk/; revision=32251

13 years ago* Fixed a comment typo
Gregor Brunmar [Sun, 10 Feb 2008 08:54:25 +0000 (08:54 +0000)]
* Fixed a comment typo

svn path=/trunk/; revision=32250

13 years agoImplemented IDirect3D9::GetAdapterModeCount() and IDirect3D9::EnumAdapterModes().
Gregor Brunmar [Sun, 10 Feb 2008 08:44:06 +0000 (08:44 +0000)]
Implemented IDirect3D9::GetAdapterModeCount() and IDirect3D9::EnumAdapterModes().

svn path=/trunk/; revision=32249

13 years ago* Made it possible to include both d3d9types.h and ddrawgdi.h at the same time
Gregor Brunmar [Sun, 10 Feb 2008 07:30:27 +0000 (07:30 +0000)]
* Made it possible to include both d3d9types.h and ddrawgdi.h at the same time

svn path=/trunk/; revision=32248

13 years agofix a mem leak in win32k bitmap code
Timo Kreuzer [Sun, 10 Feb 2008 02:33:11 +0000 (02:33 +0000)]
fix a mem leak in win32k bitmap code

svn path=/trunk/; revision=32247

13 years agoBug 3047: USetup and Desk recent translation update (polish locale) (olaf_siejka...
Daniel Reimer [Sat, 9 Feb 2008 15:27:34 +0000 (15:27 +0000)]
Bug 3047: USetup and Desk recent translation update (polish locale) (olaf_siejka@o2.pl)
Bug 3049: Ukrainian translation update (temarez@yandex.ru)

svn path=/trunk/; revision=32240

13 years agoResort setupapi. Now all Resource files except the ones synched with Wine are sorted...
Daniel Reimer [Sat, 9 Feb 2008 12:07:48 +0000 (12:07 +0000)]
Resort setupapi. Now all Resource files except the ones synched with Wine are sorted the same way.

svn path=/trunk/; revision=32239

13 years agoResort all RC Files in User32 to be in "lang" Subfolder and with correct names.
Daniel Reimer [Sat, 9 Feb 2008 11:28:00 +0000 (11:28 +0000)]
Resort all RC Files in User32 to be in "lang" Subfolder and with correct names.
Still tbd: setupapi.

svn path=/trunk/; revision=32238

13 years agoOops... Header was wrong...
Pierre Schweitzer [Sat, 9 Feb 2008 11:26:53 +0000 (11:26 +0000)]
Oops... Header was wrong...

svn path=/trunk/; revision=32237

13 years agoAdded French translation for vgafondedit.exe
Pierre Schweitzer [Sat, 9 Feb 2008 11:25:06 +0000 (11:25 +0000)]
Added French translation for vgafondedit.exe

svn path=/trunk/; revision=32236

13 years agoUpdated French translations for :
Pierre Schweitzer [Sat, 9 Feb 2008 10:34:00 +0000 (10:34 +0000)]
Updated French translations for :
- desk.cpl
- mmsys.cpl
- usetup.exe

svn path=/trunk/; revision=32235

13 years ago- Updated Slovak translation for usetup by Mario Kacmar (kario AT szm DOT sk)
Colin Finck [Sat, 9 Feb 2008 10:16:19 +0000 (10:16 +0000)]
- Updated Slovak translation for usetup by Mario Kacmar (kario AT szm DOT sk)
- Convert the new strings of the German translation to CP850 encoding

svn path=/trunk/; revision=32234

13 years agoA couple of header fixes to get all the FreeLDR-loaded boot drivers to compile and...
ReactOS Portable Systems Group [Sat, 9 Feb 2008 00:59:05 +0000 (00:59 +0000)]
A couple of header fixes to get all the FreeLDR-loaded boot drivers to compile and link.
FreeLDR now stops at ArmPrepareForReactOS, when we get to enable the MMU, Caches and other such fun stuff.
Bring-up now really starts!

svn path=/trunk/; revision=32233

13 years agoKamil Hornicek <tykef@atlas.cz>
Aleksey Bragin [Fri, 8 Feb 2008 20:11:56 +0000 (20:11 +0000)]
Kamil Hornicek <tykef@atlas.cz>
- Add TRACEs to unimplemented functions.

svn path=/trunk/; revision=32231

13 years agoUse a generic .spec file, instead of a .def file per architecture
Hervé Poussineau [Fri, 8 Feb 2008 19:59:30 +0000 (19:59 +0000)]
Use a generic .spec file, instead of a .def file per architecture

svn path=/trunk/; revision=32230

13 years agoUse a generic .spec file, instead of a .def file per architecture
Hervé Poussineau [Fri, 8 Feb 2008 19:46:17 +0000 (19:46 +0000)]
Use a generic .spec file, instead of a .def file per architecture

svn path=/trunk/; revision=32229

13 years agoAdd WINEBUILD_FLAGS, and set it to --kill-at for ARM
Hervé Poussineau [Fri, 8 Feb 2008 19:45:30 +0000 (19:45 +0000)]
Add WINEBUILD_FLAGS, and set it to --kill-at for ARM

svn path=/trunk/; revision=32228

13 years agoDo not emit __wine_spec_unimplemented_stub() function if not needed
Hervé Poussineau [Fri, 8 Feb 2008 19:27:32 +0000 (19:27 +0000)]
Do not emit __wine_spec_unimplemented_stub() function if not needed

svn path=/trunk/; revision=32227

13 years agoAdd Rule class, which writes to Makefile how to handle a source file
Hervé Poussineau [Fri, 8 Feb 2008 19:10:19 +0000 (19:10 +0000)]
Add Rule class, which writes to Makefile how to handle a source file
Later, hardcoded rules should be read from .rbuild files

svn path=/trunk/; revision=32226

13 years agoChange the encoding of the slovak translation yet another time, hopefully it's correc...
Colin Finck [Fri, 8 Feb 2008 18:07:29 +0000 (18:07 +0000)]
Change the encoding of the slovak translation yet another time, hopefully it's correct now

svn path=/trunk/; revision=32225

13 years ago- Make LsaOpenPolicy return a fake handle (ported from Wine), so that it doesn't...
Aleksey Bragin [Fri, 8 Feb 2008 17:52:48 +0000 (17:52 +0000)]
- Make LsaOpenPolicy return a fake handle (ported from Wine), so that it doesn't leave garbage instead of a handle, which is going to be closed later by LsaClose.
- Make LsaClose understand the fake handle, and don't do anything in that case but just return success.
- Make one unimplemented func show a fixme (also from Wine).

svn path=/trunk/; revision=32224

13 years agoWe now have an official hal-arm which exports KeSwapIrql, allowing many more drivers...
ReactOS Portable Systems Group [Fri, 8 Feb 2008 17:13:09 +0000 (17:13 +0000)]
We now have an official hal-arm which exports KeSwapIrql, allowing many more drivers to compile and link properly.
We now have ARM export files for Class2 and Scsiport, allowing these drivers plus disk, cdrom and other dependencies to build and link.

svn path=/trunk/; revision=32223

13 years agoKamil Hornicek <tykef@atlas.cz>
Aleksey Bragin [Fri, 8 Feb 2008 17:04:39 +0000 (17:04 +0000)]
Kamil Hornicek <tykef@atlas.cz>
- Convert advapi32 to use wine-style debug macros.

svn path=/trunk/; revision=32222

13 years agoANSI -> OEM charset conversion
Colin Finck [Fri, 8 Feb 2008 14:46:27 +0000 (14:46 +0000)]
ANSI -> OEM charset conversion

svn path=/trunk/; revision=32220

13 years agoUpdate German translation
Daniel Reimer [Fri, 8 Feb 2008 14:10:52 +0000 (14:10 +0000)]
Update German translation

svn path=/trunk/; revision=32219

13 years ago- Add WinBoard and Opera to downloader.xml
Dmitry Chapyshev [Fri, 8 Feb 2008 13:14:22 +0000 (13:14 +0000)]
- Add WinBoard and Opera to downloader.xml

svn path=/trunk/; revision=32218

13 years ago- Update Russian translation
Dmitry Chapyshev [Fri, 8 Feb 2008 13:11:55 +0000 (13:11 +0000)]
- Update Russian translation

svn path=/trunk/; revision=32217

13 years ago- Implement one more hack to obtain LaskKrnlPhysAddr (not really a solution for react...
Aleksey Bragin [Fri, 8 Feb 2008 13:11:01 +0000 (13:11 +0000)]
- Implement one more hack to obtain LaskKrnlPhysAddr (not really a solution for reactos, since ntldr allows kernel+drivers+hal to not be continuous in memory), when booting via ntldr/winldr.

svn path=/trunk/; revision=32216

13 years ago- Start implement Advanced General page
Dmitry Chapyshev [Fri, 8 Feb 2008 13:07:37 +0000 (13:07 +0000)]
- Start implement Advanced General page
- Update Russian translation

svn path=/trunk/; revision=32215

13 years ago- Implement MiCountFreePagesInLoaderBlock() to correctly count free pages (instead...
Aleksey Bragin [Fri, 8 Feb 2008 10:55:40 +0000 (10:55 +0000)]
- Implement MiCountFreePagesInLoaderBlock() to correctly count free pages (instead of using a variable introduced somewhere below r2000 (MemHigher), and later converted to MmFreeLdrMemHigher).
- Get rid of MmFreeLdrMemHigher and MmFreeLdrMemLower (they were not actually used for anything except getting number of free pages).

svn path=/trunk/; revision=32214

13 years ago- Formatting fixes.
Aleksey Bragin [Fri, 8 Feb 2008 10:52:20 +0000 (10:52 +0000)]
- Formatting fixes.

svn path=/trunk/; revision=32213

13 years agoBug 3043: Polish translation update (olaf_siejka@o2.pl)
Daniel Reimer [Fri, 8 Feb 2008 10:24:02 +0000 (10:24 +0000)]
Bug 3043: Polish translation update (olaf_siejka@o2.pl)
Bug 3044: Ukrainian translation update (temarez@yandex.ru)
Part 3 of 3.

svn path=/trunk/; revision=32212

13 years agoBug 3043: Polish translation update (olaf_siejka@o2.pl)
Daniel Reimer [Fri, 8 Feb 2008 10:22:50 +0000 (10:22 +0000)]
Bug 3043: Polish translation update (olaf_siejka@o2.pl)
Bug 3044: Ukrainian translation update (temarez@yandex.ru)
Part 1 of 3.

svn path=/trunk/; revision=32210

13 years agoBug 3040: add some functionality to mmsys.cpl by Kamil Hornicek (tykef at atlas dot...
Daniel Reimer [Fri, 8 Feb 2008 10:08:26 +0000 (10:08 +0000)]
Bug 3040: add some functionality to mmsys.cpl by Kamil Hornicek (tykef at atlas dot cz) irc nick Pigglesworth
I updated all rc files according to the changes in the english one and removed DS_3DLOOK.

svn path=/trunk/; revision=32209

13 years agoApply r32184 for Slovak Translation too.
Daniel Reimer [Fri, 8 Feb 2008 08:21:12 +0000 (08:21 +0000)]
Apply r32184 for Slovak Translation too.

svn path=/trunk/; revision=32208

13 years agoWe now also implement InterlockedExchange (Fixes rtl build).
ReactOS Portable Systems Group [Fri, 8 Feb 2008 08:20:06 +0000 (08:20 +0000)]
We now also implement InterlockedExchange (Fixes rtl build).
We now set -lgcc for all builds (to get built-in division helpers), and also -static (not to import libgcc.dll -- it seems -static isn't needed on x86, but it is on ARM).
We hackfix kdcom to use the FeroUart base address -- this driver won't be used for a while, but we need to have it built.
Now binaries are being created properly (previously kernel was 15MB and importing .DLL files...). FreeLDR output:
FreeLoader v3.0 for ARM
Bootargs: rdbase=0x2000000 rdsize=0x1400000
Detecting Hardware...
Loading...
Reading NTOSKRNL.EXE
Reading BOOTVID.DLL
Reading HAL.DLL
Reading HAL.DLL
Reading c_1252.nls
Reading c_437.nls
Reading l_intl.nls
Reading scsiport.sys

svn path=/trunk/; revision=32207

13 years agoWe now have the correct intrinsics for ARM.
ReactOS Portable Systems Group [Fri, 8 Feb 2008 07:51:01 +0000 (07:51 +0000)]
We now have the correct intrinsics for ARM.
The ARM linkerscript is now created (copy of the x86 linker script).
The kernel can now be linked.

svn path=/trunk/; revision=32206

13 years agoWe no longer generate broken kernel-mode system call stubs.
ReactOS Portable Systems Group [Fri, 8 Feb 2008 06:07:47 +0000 (06:07 +0000)]
We no longer generate broken kernel-mode system call stubs.
We now have per-architecture definition files, since stdcall differences between the architectures cannot be fixed (tried a combination of --kill-at, which is ignored, and -add-stdcall-alias and --enable-stdcall-fixup. This is the same problem that breaks MSVC builds, according to Alex.)
Fixed KeRaiseIrqlToSynchLevel.
Added an arm directory in /ke where we have all the stubs for non-implemented ARM routines. We can now build almost the entire kernel and link it.
We now use intrinsics to export the Interlocked* APIs, for the ARM build. Recommend doing this for x86 too.
Hal and bootvid build and link.

svn path=/trunk/; revision=32205

13 years ago- allow translation of strings in usetup
Timo Kreuzer [Fri, 8 Feb 2008 04:14:09 +0000 (04:14 +0000)]
- allow translation of strings in usetup
- so far most strings are still hardcoded, but the needed functionality is in place

svn path=/trunk/; revision=32204

13 years agopatch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
Timo Kreuzer [Fri, 8 Feb 2008 01:45:54 +0000 (01:45 +0000)]
patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
remove obsolete syscalls NtUserGetDesktopWindow and NtUserGetParent

svn path=/trunk/; revision=32203

13 years agofix a typo
Timo Kreuzer [Fri, 8 Feb 2008 00:18:45 +0000 (00:18 +0000)]
fix a typo

svn path=/trunk/; revision=32202

13 years agoBug 3033: patch for packmgr (kario@szm.sk)
Daniel Reimer [Thu, 7 Feb 2008 21:23:46 +0000 (21:23 +0000)]
Bug 3033: patch for packmgr (kario@szm.sk)
Bug 3039: Ukrainian translation update (temarez@yandex.ru)
Bug 3041: Bulgarian translation of ReactOS. (sstpr@narod.ru)

svn path=/trunk/; revision=32201

13 years agoBug 3033: patch for packmgr (kario@szm.sk)
Daniel Reimer [Thu, 7 Feb 2008 21:22:04 +0000 (21:22 +0000)]
Bug 3033: patch for packmgr (kario@szm.sk)
Bug 3039: Ukrainian translation update (temarez@yandex.ru)
Bug 3041: Bulgarian translation of ReactOS. (sstpr@narod.ru)

svn path=/trunk/; revision=32200

13 years agoYet another attempt to fix build
Colin Finck [Thu, 7 Feb 2008 20:58:58 +0000 (20:58 +0000)]
Yet another attempt to fix build

svn path=/trunk/; revision=32199

13 years agoRevert the winddk.h changes of r32197 to make the hal compilable again without any...
Colin Finck [Thu, 7 Feb 2008 20:49:58 +0000 (20:49 +0000)]
Revert the winddk.h changes of r32197 to make the hal compilable again without any warnings.
Someone (preferably ros-arm-bringup ;-), please fix this correctly.

The warning is caused, because after the change in r32197, KeRaiseIrqlToSynchLevel is defined as NTKERNELAPI for all architectures.
NTKERNELAPI itself is defined to DECLSPEC_IMPORT if the header is not included from ntoskrnl. This is why hal outputs a warning for its KeRaiseIrqlToSynchLevel implementation.
As warnings are treated as errors for hal, the build fails.

svn path=/trunk/; revision=32198

13 years agoWe can now build the ARM kernel (but not link it).
ReactOS Portable Systems Group [Thu, 7 Feb 2008 20:04:31 +0000 (20:04 +0000)]
We can now build the ARM kernel (but not link it).
We now define _disable and _enable for ARM.
We shouldn't define KeRaiseIrqlToSynchLevel for each architecture, since the prototype is portable itself.
It was a mistake to guard against x86 only system calls -- the system calls should be the same on all archs, just return STATUS_NOT_IMPLEMENTED if they don't make sense. Undo the guards.
We now define KeGetPcr() as portable -- it's PCR itself that is a per-arch define.
We now support ARM in RtlWalkFrameChain.
We now support ARM in PspCreateThread.
We now define KeArchHaltProcessor for ARM by using Wait-For-Interrupt Mode.
We now define KeArmInitThreadWithContext for ARM.
KiRestore/SaveProcessorControlState are portable prototypes, we now define them as such.
Bochs KD code should use the portable WRITE/READ_PORT_UCHAR defines, we now do so.
We now support ARM in SharedUserData->ImageNumberLow/High during ExpInitializeExecutive.
NtQuerySytemInformation for SystemProcessorInformation has now been fixed to use the portable KeProcesssorXxx variables instead of reading from the non-portable PRCB values.
We now support NtFlushInstructionCache for ARM by flushing the I-Cache.

svn path=/trunk/; revision=32197

13 years agoFix for the fix
Hervé Poussineau [Thu, 7 Feb 2008 19:58:31 +0000 (19:58 +0000)]
Fix for the fix

svn path=/trunk/; revision=32196

13 years agoBulgarian translation for rosapps by Станев (sstpr AT narod DOT ru)
Colin Finck [Thu, 7 Feb 2008 19:33:11 +0000 (19:33 +0000)]
Bulgarian translation for rosapps by Станев (sstpr AT narod DOT ru)
See issue #3042 for more details.

svn path=/trunk/; revision=32195

13 years ago- Open the Edit windows as modeless dialogs, so the user can edit more than one chara...
Colin Finck [Thu, 7 Feb 2008 19:14:55 +0000 (19:14 +0000)]
- Open the Edit windows as modeless dialogs, so the user can edit more than one character at the same time
- Simplify the linked-list functions

svn path=/trunk/; revision=32194

13 years ago- Rename vfatfs.sys to fastfat.sys for compatibility reasons.
Aleksey Bragin [Thu, 7 Feb 2008 18:06:11 +0000 (18:06 +0000)]
- Rename vfatfs.sys to fastfat.sys for compatibility reasons.

svn path=/trunk/; revision=32193

13 years agoFill output variable before returning
Hervé Poussineau [Thu, 7 Feb 2008 18:04:03 +0000 (18:04 +0000)]
Fill output variable before returning

svn path=/trunk/; revision=32192

13 years ago- fix auto timezone selection for bulgarian locale
Johannes Anderwald [Thu, 7 Feb 2008 17:52:24 +0000 (17:52 +0000)]
- fix auto timezone selection for bulgarian locale
- patch by CCTAHEB
See issue #2887 for more details.

svn path=/trunk/; revision=32191

13 years ago* Fixed d3d9 critical section not being unlocked in GetAdapterIdentifier
Gregor Brunmar [Thu, 7 Feb 2008 17:32:49 +0000 (17:32 +0000)]
* Fixed d3d9 critical section not being unlocked in GetAdapterIdentifier
* Implemeted IDirect3D9::GetAdapterMonitor

svn path=/trunk/; revision=32190

13 years agoDefine O_BINARY to 0 in include/wine/port.h if it's not defined. Wine's version of...
Colin Finck [Thu, 7 Feb 2008 17:27:25 +0000 (17:27 +0000)]
Define O_BINARY to 0 in include/wine/port.h if it's not defined. Wine's version of this file already contains this #define.
This way we can remove one more difference in our widl version compared to the Wine one.

svn path=/trunk/; revision=32189

13 years agoFixed a compiler warning with msvc
Gregor Brunmar [Thu, 7 Feb 2008 17:26:05 +0000 (17:26 +0000)]
Fixed a compiler warning with msvc

svn path=/trunk/; revision=32188

13 years agocreat() is equivalent to open() with the flags O_CREAT | O_WRONLY | O_TRUNC.
Colin Finck [Thu, 7 Feb 2008 14:53:03 +0000 (14:53 +0000)]
creat() is equivalent to open() with the flags O_CREAT | O_WRONLY | O_TRUNC.
Use these flags and O_BINARY to replace the creat() call we previously had.

Requested by Wine for patch acceptance

svn path=/trunk/; revision=32187

13 years ago- Port LookupAccountNameA/W from Wine. This fixes VMWare Tools crash in NTDLL introdu...
Aleksey Bragin [Thu, 7 Feb 2008 14:05:10 +0000 (14:05 +0000)]
- Port LookupAccountNameA/W from Wine. This fixes VMWare Tools crash in NTDLL introduced by msiexec sync.

svn path=/trunk/; revision=32186

13 years ago- Apply elf-changes changes to ntkrnlmp.rbuild.
Aleksey Bragin [Thu, 7 Feb 2008 13:42:29 +0000 (13:42 +0000)]
- Apply elf-changes changes to ntkrnlmp.rbuild.
- Small formatting fix for ntoskrnl.rbuild.

svn path=/trunk/; revision=32185

13 years ago- change cmd "control" to "control.exe"
Johannes Anderwald [Thu, 7 Feb 2008 11:23:38 +0000 (11:23 +0000)]
- change cmd "control" to "control.exe"
- fix over-translated strings
- acquire full path for the traget executable and directly invoke CreateProcess
- zero initialize param szTemp to fix a possible buffer overflow
- fixes bug 3027

svn path=/trunk/; revision=32184

13 years ago- improve control a bit so it that can execute cpl specified on the command line
Johannes Anderwald [Thu, 7 Feb 2008 11:21:10 +0000 (11:21 +0000)]
- improve control a bit so it that can execute cpl specified on the command line
- ignore the function index, page index for now

svn path=/trunk/; revision=32183

13 years agoFix one more bug in adding subkeys.
Filip Navara [Thu, 7 Feb 2008 08:22:24 +0000 (08:22 +0000)]
Fix one more bug in adding subkeys.

svn path=/trunk/; revision=32181

13 years agoFix hash table generating.
Filip Navara [Thu, 7 Feb 2008 08:04:17 +0000 (08:04 +0000)]
Fix hash table generating.

svn path=/trunk/; revision=32180

13 years agoWe now generate the correct ARM syscall stub code for system calls with IDs > 0x100.
ReactOS Portable Systems Group [Thu, 7 Feb 2008 07:10:13 +0000 (07:10 +0000)]
We now generate the correct ARM syscall stub code for system calls with IDs > 0x100.
We never call KfRaise/LowerIrql in portable code anymore, isntead, we use Ke.
We now have correctly defined IRQL routines for ARM, much more of the kernel builds as a result.

svn path=/trunk/; revision=32179

13 years agoWe don't define types which are usually documented on "real" NT platforms in the...
ReactOS Portable Systems Group [Thu, 7 Feb 2008 06:40:42 +0000 (06:40 +0000)]
We don't define types which are usually documented on "real" NT platforms in the NDK aynmore, but instead in the ARMDDK.h. This also avoids many ndk-from-ddk cross-header issues.
Added x86-only guards around certain structures and functions which are non-portable. Also guarded certain inline functions.
Added some more ARM structures, and filled out the KPRCB.
Created ARM-specific headers when required.
We can now have a buildable ARM kernel, minus a couple of compile errors.

svn path=/trunk/; revision=32178

13 years agoWe now only compile the ELF loader if _ELF_ is defined (both because this isn't a...
ReactOS Portable Systems Group [Thu, 7 Feb 2008 06:36:31 +0000 (06:36 +0000)]
We now only compile the ELF loader if _ELF_ is defined (both because this isn't a standard Windows feature, and because the current code is completely not portable with ARM)

svn path=/trunk/; revision=32177

13 years agoWe now return failed in FrLdrMapImage if the file could not be read.
ReactOS Portable Systems Group [Thu, 7 Feb 2008 05:25:37 +0000 (05:25 +0000)]
We now return failed in FrLdrMapImage if the file could not be read.
FreeLDR ARM now loads properly, however, we need to start building the ARM kernel and ARM boot drivers, otherwise their relocations will have byte offsets which will lead to alignment errors (on ARM relocaitons are DWORD-aligned).
Next steps are to get the kernel building, then the HAL, then bootvid/kdcom.

svn path=/trunk/; revision=32176

13 years agoMake HvIsCellAllocated working.
Filip Navara [Thu, 7 Feb 2008 03:32:47 +0000 (03:32 +0000)]
Make HvIsCellAllocated working.

svn path=/trunk/; revision=32175

13 years agomake the table smaller
Timo Kreuzer [Thu, 7 Feb 2008 02:36:20 +0000 (02:36 +0000)]
make the table smaller

svn path=/trunk/; revision=32174

13 years agoThere was no reason to have most of the i386Disk routines as i386-only routines,...
ReactOS Portable Systems Group [Thu, 7 Feb 2008 00:43:09 +0000 (00:43 +0000)]
There was no reason to have most of the i386Disk routines as i386-only routines, since they are quite generic and portable assuming MBR-based disks. GPT disks are another matter, but in either case, any architecture should support both, and that's the real distinction.
Made the ARM code use the shared disk routines, which allowed us to remove some hacks -> we now detect the boot/system volume just like on x86.
FreeLDR now loads NTOSKRNL.EXE on ARM.
Also made the DiskIsBootDeviceFloppy return FALSE for ramdisks.
Finally, note that the disk routines were still kept as Machine-specific routines in the Mach Table, so other architectures can still override them if they really need to (for example, the XBOX port overrides one of them for a specific XBOX hack).

svn path=/trunk/; revision=32173

13 years ago* Fixed compiling of the native d3d9.dll
Gregor Brunmar [Wed, 6 Feb 2008 21:22:23 +0000 (21:22 +0000)]
* Fixed compiling of the native d3d9.dll
* Packed structures in d3d9types.h correctly to be compatible with Windows

svn path=/trunk/; revision=32172

13 years agoRemoved certain ARM Machine Callbacks which we shouldn't need at all until much later...
ReactOS Portable Systems Group [Wed, 6 Feb 2008 20:47:53 +0000 (20:47 +0000)]
Removed certain ARM Machine Callbacks which we shouldn't need at all until much later for SetupLDR.
Kept the ArmDisk ones though since they'll be needed for NAND boot, but improved the assertions.

svn path=/trunk/; revision=32171

13 years agoWe now report the correct sector start for the ramdisk -- the actual volume boot...
ReactOS Portable Systems Group [Wed, 6 Feb 2008 20:38:59 +0000 (20:38 +0000)]
We now report the correct sector start for the ramdisk -- the actual volume boot sector is at 0x63, not 0x00 which is the MBR.
FreeLDR now reads freeldr.ini correctly and continues all the way to hardware detection (ArmHwDetect)

svn path=/trunk/; revision=32170

13 years agoWe now enable ramdisk support by calling RamDiskSwitchFromBios() to allow the ramdisk...
ReactOS Portable Systems Group [Wed, 6 Feb 2008 19:15:46 +0000 (19:15 +0000)]
We now enable ramdisk support by calling RamDiskSwitchFromBios() to allow the ramdisk routines to take control of disk r/w.
Unlike the x86 virtual-ramdisk, the ramdisk here is also used as boot device, not only system device.
Current FreeLDR output:
    Booting FreeLDR...
    FreeLoader v3.0 for ARM
    Bootargs: rdbase=0x2000000 rdsize=0x1400000
    This file system has cluster sizes bigger than 64k.
    FreeLoader does not support this.
    Press any key

svn path=/trunk/; revision=32169

13 years ago- apply changes from prev rev
Johannes Anderwald [Wed, 6 Feb 2008 18:59:51 +0000 (18:59 +0000)]
- apply changes from prev rev

svn path=/trunk/; revision=32168

13 years ago- partly fix AddConsoleAlias/GetConsoleAlias
Johannes Anderwald [Wed, 6 Feb 2008 18:59:18 +0000 (18:59 +0000)]
- partly fix AddConsoleAlias/GetConsoleAlias
- add hack for GetConsoleAliasW to circumvent CsrCaptureMessageBuffer is not working

svn path=/trunk/; revision=32167