reactos.git
14 years agoThe big RosBE 1.5 compatibility patch. You will need RosBE 1.5 from this point!
Colin Finck [Tue, 9 Feb 2010 18:14:58 +0000 (18:14 +0000)]
The big RosBE 1.5 compatibility patch. You will need RosBE 1.5 from this point!
- Set the minimum GCC version to 4.4.0 and minimum Binutils version to 20091016.
- Remove the -fno-unit-at-a-time hacks.
- Remove dgorbachev's temporary hacks for user-mode C++ applications.
- Merge ntoskrnl's "precomp.h" and "ntoskrnl.h" again, the PCH issues have been fixed.
- Use our "ofmt_stub.a" to be compatible with newer MinGW Runtime versions.
- Use LD's new -exclude-all-symbols option to not auto-export all symbols in case no DEF file or __declspec(dllexport) was specified.
  We used to patch our LD version to work around this problem.
- Use LD's --start-group and --end-group parameters to allow a more flexible linking order.
- Use GCC's -fno-set-stack-executable for amd64 and i386 targets to disable adding the __enable_execute_stack code.
- Change the makefile's name to "makefile-$(ARCH).auto" for all architectures.
- Remove some -Wno-error flags.

See issue #4810 for more details.

svn path=/trunk/; revision=45535

14 years ago- Make KeFlushProcessTb work. Since no MPCore support, CPU TLB is flushed instead...
evb [Tue, 9 Feb 2010 18:06:26 +0000 (18:06 +0000)]
- Make KeFlushProcessTb work. Since no MPCore support, CPU TLB is flushed instead. Maybe should use ASIDs later.

svn path=/trunk/; revision=45534

14 years ago[paint] fix rectangular selection tool
Benedikt Freisen [Tue, 9 Feb 2010 18:06:18 +0000 (18:06 +0000)]
[paint] fix rectangular selection tool

svn path=/trunk/; revision=45533

14 years ago- Fix wrong initialization of different modes and stacks.
evb [Tue, 9 Feb 2010 18:05:01 +0000 (18:05 +0000)]
- Fix wrong initialization of different modes and stacks.

svn path=/trunk/; revision=45532

14 years ago[DSOUND_NEW]
Johannes Anderwald [Tue, 9 Feb 2010 14:24:50 +0000 (14:24 +0000)]
[DSOUND_NEW]
- Add more parameter checks
- Implement a few more functions for the primary sound buffer

svn path=/trunk/; revision=45530

14 years ago[DSOUND_NEW]
Johannes Anderwald [Tue, 9 Feb 2010 13:14:19 +0000 (13:14 +0000)]
[DSOUND_NEW]
- Implement getting volume, volume pan, and frequency for secondary sound buffer
- Semi-stub setting volume, volume pan and frequency for secondary...

svn path=/trunk/; revision=45529

14 years ago[DSOUND_NEW]
Johannes Anderwald [Tue, 9 Feb 2010 12:03:59 +0000 (12:03 +0000)]
[DSOUND_NEW]
- Implement starting / stopping primary sound buffer
- Implement retrieving capabilities for secondary sound buffer
- Import sound mixing routines from wine, not yet used

svn path=/trunk/; revision=45527

14 years ago[FREELDR]: Use WinLDR-style booting exclusively for ARM. Remove thousands of lines...
Sir Richard [Tue, 9 Feb 2010 03:10:07 +0000 (03:10 +0000)]
[FREELDR]: Use WinLDR-style booting exclusively for ARM. Remove thousands of lines of old code where we basically did the same thing.
[FREELDR]: Build WinLDR for ARM too, and implement the required portability functions to get it working. Don't build "ros-style" loading on ARM.
[FREELDR]: Redo from scratch the entire paging setup for ARM. Instead of using 20MB of physical RAM, we now only use 1MB that's passed on to the kernel.
[FREELDR]: Fix loads of bugs in the ARM loader code (ha-ha!).
[FREELDR]: Cleanup compiler and linker flags in the rbuild files.
[ARMLLB]: Remove all deprecated video machine routines that are not used anymore.
If all went well, the ARM port should now boot on Versatile platforms up until the ARM3 initialization code.

svn path=/trunk/; revision=45526

14 years ago[MISC]: Build fixes to sync up with latest changes.
Sir Richard [Tue, 9 Feb 2010 03:05:49 +0000 (03:05 +0000)]
[MISC]: Build fixes to sync up with latest changes.
[SETUPLDR]: Do not build on ARM. On a side note, I offer a bountry for "if ARCH != ARM" support in .rbuild files, instead of only allowing ==.

svn path=/trunk/; revision=45525

14 years ago[FREELDR]: Remove C++ style indirected "UI" component from FreeLDR ARM, for several...
Sir Richard [Tue, 9 Feb 2010 02:53:45 +0000 (02:53 +0000)]
[FREELDR]: Remove C++ style indirected "UI" component from FreeLDR ARM, for several reasons that ought to be considered on x86 too:
    - It redraws the screen in two different ways (zero memory and character-by-character fill) over 15 times for a single boot. You notice these things on a little ARM chip!
    - It keeps coping data from/to an "off-screen buffer" way too much, instead of only when the video needs to be synced.
    - It makes assumptions about all Video Buffers supporting Character-Mode VGA.
    - It can be configured to draw cyan/yellow ponies, instead of a normal NT boot menu.
    The ARM build now uses a "directui.c" implementation which fixes all these issues and is efficient and to the point. It presents a normal Windows boot selection menu on ARM.
[FREELDR]: Do not build any of the video routines, or the UI routines, on ARM.

svn path=/trunk/; revision=45524

14 years ago[FREELDR]: No Linux support for ARM, no RS232 support for ARM, and no complex debug...
Sir Richard [Tue, 9 Feb 2010 02:38:23 +0000 (02:38 +0000)]
[FREELDR]: No Linux support for ARM, no RS232 support for ARM, and no complex debug infrastructure for ARM either.

svn path=/trunk/; revision=45523

14 years agoadd setjmp/longjmp to libcntpr, just like in ms sdks
Timo Kreuzer [Tue, 9 Feb 2010 02:34:42 +0000 (02:34 +0000)]
add setjmp/longjmp to libcntpr, just like in ms sdks

svn path=/trunk/; revision=45522

14 years ago[FREELDR]: Do not build Disk/Partition support for ARM, we use ram disks.
Sir Richard [Tue, 9 Feb 2010 02:33:31 +0000 (02:33 +0000)]
[FREELDR]: Do not build Disk/Partition support for ARM, we use ram disks.

svn path=/trunk/; revision=45521

14 years ago[FREELDR]: Do not build EXT2, ISO or NTFS support for ARM targets.
Sir Richard [Tue, 9 Feb 2010 02:32:59 +0000 (02:32 +0000)]
[FREELDR]: Do not build EXT2, ISO or NTFS support for ARM targets.

svn path=/trunk/; revision=45520

14 years ago[FREELDR]: The WinLDR code forgot to update the File Path of boot driver entries...
Sir Richard [Tue, 9 Feb 2010 02:26:46 +0000 (02:26 +0000)]
[FREELDR]: The WinLDR code forgot to update the File Path of boot driver entries from PA to VA as well, not just the registry path. It also tried to touch the PA LoaderBlock right after enabling the MMU. It should touch the VA LoaderBlock instead, since there is no guarantee that the address has been identity mapped (and hence the PA address interpreted as a VA address by the MMU is bogus).

svn path=/trunk/; revision=45519

14 years ago- New ARM HAL after 2 nights in the company of a madman.
evb [Tue, 9 Feb 2010 02:26:28 +0000 (02:26 +0000)]
- New ARM HAL after 2 nights in the company of a madman.
- Many fixes, more implemented routines, support for ARMv7.
- Some Linux code, marked as GPL, from ARM Ltd in cache.s. All OS use this code.

svn path=/trunk/; revision=45518

14 years ago[FREELDR]: The hack to set pages from 0x100 to 0x1FF as busy so that the heap allocat...
Sir Richard [Tue, 9 Feb 2010 02:22:08 +0000 (02:22 +0000)]
[FREELDR]: The hack to set pages from 0x100 to 0x1FF as busy so that the heap allocator wouldn't use them always restored the pages back to Free (since they usually were free on x86). However, if the pages were already being used in the first place, this made them appear free and corrupted existing memory. Fixed the hack so that it restores the previous state of the memory pages.

svn path=/trunk/; revision=45517

14 years ago[NDK]: Use new ARMv6 PTE structures.
Sir Richard [Tue, 9 Feb 2010 02:14:58 +0000 (02:14 +0000)]
[NDK]: Use new ARMv6 PTE structures.

svn path=/trunk/; revision=45516

14 years ago[NTOS]: Tabula rasa (clean slate) on the old-MM page routines for ARM. Get rid of...
Sir Richard [Tue, 9 Feb 2010 02:14:20 +0000 (02:14 +0000)]
[NTOS]: Tabula rasa (clean slate) on the old-MM page routines for ARM. Get rid of all of them for now.
[NTOS]: Implement MmInitGlobalKernelPageDirectory as the first ARM page function in the new file.
That's it for the kernel.

svn path=/trunk/; revision=45515

14 years ago[NTOS]: All calls to DbgPrint will go to DbgPrintEarly for now.
Sir Richard [Tue, 9 Feb 2010 02:12:27 +0000 (02:12 +0000)]
[NTOS]: All calls to DbgPrint will go to DbgPrintEarly for now.
[NTOS]: More header fixes to match new definitions.

svn path=/trunk/; revision=45514

14 years ago[NTOS]: Make system startup match x86 code as closely as possible, instead of mixing...
Sir Richard [Tue, 9 Feb 2010 02:11:18 +0000 (02:11 +0000)]
[NTOS]: Make system startup match x86 code as closely as possible, instead of mixing MIPS/PPC code. Only rip out parts that are obviously x86-specific. Also fix code to use new KPCR definitions.
[NTOS]: Implement a DbgPrintEarly function that directly uses KDCOM to print to the serial console, instead of going through the Debug Service Interrupt.

svn path=/trunk/; revision=45513

14 years ago[NTOS]: Update code to use new KPCR structure.
Sir Richard [Tue, 9 Feb 2010 02:09:34 +0000 (02:09 +0000)]
[NTOS]: Update code to use new KPCR structure.
[NTOS]: Make all trap code currently spin forever, because it has not been reviewed yet.

svn path=/trunk/; revision=45512

14 years ago[ARMDDK]: Use the same KPCR structure on ARM as on x86.
Sir Richard [Tue, 9 Feb 2010 02:08:24 +0000 (02:08 +0000)]
[ARMDDK]: Use the same KPCR structure on ARM as on x86.
[ARMDDK]: Use the same addresses for KPCR and KUSER_SHARED_DATA on ARM as on x86. On ARM however, since there are no "segments", the KPCR is also mapped in user-mode, read-only, to have a static structure that can point to the current TEB.

svn path=/trunk/; revision=45511

14 years ago[ARM DDK]: Use the closest possible approximation to the x86 KPCR/KPRCB (in fact...
Sir Richard [Tue, 9 Feb 2010 02:06:29 +0000 (02:06 +0000)]
[ARM DDK]: Use the closest possible approximation to the x86 KPCR/KPRCB (in fact, the public KPCR is identical, just the KIPCR is different, internally), instead of a mashup of PPC and MIPS structures.

svn path=/trunk/; revision=45510

14 years ago[NTOS]: Sync up KiDispatchException with x86 code (and going back to C comment format...
Sir Richard [Tue, 9 Feb 2010 02:00:52 +0000 (02:00 +0000)]
[NTOS]: Sync up KiDispatchException with x86 code (and going back to C comment formatting).

svn path=/trunk/; revision=45509

14 years ago[NTOS]: Get rid of fixed TLB entries on ARM, I don't think that idea makes sense...
Sir Richard [Tue, 9 Feb 2010 02:00:15 +0000 (02:00 +0000)]
[NTOS]: Get rid of fixed TLB entries on ARM, I don't think that idea makes sense (unlike IA64 or MIPS where they are lot more flexible), since they only allow 1MB sections, not pages.

svn path=/trunk/; revision=45508

14 years ago[NTOS]: Forgot to setup an IRQ stack, the kernel was working by magic since in previo...
Sir Richard [Tue, 9 Feb 2010 01:54:14 +0000 (01:54 +0000)]
[NTOS]: Forgot to setup an IRQ stack, the kernel was working by magic since in previous incarnations of the ARM port, 0xFFFFyyyy was mapped, so a stack of 0 worked (going downwards).
[NTOS]: Now FreeLDR just calls the KiSystemStartup routine correctly, without any "magic", so fix the code to use a1 instead of a2 (argument 1/2).

svn path=/trunk/; revision=45507

14 years ago[ARM SDK]: Use real Versatile base addresses instead of the old hacked FreeLDR base...
Sir Richard [Tue, 9 Feb 2010 01:47:54 +0000 (01:47 +0000)]
[ARM SDK]: Use real Versatile base addresses instead of the old hacked FreeLDR base addresses.

svn path=/trunk/; revision=45506

14 years ago[ARMLLB]: PutChar should be a UCHAR routine, this way we can print characters above...
Sir Richard [Tue, 9 Feb 2010 01:46:01 +0000 (01:46 +0000)]
[ARMLLB]: PutChar should be a UCHAR routine, this way we can print characters above 127 (extended ASCII). This is needed for the progress bar, for example.

svn path=/trunk/; revision=45505

14 years ago[ARMLLB]: Fix typo.
Sir Richard [Tue, 9 Feb 2010 01:44:26 +0000 (01:44 +0000)]
[ARMLLB]: Fix typo.

svn path=/trunk/; revision=45504

14 years agoGiant German Language Fix Patch by "tux."
Daniel Reimer [Mon, 8 Feb 2010 19:35:26 +0000 (19:35 +0000)]
Giant German Language Fix Patch by "tux."
I skipped xcopy, winhlp32 and wordpad because they are wine synched and expand, because its not translated anymore.
Fix some BOMs i did not see at wine synching.

svn path=/trunk/; revision=45501

14 years agoFix build breakage
Daniel Reimer [Mon, 8 Feb 2010 16:38:41 +0000 (16:38 +0000)]
Fix build breakage

svn path=/trunk/; revision=45500

14 years agoSync winfile to Wine 1.1.38
Daniel Reimer [Mon, 8 Feb 2010 10:49:41 +0000 (10:49 +0000)]
Sync winfile to Wine 1.1.38

svn path=/trunk/; revision=45496

14 years agoSync wordpad, write and xcopy to Wine 1.1.38
Daniel Reimer [Mon, 8 Feb 2010 10:49:03 +0000 (10:49 +0000)]
Sync wordpad, write and xcopy to Wine 1.1.38

svn path=/trunk/; revision=45495

14 years agoSimplify a bit, remove unused macros.
Dmitry Gorbachev [Sun, 7 Feb 2010 19:56:49 +0000 (19:56 +0000)]
Simplify a bit, remove unused macros.

svn path=/trunk/; revision=45492

14 years agoFix bug #5156.
Dmitry Gorbachev [Sun, 7 Feb 2010 19:56:06 +0000 (19:56 +0000)]
Fix bug #5156.

svn path=/trunk/; revision=45491

14 years agoFix formatting.
Dmitry Gorbachev [Sun, 7 Feb 2010 19:52:10 +0000 (19:52 +0000)]
Fix formatting.

svn path=/trunk/; revision=45490

14 years agoFix LSAPR_POLICY_INFORMATION and associated types.
Eric Kohl [Sun, 7 Feb 2010 17:01:57 +0000 (17:01 +0000)]
Fix LSAPR_POLICY_INFORMATION and associated types.

svn path=/trunk/; revision=45489

14 years ago[DSOUND]
Johannes Anderwald [Sun, 7 Feb 2010 15:57:25 +0000 (15:57 +0000)]
[DSOUND]
- Fix broken assert
- Fix calculation of length for the first locked audio buffer

svn path=/trunk/; revision=45488

14 years ago[PORTCLS]
Johannes Anderwald [Sun, 7 Feb 2010 15:35:00 +0000 (15:35 +0000)]
[PORTCLS]
- Reset number of mappings and available data when a reset request arrives
- Handle case where a get position request appears before an audio buffer arrives which results in divide by zero exception

svn path=/trunk/; revision=45487

14 years agoImplement LsaEnumerateAccountRights.
Eric Kohl [Sun, 7 Feb 2010 13:51:25 +0000 (13:51 +0000)]
Implement LsaEnumerateAccountRights.

svn path=/trunk/; revision=45484

14 years ago[NTOS]: Add a branch-to-self to start testing kernel code.
Sir Richard [Sun, 7 Feb 2010 03:01:19 +0000 (03:01 +0000)]
[NTOS]: Add a branch-to-self to start testing kernel code.
[ARMLLB]: Fix incorrect frame buffer size calculation.
[FREELDR]: Finish paging setup. Now we're able to boot to the kernel entrypoint at 0x808D3000, but I'm not happy with the memory descriptors.

svn path=/trunk/; revision=45480

14 years ago[AVIFIL32]
Christoph von Wittich [Sun, 7 Feb 2010 00:28:22 +0000 (00:28 +0000)]
[AVIFIL32]
sync avifil32 to wine 1.1.38

svn path=/trunk/; revision=45479

14 years ago[MSVCRT_WINETEST]
Christoph von Wittich [Sun, 7 Feb 2010 00:13:49 +0000 (00:13 +0000)]
[MSVCRT_WINETEST]
sync msvcrt_winetest to wine 1.1.38

svn path=/trunk/; revision=45478

14 years ago[FREELDR]: Start rewrite of eVb's messed up FreeLDR paging code. The new code is...
Sir Richard [Sun, 7 Feb 2010 00:09:10 +0000 (00:09 +0000)]
[FREELDR]: Start rewrite of eVb's messed up FreeLDR paging code. The new code is all dynamic and makes much better decisions as to the layout of the address space and how things will be implemented. Already, we are saving 16MB of VA. For now we still consume a large (1 MB) page for simplicity for the page directory, but that can go away later. I will post a diagram later if time permits. We get to MMU enabled and the PDE_BASE mapping works.
[NTOS]: Start redefining ARMv6 paging structures.

svn path=/trunk/; revision=45477

14 years ago[SHELL32]
Christoph von Wittich [Sun, 7 Feb 2010 00:07:07 +0000 (00:07 +0000)]
[SHELL32]
fix debug channel (merge from wine)

svn path=/trunk/; revision=45476

14 years ago[SHELL32]
Christoph von Wittich [Sun, 7 Feb 2010 00:06:04 +0000 (00:06 +0000)]
[SHELL32]
don't print the function name twice in ERR (merge from wine)

svn path=/trunk/; revision=45475

14 years agoSimplify the policy handle creation and destruction. This fixes two winetest failures.
Eric Kohl [Sat, 6 Feb 2010 23:06:57 +0000 (23:06 +0000)]
Simplify the policy handle creation and destruction. This fixes two winetest failures.

svn path=/trunk/; revision=45473

14 years ago[QEDIT]
Christoph von Wittich [Sat, 6 Feb 2010 21:46:26 +0000 (21:46 +0000)]
[QEDIT]
sync qedit to wine 1.1.38

svn path=/trunk/; revision=45472

14 years ago[MSXML3_WINETEST]
Christoph von Wittich [Sat, 6 Feb 2010 21:35:37 +0000 (21:35 +0000)]
[MSXML3_WINETEST]
sync msxml3_winetest to wine 1.1.38

svn path=/trunk/; revision=45471

14 years ago[MSXML3]
Christoph von Wittich [Sat, 6 Feb 2010 21:34:28 +0000 (21:34 +0000)]
[MSXML3]
sync msxml3 to wine 1.1.38

svn path=/trunk/; revision=45470

14 years ago[MSI_WINETEST]
Christoph von Wittich [Sat, 6 Feb 2010 21:29:15 +0000 (21:29 +0000)]
[MSI_WINETEST]
sync msi_winetest to wine 1.1.38

svn path=/trunk/; revision=45469

14 years ago[MSI]
Christoph von Wittich [Sat, 6 Feb 2010 21:28:28 +0000 (21:28 +0000)]
[MSI]
sync msi to wine 1.1.38

svn path=/trunk/; revision=45468

14 years ago[NTOS]: Combine all exit trap stubs into a single function with flags (same thing...
Sir Richard [Sat, 6 Feb 2010 14:58:23 +0000 (14:58 +0000)]
[NTOS]: Combine all exit trap stubs into a single function with flags (same thing we did for the entry stub). Now there are only 15 lines of ASM instead of 60.

svn path=/trunk/; revision=45462

14 years agoConvert offset to pointers when enumeration functions return ERROR_SUCCESS or ERROR_M...
Eric Kohl [Sat, 6 Feb 2010 14:10:18 +0000 (14:10 +0000)]
Convert offset to pointers when enumeration functions return ERROR_SUCCESS or ERROR_MORE_DATA because there is something to convert in both cases.

svn path=/trunk/; revision=45459

14 years ago- Make boot.s just stub to force load address, since ARM LLB already does setup....
evb [Sat, 6 Feb 2010 00:49:30 +0000 (00:49 +0000)]
- Make boot.s just stub to force load address, since ARM LLB already does setup. Will get rid of later.
- Get rid of all .pagedata stuff from boot.s. Now define simpler static page tables. Will probably get rid of later.
- Fix memory map to include framebuffer, had forgotten about it. Moved framebuffer to the nearest hole found. It happens to be 0xA0000, nice coincidence (matches x86!).
- Switch to nicer 8x16 font instead of 8x13. Now FreeLDR UI looks 99% identical to real PC.
- Start writing new ARMv6 Paging Code. Enable extended page tables and access bit, redefine structures, only for OS Loader for now.
- Identity map low-memory 1MB and MMIO 2MB space at 0x10000000 for Versatile. Need to make this board-specific later.
- Need to investigate sharing code with WinLDR.
- MMU enabled and Printf/LCD output works!.

svn path=/trunk/; revision=45440

14 years ago- Reading MBR from RAMDISK does not work since RAMDISK starts at BootSector (rdoffset...
evb [Thu, 4 Feb 2010 20:11:48 +0000 (20:11 +0000)]
- Reading MBR from RAMDISK does not work since RAMDISK starts at BootSector (rdoffset) and disk sector functions are NULL. Build bogus signature/checksum for now, unless MBR really needed later.
- Now FreeLDR crashes no more and arrives at FrLdrStartup to boot kernel and setup paging.

svn path=/trunk/; revision=45425

14 years ago- Define memory map structure for Versatile board/QEMU and send to OS Loader.
evb [Thu, 4 Feb 2010 19:52:13 +0000 (19:52 +0000)]
- Define memory map structure for Versatile board/QEMU and send to OS Loader.
- Many hack removed.
- Better efficency use of memory layout.
- Region at 0x800000 now available for FreeLDR use to load kernel files.
- Implement simple ArmDiskNormalizeSystemPath so boot is allowed to happen.
- Use better stack address as defined in memory map.
- Now FreeLDR loads all files correctly from disk and is ready to jump to kernel. ARMv5 paging code must be rewritten before that can happen.

svn path=/trunk/; revision=45424

14 years ago- Change NANDFlash again for Versatile support. Now the LLB and OS Loader are created...
evb [Thu, 4 Feb 2010 19:49:25 +0000 (19:49 +0000)]
- Change NANDFlash again for Versatile support. Now the LLB and OS Loader are created in one binary blob (loaded with -kernel), while the RAMDISK is loaded with -initrd.
- Now the only complication is that RAMDISK loaded at 0x80000 which will conflict with the 0x800000 range where kernel loads. Could move RAMDISK in code through LLB, but that would be very expensive (shift by 16MB up). Instead, NANDflash creates ramdisk image starting at offset 16MB. This way, emulator thinks it's loading at 0x80000, but actually loads at 0x1800000. Would be better if QEMU not hardcoded the INITRD_LOAD_ADDR...

svn path=/trunk/; revision=45423

14 years ago[RBUILD]: Fix make install and make install_registry. mkhive command was wrong (MKHIV...
Sir Richard [Thu, 4 Feb 2010 16:47:23 +0000 (16:47 +0000)]
[RBUILD]: Fix make install and make install_registry. mkhive command was wrong (MKHIVE_TARGET instead of mkhive_TARGET) and so the executable was never launched.

svn path=/trunk/; revision=45422

14 years ago- Fix text output
evb [Thu, 4 Feb 2010 15:59:22 +0000 (15:59 +0000)]
- Fix text output
- Allow for more than just one parameter on the bootROM command line (sepearate with commas).
- Rdoffset is not hardcoded anymore, but passed on cmdline. Allows using images with different partition offsets.

svn path=/trunk/; revision=45420

14 years ago- Update README.WINE.
Aleksey Bragin [Thu, 4 Feb 2010 14:49:40 +0000 (14:49 +0000)]
- Update README.WINE.

svn path=/trunk/; revision=45419

14 years ago[base/system/expand]
Aleksey Bragin [Thu, 4 Feb 2010 14:40:36 +0000 (14:40 +0000)]
[base/system/expand]
- Update expand utility to Wine-1.1.37. Last update happened 7 years ago and since then it was translated into 20 languages. Sorry to all the translators but the preference is given to a working untranslated version rather than a non-working localized one.
See issue #4637 for more details.

svn path=/trunk/; revision=45418

14 years ago- Refactor keyboard support to match serial. Now reading a key and waiting for a...
evb [Thu, 4 Feb 2010 08:02:30 +0000 (08:02 +0000)]
- Refactor keyboard support to match serial. Now reading a key and waiting for a key are two things.
- Implement KbHit Firmware routine.
- It is now possible to interact with FreeLDR using the keyboard.

svn path=/trunk/; revision=45416

14 years ago- Switch to bootvid 8x13 font (closer to PC/VGA experience).
evb [Thu, 4 Feb 2010 07:55:26 +0000 (07:55 +0000)]
- Switch to bootvid 8x13 font (closer to PC/VGA experience).
- Fix LlbFwVideoGetDisplaySize return characters X/Y, not pixels. Now "Press F8 for advanced menu" shows".

svn path=/trunk/; revision=45415

14 years ago- Add PL031 RTC code for Versatile.
evb [Thu, 4 Feb 2010 07:22:03 +0000 (07:22 +0000)]
- Add PL031 RTC code for Versatile.
- Add RTC time to TimeInfo convert.
- Implement FirmWare GetTime function. Countdown in FreeLDR now working.

svn path=/trunk/; revision=45414

14 years ago- Add GetTime stub, bump version to 1.4.
evb [Thu, 4 Feb 2010 06:44:06 +0000 (06:44 +0000)]
- Add GetTime stub, bump version to 1.4.
- Implement function for drawing character on the screen when request come from firmware.
- Tui.c assumes all screens are x86 VGA Consoles with 8-bit character and 8-bit attribute. On ARM, call Mach function to draw character instead of drawing into ScreenMemory off-screen buffer.
- FreeLDR menu now appears, need GetTime for counter.

svn path=/trunk/; revision=45413

14 years ago- Implement some simple video routines.
evb [Thu, 4 Feb 2010 06:09:03 +0000 (06:09 +0000)]
- Implement some simple video routines.
- Fix usable RAM not to include loader code and ram disk (up to 32MB).

svn path=/trunk/; revision=45412

14 years ago- Add stubs for video mach functions and update minor to 1.3.
evb [Thu, 4 Feb 2010 05:43:02 +0000 (05:43 +0000)]
- Add stubs for video mach functions and update minor to 1.3.

svn path=/trunk/; revision=45411

14 years ago- Add support for ram disk offset (.IMG file is a RAW image, partition starts later...)
evb [Thu, 4 Feb 2010 01:24:45 +0000 (01:24 +0000)]
- Add support for ram disk offset (.IMG file is a RAW image, partition starts later...)
- Fix ram disk support in FreeLDR, ARC changes had broken support for booting FreeLDR (not just the Windows) from a ram disk. ARM port now initializes ramdisk as an FS device.
- Fix hardcoded DISKREADBUFFER and FILESYSBUFFER values. On ARM these will be dynamically selected for each board (need to improve this through LLB).
- Now FreeLDR.ini is read, and crash happens because UI routines are all NULL.

svn path=/trunk/; revision=45405

14 years ago - Merge r45400 from aicom-network-branch to fix the crash that occurs when Steam...
Cameron Gutman [Thu, 4 Feb 2010 00:02:45 +0000 (00:02 +0000)]
 - Merge r45400 from aicom-network-branch to fix the crash that occurs when Steam starts

svn path=/trunk/; revision=45404

14 years ago- Enable RAMDISK support in LLB.
evb [Wed, 3 Feb 2010 23:17:16 +0000 (23:17 +0000)]
- Enable RAMDISK support in LLB.
- Build commandline for OS Loader (FreeLDR).
- Now ready to start loading freeldr.ini

svn path=/trunk/; revision=45403

14 years ago- Fix bugs.
evb [Wed, 3 Feb 2010 23:16:26 +0000 (23:16 +0000)]
- Fix bugs.
- Enable non-OOB mode for Versatile.

svn path=/trunk/; revision=45402

14 years ago- Implement GetEventLogInformation.
Eric Kohl [Wed, 3 Feb 2010 20:46:21 +0000 (20:46 +0000)]
- Implement GetEventLogInformation.
- OpenBackupEventLogA, OpenEventLogA, RegisterEventSourceA and ReportEventA: Call the ANSI RPC-Server Function directly instead of converting arguments to Unicode and calling the matching Unicode Function.
- OpenEventLogW: Fix argument checks.

svn path=/trunk/; revision=45401

14 years ago[VMX_SVGA]: Begin implementation of VMWARE SVGA-II Video Card Driver.
Sir Richard [Wed, 3 Feb 2010 17:47:41 +0000 (17:47 +0000)]
[VMX_SVGA]: Begin implementation of VMWARE SVGA-II Video Card Driver.

svn path=/trunk/; revision=45396

14 years ago[WDMAUD.DRV]
Johannes Anderwald [Wed, 3 Feb 2010 12:48:27 +0000 (12:48 +0000)]
[WDMAUD.DRV]
- Cleanup code
- Fix a bug which made the caller assume that a wave handle has already been open.
- define a macro which appends a postfix depending on wether USE_MMIXER_LIB has been defined

svn path=/trunk/; revision=45390

14 years agoFix typo in vcproj generator code
Ged Murphy [Wed, 3 Feb 2010 11:36:49 +0000 (11:36 +0000)]
Fix typo in vcproj generator code

svn path=/trunk/; revision=45389

14 years agoBug 4342: Update log2lines to Version 1.12b. (Jan Roeloffzen)
Daniel Reimer [Wed, 3 Feb 2010 07:34:59 +0000 (07:34 +0000)]
Bug 4342: Update log2lines to Version 1.12b. (Jan Roeloffzen)

svn path=/trunk/; revision=45387

14 years ago- Flesh out more code.
evb [Wed, 3 Feb 2010 03:14:59 +0000 (03:14 +0000)]
- Flesh out more code.
- Support ATAG Linux/ARMBoot architecture defined-structures. These are used by all ARMBoot-compatible loaders (QEmu, U-boot, etc).
- Read RAMDisk, RAM, Command Line from ATAGs (use -append boot-device=RAMDISK).
- Make environment-get function read command-line.
- Allocate RAM memory structure portably.
- Validate board info on boot.

svn path=/trunk/; revision=45386

14 years ago- Implement logical keyboard interface. Converts scan code to ASCII codes (just ok).
evb [Wed, 3 Feb 2010 01:19:26 +0000 (01:19 +0000)]
- Implement logical keyboard interface. Converts scan code to ASCII codes (just ok).
- Implement firmware ConsGetCh based on keyboard interface.
- Implement KMI (Keyboard & Mouse Interface) PL050 driver for Versatile to init PS/2 and read keyboard scancodes. Can now press ENTER/whatever when FreeLDR gives "Cannot find freeldr.ini" error.
- More fixes

svn path=/trunk/; revision=45385

14 years ago[NTOS]: Yet another fix for KiEnterInterruptTrap: Set correct DS/ES before touching...
Sir Richard [Tue, 2 Feb 2010 22:56:13 +0000 (22:56 +0000)]
[NTOS]: Yet another fix for KiEnterInterruptTrap: Set correct DS/ES before touching the TrapFrame.
[NTOS]: Make this operation an inline so any possible future code will not make this mistake twice.
Thanks to Physicus for the bug report.

svn path=/trunk/; revision=45381

14 years ago[FREELDR]
Christoph von Wittich [Tue, 2 Feb 2010 17:28:10 +0000 (17:28 +0000)]
[FREELDR]
fix a typo

svn path=/trunk/; revision=45380

14 years ago- Change ARM loading architecture to match EFI/Firmware model. LLB provides "firmware...
evb [Tue, 2 Feb 2010 17:21:19 +0000 (17:21 +0000)]
- Change ARM loading architecture to match EFI/Firmware model. LLB provides "firmware" routines, FreeLDR obtains "firmware" routines from the ARM block, and sets them as the Machine VTable. All board-specific FreeLDR code gone now.
- Start work on UI. Serial output is now only for debugging, not usual console.
- Need PL045 Keyboard code to handle KbHit/GetCh.
- Have PL011 code ready for MachVideo routines, coming soon...
- Start stub of environment functions.

svn path=/trunk/; revision=45379

14 years agoUpdate Doxyfile to version 1.6.2 with the following changes:
Timo Kreuzer [Tue, 2 Feb 2010 00:23:59 +0000 (00:23 +0000)]
Update Doxyfile to version 1.6.2 with the following changes:
- INHERIT_DOCS enabled
- SEPARATE_MEMBER_PAGES enabled: will prevent incredible huge html files generated from large headers.
- Add *.cc and *.hxx extensions
- REFERENCED_BY_RELATION enabled
- VERBATIM_HEADERS disabled
- ENABLE_PREPROCESSING enabled, so we can see macros, too

svn path=/trunk/; revision=45378

14 years ago- More fixes
evb [Tue, 2 Feb 2010 00:14:14 +0000 (00:14 +0000)]
- More fixes
- Plugin support for booting FreeLDR when used as initrd on QEMU command-line.

svn path=/trunk/; revision=45377

14 years ago- Forgot to change SARCH back to Versatile.
evb [Mon, 1 Feb 2010 21:07:03 +0000 (21:07 +0000)]
- Forgot to change SARCH back to Versatile.

svn path=/trunk/; revision=45376

14 years agoacivate server based search for doxygen
Danny Götte [Mon, 1 Feb 2010 20:16:42 +0000 (20:16 +0000)]
acivate server based search for doxygen

svn path=/trunk/; revision=45375

14 years agoReset a services thread and process ids when the service has been stopped. Fixes...
Eric Kohl [Mon, 1 Feb 2010 19:45:50 +0000 (19:45 +0000)]
Reset a services thread and process ids when the service has been stopped. Fixes one more test.

svn path=/trunk/; revision=45374

14 years ago- Fix bugs.
evb [Mon, 1 Feb 2010 19:28:40 +0000 (19:28 +0000)]
- Fix bugs.
- Enable serial output.

svn path=/trunk/; revision=45373

14 years ago- ARM LLB for OMAP3/Beagle (test with QEMU-Maemo) and Versatile (test with QEMU).
evb [Mon, 1 Feb 2010 18:33:24 +0000 (18:33 +0000)]
- ARM LLB for OMAP3/Beagle (test with QEMU-Maemo) and Versatile (test with QEMU).
- Boots to blue screen with white text to indicate checkpoint.
- More cleanup/work needed.
- Will post Wiki on testing info soon.

svn path=/trunk/; revision=45372

14 years ago- NANDFlash tool for building OMAP3 FLASH Images for DevBoard and QEMU-Maemo.
evb [Mon, 1 Feb 2010 18:29:19 +0000 (18:29 +0000)]
- NANDFlash tool for building OMAP3 FLASH Images for DevBoard and QEMU-Maemo.

svn path=/trunk/; revision=45371

14 years ago[Gdi32]
James Tabor [Mon, 1 Feb 2010 15:13:35 +0000 (15:13 +0000)]
[Gdi32]
- Miscellaneous implementations and forwards.

svn path=/trunk/; revision=45370

14 years ago[ARM]: Fix the ARM build, hopefully without breaking the x86 build in the process...
Sir Richard [Mon, 1 Feb 2010 03:51:45 +0000 (03:51 +0000)]
[ARM]: Fix the ARM build, hopefully without breaking the x86 build in the process. Sorry buds!

svn path=/trunk/; revision=45368

14 years ago[NTOS]: Try to fix KiEnterInterrupt once and for all. Only set segments for V8086...
Sir Richard [Mon, 1 Feb 2010 03:47:42 +0000 (03:47 +0000)]
[NTOS]: Try to fix KiEnterInterrupt once and for all. Only set segments for V8086 or user traps.
[NTOS]: Rework the way traps with possibly dirty DS/ES segments are handled. The FAST V86 hack is gone. Intead, created a "safe" version of IsTrapV86 and IsTrapUser that does an SS segment dereference (known good). The condition is then based on this, and the segments are saved and loaded safely. Note that for GCC 4.5 the ASM can be improved to directly branch or not to a label, instead of returning a boolean that is then further compared before branching.
This will fix certain exceptions that were seen in KeUpdateSystemTime, and might fix the sneaking HalpTrap0D while not in V86 mode (no promises).

svn path=/trunk/; revision=45367

14 years agoGetServiceDisplayNameA/W and GetServiceKeyNameA/W must return an empty String if...
Eric Kohl [Sun, 31 Jan 2010 22:22:50 +0000 (22:22 +0000)]
GetServiceDisplayNameA/W and GetServiceKeyNameA/W must return an empty String if the given Buffer is too small. This fixes 6 tests.

svn path=/trunk/; revision=45366

14 years ago[FORMATTING]
Eric Kohl [Sun, 31 Jan 2010 21:00:45 +0000 (21:00 +0000)]
[FORMATTING]
- Fix indentation. No code changes.

svn path=/trunk/; revision=45364

14 years ago[FORMATTING]
Aleksey Bragin [Sun, 31 Jan 2010 20:35:06 +0000 (20:35 +0000)]
[FORMATTING]
- Reformat dma.c, no code change.

svn path=/trunk/; revision=45363

14 years ago- Implement RCreateServiceA.
Eric Kohl [Sun, 31 Jan 2010 20:28:04 +0000 (20:28 +0000)]
- Implement RCreateServiceA.
- Make CreateServiceA call RCreateServiceA instead of CreateServiceW.

svn path=/trunk/; revision=45362

14 years agoImplement basic version of PNP_CreateKey.
Eric Kohl [Sun, 31 Jan 2010 19:44:02 +0000 (19:44 +0000)]
Implement basic version of PNP_CreateKey.

svn path=/trunk/; revision=45361

14 years ago[MMEBUDDY]
Johannes Anderwald [Sun, 31 Jan 2010 19:09:30 +0000 (19:09 +0000)]
[MMEBUDDY]
- Hackfix corruption of audio buffer list which made the playback thread spin forever on an already played buffer.
- Tested with Winamp / VLC / mplay32 with Vbox 3.1.2

svn path=/trunk/; revision=45360