Commit graph

29424 commits

Author SHA1 Message Date
Daniel Reimer 085c463f52 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
2008-02-08 10:22:50 +00:00
Daniel Reimer 89aff6dc8a 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
2008-02-08 10:08:26 +00:00
Daniel Reimer 6879d09095 Apply r32184 for Slovak Translation too.
svn path=/trunk/; revision=32208
2008-02-08 08:21:12 +00:00
ReactOS Portable Systems Group a0309ee531 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
2008-02-08 08:20:06 +00:00
ReactOS Portable Systems Group 216376229d 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
2008-02-08 07:51:01 +00:00
ReactOS Portable Systems Group a81c54beff 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
2008-02-08 06:07:47 +00:00
Timo Kreuzer 3f09812318 - 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
2008-02-08 04:14:09 +00:00
Timo Kreuzer 5aeda067d0 patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
remove obsolete syscalls NtUserGetDesktopWindow and NtUserGetParent

svn path=/trunk/; revision=32203
2008-02-08 01:45:54 +00:00
Timo Kreuzer dfb1765988 fix a typo
svn path=/trunk/; revision=32202
2008-02-08 00:18:45 +00:00
Daniel Reimer d57a6ccafe 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
2008-02-07 21:23:46 +00:00
Daniel Reimer 252c05ab34 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
2008-02-07 21:22:04 +00:00
Colin Finck 7f402f3f12 Yet another attempt to fix build
svn path=/trunk/; revision=32199
2008-02-07 20:58:58 +00:00
Colin Finck 026972be9b 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
2008-02-07 20:49:58 +00:00
ReactOS Portable Systems Group fb86c24408 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
2008-02-07 20:04:31 +00:00
Hervé Poussineau 79f55526f5 Fix for the fix
svn path=/trunk/; revision=32196
2008-02-07 19:58:31 +00:00
Colin Finck 44fece0a7a Bulgarian translation for rosapps by Станев (sstpr AT narod DOT ru)
See issue #3042 for more details.

svn path=/trunk/; revision=32195
2008-02-07 19:33:11 +00:00
Colin Finck 3a86c280a8 - 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
2008-02-07 19:14:55 +00:00
Aleksey Bragin 21ab956cf9 - Rename vfatfs.sys to fastfat.sys for compatibility reasons.
svn path=/trunk/; revision=32193
2008-02-07 18:06:11 +00:00
Hervé Poussineau deb657fdaa Fill output variable before returning
svn path=/trunk/; revision=32192
2008-02-07 18:04:03 +00:00
Johannes Anderwald 9bed8e1811 - fix auto timezone selection for bulgarian locale
- patch by CCTAHEB
See issue #2887 for more details.

svn path=/trunk/; revision=32191
2008-02-07 17:52:24 +00:00
Gregor Brunmar 89a49eb4b7 * Fixed d3d9 critical section not being unlocked in GetAdapterIdentifier
* Implemeted IDirect3D9::GetAdapterMonitor

svn path=/trunk/; revision=32190
2008-02-07 17:32:49 +00:00
Colin Finck df5582f1dd 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
2008-02-07 17:27:25 +00:00
Gregor Brunmar 26db2d81e1 Fixed a compiler warning with msvc
svn path=/trunk/; revision=32188
2008-02-07 17:26:05 +00:00
Colin Finck 6848a25e87 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
2008-02-07 14:53:03 +00:00
Aleksey Bragin 9a3b43aa45 - Port LookupAccountNameA/W from Wine. This fixes VMWare Tools crash in NTDLL introduced by msiexec sync.
svn path=/trunk/; revision=32186
2008-02-07 14:05:10 +00:00
Aleksey Bragin d7e3b6a80d - Apply elf-changes changes to ntkrnlmp.rbuild.
- Small formatting fix for ntoskrnl.rbuild.

svn path=/trunk/; revision=32185
2008-02-07 13:42:29 +00:00
Johannes Anderwald d1741b3c64 - 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
2008-02-07 11:23:38 +00:00
Johannes Anderwald fb6911a1bb - 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
2008-02-07 11:21:10 +00:00
Filip Navara 6055ece647 Fix one more bug in adding subkeys.
svn path=/trunk/; revision=32181
2008-02-07 08:22:24 +00:00
Filip Navara f5d676df0d Fix hash table generating.
svn path=/trunk/; revision=32180
2008-02-07 08:04:17 +00:00
ReactOS Portable Systems Group ac30a263d8 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
2008-02-07 07:10:13 +00:00
ReactOS Portable Systems Group 46c6129581 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
2008-02-07 06:40:42 +00:00
ReactOS Portable Systems Group d54c5304b2 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
2008-02-07 06:36:31 +00:00
ReactOS Portable Systems Group 2c43803e7a 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
2008-02-07 05:25:37 +00:00
Filip Navara 9c1dc73ab3 Make HvIsCellAllocated working.
svn path=/trunk/; revision=32175
2008-02-07 03:32:47 +00:00
Timo Kreuzer dbfe16d4c3 make the table smaller
svn path=/trunk/; revision=32174
2008-02-07 02:36:20 +00:00
ReactOS Portable Systems Group 254e81c7ef 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
2008-02-07 00:43:09 +00:00
Gregor Brunmar c9fee31613 * Fixed compiling of the native d3d9.dll
* Packed structures in d3d9types.h correctly to be compatible with Windows

svn path=/trunk/; revision=32172
2008-02-06 21:22:23 +00:00
ReactOS Portable Systems Group 2c11320128 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
2008-02-06 20:47:53 +00:00
ReactOS Portable Systems Group 5dfb41e641 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
2008-02-06 20:38:59 +00:00
ReactOS Portable Systems Group 336ca7d838 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
2008-02-06 19:15:46 +00:00
Johannes Anderwald 5a83b091b5 - apply changes from prev rev
svn path=/trunk/; revision=32168
2008-02-06 18:59:51 +00:00
Johannes Anderwald e20076c868 - partly fix AddConsoleAlias/GetConsoleAlias
- add hack for GetConsoleAliasW to circumvent CsrCaptureMessageBuffer is not working

svn path=/trunk/; revision=32167
2008-02-06 18:59:18 +00:00
Johannes Anderwald 5f2abd25fc - partly fix AddConsoleAlias/GetConsoleAlias
- add hack for GetConsoleAliasW to circumvent CsrCaptureMessageBuffer is not working

svn path=/trunk/; revision=32166
2008-02-06 18:57:40 +00:00
Colin Finck ba0c8c84e6 - Cast the OutputBuffer to a byte (UCHAR) array, not a ULONG array, so adding a byte offset to its address works as expected.
This fixes the extraction of any file, which is not the first file in the cabinet.
- I don't see a reason for reading the file name in 32 byte chunks in ReadString() instead of reading it completely in one call.
  As the previous algorithm was buggy for files longer than 32 characters, I read the file name string completely now.
  Cabman is now able to extract the "reactos.cab" it created itself without any problems :-)
- Simplify CreateSimpleCabinet() a bit

svn path=/trunk/; revision=32165
2008-02-06 18:30:15 +00:00
ReactOS Portable Systems Group f20598a976 We now support ArmDiskGetBootVolume for ramdisk only, later revisions will support NAND boot as well.
The ramdisk parameter parsing had several bugs which were fixed, including support for hex parameters and using proper return values from strstr.
We also rewrote command line parsing to be much simpler. It was very broken, modifying the memory contents of the command line -- this wouldn't work on systems where the command line is stored in ROM unless a copy is first made. It also broke ram disk parameters by modifying whitespaces to NULL chars for purposes of reading its own parameters, but did not put the whitespace back, terminating the command line early.
Finally, we now have an integrated ramdisk parameter parsing with the new command line code.

svn path=/trunk/; revision=32164
2008-02-06 18:27:53 +00:00
Dmitry Chapyshev bd50edb2a5 - Import atl.dll from Wine
- Add atl to bootcd

svn path=/trunk/; revision=32163
2008-02-06 17:29:28 +00:00
ReactOS Portable Systems Group 1e5a0b3061 We now return memory map.
We added a new member to the ARM board configuration block that specifies the number of memory map entries.
Board boot loaders are responsible for sending the base and size of all DRAM and FLASH banks. FLASH banks should be marked as Reserved so we don't try using them as RAM.

svn path=/trunk/; revision=32162
2008-02-06 15:47:02 +00:00
Dmitry Chapyshev 4980e5f7eb - Add vga font for cp437
svn path=/trunk/; revision=32161
2008-02-06 15:36:29 +00:00
Dmitry Chapyshev a0841bec8b - Fix formatting for ras.h, rasdlg.h and rasapi.h
- Add raseapif.h header file

svn path=/trunk/; revision=32160
2008-02-06 15:29:45 +00:00