Johannes Anderwald [Fri, 10 Dec 2010 08:23:20 +0000 (08:23 +0000)]
[AUDIO-BRINGUP]
- Implement WODM_RESTART / WODM_PAUSE
- Fixes playback in Audacity and many others probably
svn path=/branches/audio-bringup/; revision=49999
Johannes Anderwald [Fri, 10 Dec 2010 07:41:44 +0000 (07:41 +0000)]
[AUDIO-BRINGUP]
- Fix broken wave recording
svn path=/branches/audio-bringup/; revision=49998
Johannes Anderwald [Fri, 10 Dec 2010 06:14:10 +0000 (06:14 +0000)]
[AUDIO-BRINGUP]
- Implement WdmAudResetStreamByMMixer, StopStreamingInSoundThread
- WIDM_RESET / WODM_RESET are now implemented
- Skipping now audio bytes (i.e. jumping to different audio position) now properly works and no longer causes a hang under certain conditions
svn path=/branches/audio-bringup/; revision=49997
Johannes Anderwald [Thu, 9 Dec 2010 11:33:58 +0000 (11:33 +0000)]
[AUDIO-BRINGUP]
- Respect channel count which defines if the control acts uniform or per channel
- Fix bug in MMixerSetGetMuxControlDetails
svn path=/branches/audio-bringup/; revision=49993
Johannes Anderwald [Wed, 8 Dec 2010 19:49:28 +0000 (19:49 +0000)]
[AUDIO-BRINGUP]
- Implement MixerEvent callback in wdmaud.drv
- Comment out assert which is hit in VmWare
- Implement full support mux controls
svn path=/branches/audio-bringup/; revision=49990
Johannes Anderwald [Tue, 7 Dec 2010 22:24:33 +0000 (22:24 +0000)]
- Fix build #2
svn path=/branches/audio-bringup/; revision=49984
Johannes Anderwald [Tue, 7 Dec 2010 22:22:24 +0000 (22:22 +0000)]
- Add temporary hack to prevent MS Sndvol32 from crashing
- Found by smiley
svn path=/branches/audio-bringup/; revision=49983
Johannes Anderwald [Tue, 7 Dec 2010 21:58:43 +0000 (21:58 +0000)]
- Fix compile #1
svn path=/branches/audio-bringup/; revision=49981
Johannes Anderwald [Tue, 7 Dec 2010 21:46:43 +0000 (21:46 +0000)]
- Revert 49927 "Update to trunk" as it breaks KsStudio (again)
svn path=/branches/audio-bringup/; revision=49979
Johannes Anderwald [Tue, 7 Dec 2010 17:46:25 +0000 (17:46 +0000)]
[AUDIO-BRINGUP]
- Silence traces
svn path=/branches/audio-bringup/; revision=49975
Johannes Anderwald [Tue, 7 Dec 2010 15:52:25 +0000 (15:52 +0000)]
[AUDIO-BRINGUP]
- Fix major bug which made change volume / mute requests fail
svn path=/branches/audio-bringup/; revision=49972
Johannes Anderwald [Tue, 7 Dec 2010 15:19:22 +0000 (15:19 +0000)]
[AUDIO-BRINGUP]
- Implement registering source / destination lines + controls of alternative mixers
- Implement support function for retrieving mixer by name
svn path=/branches/audio-bringup/; revision=49970
Johannes Anderwald [Tue, 7 Dec 2010 10:29:57 +0000 (10:29 +0000)]
[AUDIO-BRINGUP]
- Fix error message when mmixer library has failed to initialize
- Remove device handle from MIXER_INFO as a mixer can span over more than one device (i.e. mixer, wave)
- Add device handle to mixer control struct
- Store mixer controls in list than in array. Will later be used to add hacks (i.e wave line must have volume controls etc)
- Add reserved member to topology pin struct and mark used pins as reserved. It is then used to add alternative mixers destination lines
svn path=/branches/audio-bringup/; revision=49967
Johannes Anderwald [Mon, 6 Dec 2010 16:00:06 +0000 (16:00 +0000)]
[AUDIO-BRINGUP]
- Implement support for retrieving mux mixer controls
- Implement support for on/off controls
- Store logical pins for nodes connecting to another nodes. Currently not yet used
svn path=/branches/audio-bringup/; revision=49965
Johannes Anderwald [Mon, 6 Dec 2010 02:15:33 +0000 (02:15 +0000)]
[AUDIO-BRINGUP]
- Implement determination of the channel count for source mixer lines
svn path=/branches/audio-bringup/; revision=49960
Johannes Anderwald [Mon, 6 Dec 2010 01:43:55 +0000 (01:43 +0000)]
[AUDIO-BRINGUP]
- Add advanced flags of KSPROPERTY_MEMBERSHEADER
svn path=/branches/audio-bringup/; revision=49959
Johannes Anderwald [Mon, 6 Dec 2010 01:06:37 +0000 (01:06 +0000)]
[AUDIO-BRINGUP]
- Fix the famous node property handler bug, leading to lots of audio related crashes
svn path=/branches/audio-bringup/; revision=49958
Johannes Anderwald [Sun, 5 Dec 2010 21:31:33 +0000 (21:31 +0000)]
[AUDIO-BRINGUP]
- Remove installation of non-existant wdmaud / sysaudio / kmixer
svn path=/branches/audio-bringup/; revision=49956
Johannes Anderwald [Sun, 5 Dec 2010 18:01:24 +0000 (18:01 +0000)]
[AUDIO-BRINGUP]
- Properly determine the component type and target type of source lines
- Correctly set dwDestination / target type / component member for source lines
svn path=/branches/audio-bringup/; revision=49955
Johannes Anderwald [Sat, 4 Dec 2010 18:53:51 +0000 (18:53 +0000)]
[AUDIO-BRINGUP]
- Fix line ids of source lines
- Fix calculating line id of source lines
- MS sndvol32 is still crashing in user32
svn path=/branches/audio-bringup/; revision=49951
Johannes Anderwald [Sat, 4 Dec 2010 17:45:48 +0000 (17:45 +0000)]
[AUDIO-BRINGUP]
- More fixes for mmixer library
- Store destination lines sharing the same mixer object in the same object
- Fix generating destination lines id / soure lines
- Add mux node for input mixers
- Disable code which checked if the topology node has already been reserved for an another line. Tests in WinXP concluded that ms does not do this at all, though documentation claims it
- Add source line to the correct destination line
- Fix a memory leak
- Fix tons of bugs in MMixerGetLineInfo
svn path=/branches/audio-bringup/; revision=49949
Johannes Anderwald [Fri, 3 Dec 2010 16:49:33 +0000 (16:49 +0000)]
[AUDIO-BRINGUP]
- Pass audio device id to wdmaud.drv callback functions
- Extend VALIDATE_MMSYS_PARAMETER macro
- Handle case when the caller does not pass handle of mixer, but a device id
- Pass device id to mmixer library
- Remove dead code
- MS sndvol32.exe now gets further, but crashes in user32 IntCallMessageProc
svn path=/branches/audio-bringup/; revision=49931
Johannes Anderwald [Fri, 3 Dec 2010 15:05:26 +0000 (15:05 +0000)]
- Update to trunk
svn path=/branches/audio-bringup/; revision=49927
Johannes Anderwald [Fri, 3 Dec 2010 13:37:09 +0000 (13:37 +0000)]
- Merge from trunk
- Hackfixed to build
svn path=/branches/audio-bringup/; revision=49924
Johannes Anderwald [Fri, 3 Dec 2010 13:32:50 +0000 (13:32 +0000)]
- Merge from trunk
- Hackfixed to build
svn path=/branches/audio-bringup/; revision=49923
Johannes Anderwald [Fri, 3 Dec 2010 11:53:15 +0000 (11:53 +0000)]
[AUDIO-BRINGUP]
- Remove wdmaud test code
svn path=/branches/audio-bringup/; revision=49920
Johannes Anderwald [Fri, 3 Dec 2010 11:47:43 +0000 (11:47 +0000)]
[AUDIO-BRINGUP]
- Check if library has already been initialized
- Remove function macro for legacy (wdmaud.sys connection)
svn path=/branches/audio-bringup/; revision=49919
Johannes Anderwald [Fri, 3 Dec 2010 11:14:29 +0000 (11:14 +0000)]
[AUDIO-BRINGUP]
- Fix opening of mixer / midi devices
svn path=/branches/audio-bringup/; revision=49917
Johannes Anderwald [Fri, 3 Dec 2010 03:42:10 +0000 (03:42 +0000)]
[AUDIO-BRINGUP]
- Activate dsound rewrite
svn path=/branches/audio-bringup/; revision=49911
Johannes Anderwald [Fri, 3 Dec 2010 03:39:55 +0000 (03:39 +0000)]
[AUDIO-BRINGUP]
- Enable mmixer library in wdmaud.drv
- Delete unused code
- Don't call wave streaming handler again from the io completion callback. As this will sooner or later will cause crash because the stack got eaten
- Create a thread for each io packet and handle the completion callback within it.
- Audio packets are now directly routed from winmm -> wdmaud.drv -> portcls instead of winmm -> wdmaud.drv -> wdmaud.sys -> sysaudio.sys -> kmixer.sys -> portcls.sys
- Needs more testing & fine tuning, to fixup audio glitches
svn path=/branches/audio-bringup/; revision=49910
Johannes Anderwald [Fri, 3 Dec 2010 03:36:28 +0000 (03:36 +0000)]
[AUDIO-BRINGUP]
- Delete wdmaud, sysaudio, kmixer
svn path=/branches/audio-bringup/; revision=49909
Timo Kreuzer [Thu, 2 Dec 2010 14:37:16 +0000 (14:37 +0000)]
[NTOSKRNL]
patch by Samuel Serapion:
Implement MemorySectionName case for NtQueryVirtualMemory. Protect buffer access with SEH.
See issue #5753 for more details.
svn path=/trunk/; revision=49898
Aleksey Bragin [Tue, 30 Nov 2010 19:14:41 +0000 (19:14 +0000)]
[FINDSTR]
- Port findstr (incomplete, as author of this patch states, it may satisfy RosBE, .c .h and .rc files) from FreeDOS project. Needed for RosBE-on-ReactOS support.
See issue #5724 for more details.
svn path=/trunk/; revision=49875
Aleksey Bragin [Tue, 30 Nov 2010 16:38:53 +0000 (16:38 +0000)]
[CMD]
- Carlo Bramix: MultiByteToWideChar() has just 6 and not 8 parameters, probably it's a forgetten copy/past from WideCharToMultiByte().
- Carlo Bramix: ConvertULargeInteger() should have its parameter 'Len' declared as UINT rather than 'INT'. This fixes a signed/unsigned mismatch warning.
See issue #5678 for more details.
svn path=/trunk/; revision=49873
Aleksey Bragin [Tue, 30 Nov 2010 16:29:49 +0000 (16:29 +0000)]
[DDRAW]
- Jerome Gardou: Almost all of the ddraw->refcount winetests pass. One remains, due to the fact that IdirectDrawSurface::SetPalette is unimplemented. IDirectDraw::Createpalette is implemented too, but needs testing. There are no parameter checks.
- Comments from me: The patch is not build-tested, however I did my best to merge it to existing ddraw and I prefer the actual code to be in the repository rather than hanging in bugzilla for years (last comment to the patch is dated 29.10.2009).
See issue #4909 for more details.
svn path=/trunk/; revision=49872
James Tabor [Mon, 29 Nov 2010 16:48:27 +0000 (16:48 +0000)]
[User32]
- Fixed export for PrintWindow see bug 5466 and 5609.
svn path=/trunk/; revision=49861
Pierre Schweitzer [Sun, 28 Nov 2010 22:33:19 +0000 (22:33 +0000)]
[NTOSKRNL/NEWCC]
Init Dummy var even if just used for debug to suppress warning
svn path=/trunk/; revision=49858
Pierre Schweitzer [Sun, 28 Nov 2010 16:43:40 +0000 (16:43 +0000)]
[DDK]
FsRtlRemoveBaseMcbEntry() return is VOID
svn path=/trunk/; revision=49851
Amine Khaldi [Sun, 28 Nov 2010 16:38:51 +0000 (16:38 +0000)]
[NTOSKRNL/MM]
- Fix the use of an uninitialized variable.
svn path=/trunk/; revision=49850
Pierre Schweitzer [Sun, 28 Nov 2010 16:33:56 +0000 (16:33 +0000)]
[NTOSKRNL]
Never read code & commit while being tired...
svn path=/trunk/; revision=49848
Aleksey Bragin [Sun, 28 Nov 2010 12:10:59 +0000 (12:10 +0000)]
[ATL]
- Ettl Martin: Make CComCriticalSection destructor virtual.
See issue #4975 for more details.
svn path=/trunk/; revision=49840
Timo Kreuzer [Sun, 28 Nov 2010 09:53:22 +0000 (09:53 +0000)]
[CRT]
Fix another typo
svn path=/trunk/; revision=49836
James Tabor [Sun, 28 Nov 2010 01:37:16 +0000 (01:37 +0000)]
[User32]
- Sync up with wine 1.2 rc6 menu so it will pass the tests from rev 47939.
svn path=/trunk/; revision=49834
Timo Kreuzer [Sun, 28 Nov 2010 00:10:02 +0000 (00:10 +0000)]
[CRT]
Fix typos
svn path=/trunk/; revision=49830
Timo Kreuzer [Sat, 27 Nov 2010 22:24:15 +0000 (22:24 +0000)]
revert r49824
svn path=/trunk/; revision=49827
Timo Kreuzer [Sat, 27 Nov 2010 22:12:15 +0000 (22:12 +0000)]
[ASM]
Merge asm related changes from cmake branch.
svn path=/trunk/; revision=49826
Aleksey Bragin [Sat, 27 Nov 2010 21:38:11 +0000 (21:38 +0000)]
[MPRAPI]
- Sync to Wine-1.3.8
See issue #5718 for more details.
svn path=/trunk/; revision=49825
Timo Kreuzer [Sat, 27 Nov 2010 19:02:37 +0000 (19:02 +0000)]
[XML]
Silence a warning on MSVC
svn path=/trunk/; revision=49824
Aleksey Bragin [Thu, 25 Nov 2010 22:03:56 +0000 (22:03 +0000)]
[FREELDR]
- Conditionally enable heap-related debugging and validation checks by an MM_DBG define for all architectures. Inspired by 49744.
svn path=/trunk/; revision=49792
Pierre Schweitzer [Wed, 24 Nov 2010 22:51:03 +0000 (22:51 +0000)]
[NTOSKRNL]
Fix the fix, ie fix x86.
Everything should work now ~
svn path=/trunk/; revision=49790
Sylvain Petreolle [Wed, 24 Nov 2010 20:55:15 +0000 (20:55 +0000)]
[FREELDR]
poor little printf causes boot break, nuff said.
svn path=/trunk/; revision=49789
Sir Richard [Wed, 24 Nov 2010 18:56:35 +0000 (18:56 +0000)]
[NTOS]: Seems like cpsr_c doesn't work in this case? Need to investigate. Put an infinite loop in the entrypoint on ARM.
svn path=/trunk/; revision=49786
Sir Richard [Wed, 24 Nov 2010 18:53:47 +0000 (18:53 +0000)]
[NTOS]: STATUS_SUCCESS is not the only succesful return code.
svn path=/trunk/; revision=49785
Timo Kreuzer [Wed, 24 Nov 2010 18:30:12 +0000 (18:30 +0000)]
[SERVICES]
Fix a typo (|| instead of |). Found by clang.
svn path=/trunk/; revision=49783
Sir Richard [Wed, 24 Nov 2010 18:19:42 +0000 (18:19 +0000)]
[NTOS]: Fix 16-bit interlocked operations on ARM (GCC doesn't provide built-ins). ARM should build now.
svn path=/trunk/; revision=49782
Sir Richard [Wed, 24 Nov 2010 17:49:52 +0000 (17:49 +0000)]
[NTOS]: Some more ARM build and linker fixes, moving some of the new x86 C code into ARM. This should really be shared later.
[NTOS]: Totally broke thread context switching on ARM for now. It's a Good Thing.
svn path=/trunk/; revision=49781
Sir Richard [Wed, 24 Nov 2010 17:26:30 +0000 (17:26 +0000)]
[NDK]: Fix definition of ARM PTE/PDE structure.
[NTOS]: Fix up ARM code to match recent ARM3 changes.
[NTOS]: Do not use initguid inside every single file to zillionplicate the GUIDs! Why doesn't the x86 linker catch this?!!?
[ARMDDK]: Define some spinlock functions.
svn path=/trunk/; revision=49780
Pierre Schweitzer [Wed, 24 Nov 2010 17:24:54 +0000 (17:24 +0000)]
[NTOSKRNL]
That's not because ARM will rule the world on a day that you're obliged to break x86 build.
Fixed build. Will it work? Only God knows.
svn path=/trunk/; revision=49779
Sir Richard [Wed, 24 Nov 2010 16:09:19 +0000 (16:09 +0000)]
[NTOS]: Add MiGetPteOffset for ARM. All of the kernel compiles, but does not link yet.
svn path=/trunk/; revision=49778
Sir Richard [Wed, 24 Nov 2010 16:08:54 +0000 (16:08 +0000)]
[CONFIG]: Instead of having 4 template rbuild configuration files that must be kept in-sync, maybe there should be a generic one that they all inherit from?
[CONFIG]: Add new property settings that exist in x86, but not ARM because nobody added them there. For example, nor cc, nor cache were being built on ARM, because NEWCC was undefined (which isn't treated as 0 by rbuild).
How I long for CMAKE.
svn path=/trunk/; revision=49777
Sir Richard [Wed, 24 Nov 2010 15:41:28 +0000 (15:41 +0000)]
[ARMDDK]: Oh, right, forgot how this was laid out. should fix ARM build.
svn path=/trunk/; revision=49775
Sir Richard [Wed, 24 Nov 2010 15:21:45 +0000 (15:21 +0000)]
[NTOS]: Fix incorrect assumptions that a PDE == PTE which have crept up throughout new ARM3 code.
[NTOS]: Fix a couple more unportable directly "Hard" PTE field accesses, instead of using portable MI macros.
[NTOS]: Cleanup some of the pool code that had really messed up PDE vs PTE.
[NTOS]: Define the number of page directoty levels for ARM.
[NTOS]: Comment out some ARM3 code that won't be needed now that most of the x86 code is in C.
Fixes all but one build error.
svn path=/trunk/; revision=49774
Sir Richard [Wed, 24 Nov 2010 15:18:24 +0000 (15:18 +0000)]
[PSDK/NDK]: Fix KPCR/KIPCR for ARM to match x86 more closely. Add KeGetTickCount for ARM.
svn path=/trunk/; revision=49773
Giannis Adamopoulos [Wed, 24 Nov 2010 14:52:23 +0000 (14:52 +0000)]
[win32k]
-move several user stubs in ntstubs.c
svn path=/trunk/; revision=49772
Sir Richard [Wed, 24 Nov 2010 14:47:08 +0000 (14:47 +0000)]
[NTOS]: Errr... wow! Another one caught by ARM GCC. I can swear x86 GCC used to catch these. Did someone change warning settings? Anyhow, fix a *f++ which increments the pointer, not the value INSIDE the pointer (*f)++. Fixes MiDeleteSystemPageableVm.
svn path=/trunk/; revision=49771
Sir Richard [Wed, 24 Nov 2010 14:39:23 +0000 (14:39 +0000)]
[NTOS]: Erm, why is it that the ARM compiler detects this obvious bug, but x86 does not? Fix missing ShareCount zeroing when unlocking an MDL.
svn path=/trunk/; revision=49770
Giannis Adamopoulos [Wed, 24 Nov 2010 14:13:12 +0000 (14:13 +0000)]
[win32k]
- Remove some unused functions
svn path=/trunk/; revision=49769
Sir Richard [Wed, 24 Nov 2010 14:07:56 +0000 (14:07 +0000)]
[ARMLLB]: Delete deprecated folder
[ARMLLB]: Add missing UART functionality for ZOOM2. Leverages existing CPORT library.
svn path=/trunk/; revision=49768
Timo Kreuzer [Wed, 24 Nov 2010 12:35:51 +0000 (12:35 +0000)]
[KERNEL32]
Revert r49761 on Pierre's request
svn path=/trunk/; revision=49767
Daniel Reimer [Wed, 24 Nov 2010 08:56:20 +0000 (08:56 +0000)]
Updates for Rapps Download Database.
svn path=/trunk/; revision=49766
Pierre Schweitzer [Tue, 23 Nov 2010 23:39:58 +0000 (23:39 +0000)]
[KERNEL32]
- Added real implementation of SetLastError() (instead of forwarding to NTDLL)
- Implemented BaseSetLastNTError()
- Renamed Basep8BitStringToCachedUnicodeString() to Basep8BitStringToStaticUnicodeString() and sightly changed its implementation
- Fixed implementation of LoadLibraryExA() & DisableThreadLibraryCalls() using those changes
This is matching w2k3 implementation. This is of course a WIP.
svn path=/trunk/; revision=49761
Pierre Schweitzer [Tue, 23 Nov 2010 20:05:33 +0000 (20:05 +0000)]
[NTOSKRNL]
Forgotten comments...
svn path=/trunk/; revision=49759
Pierre Schweitzer [Tue, 23 Nov 2010 20:01:04 +0000 (20:01 +0000)]
[NTOSKRNL]
- Implemented FsRtlPTeardownPerFileObjectContexts(), FsRtlLookupPerFileObjectContext(), FsRtlInsertPerFileObjectContext(), FsRtlRemovePerFileObjectContext()
- Stubplemented IoGetFileObjectFilterContext(), IoChangeFileObjectFilterContext()
- Add support of per file object filter context to IopDeleteFile()
As ReactOS doesn't support file objects extensions, this doesn't work (blame Aleksey) - yet
svn path=/trunk/; revision=49758
Sir Richard [Tue, 23 Nov 2010 17:54:11 +0000 (17:54 +0000)]
[FREELDR]: Fix RAM layout assumptions in ARM code.
svn path=/trunk/; revision=49757
Sir Richard [Tue, 23 Nov 2010 17:29:40 +0000 (17:29 +0000)]
[FREELDR]: For *every single heap allocation*, there was code to request an entire *heap statistic run*! This is ridiculous and slows heap allocations tremendously. Additionally, it also assumes bstats was linked in, which it might not be if the flag wasn't set in bheap.c. Only enable this code if a special MM_DBG define is set.
[FREELDR]: Done originally for ARM, but I think x86 will appreciate the benefit too (and x86 can now go ahead and disable all those ridiculous debug settings that are turned on by default in bheap.c).
svn path=/trunk/; revision=49756
Sir Richard [Tue, 23 Nov 2010 17:27:22 +0000 (17:27 +0000)]
[FREELDR]: Cleanup firmware table setup and add support for being booted from a ZOOM2 ARMLLB, and set the correct file system buffer address for that board.
svn path=/trunk/; revision=49755
Sir Richard [Tue, 23 Nov 2010 17:26:31 +0000 (17:26 +0000)]
[FREELDR]: Use PaToVa to set the Hive and NLS data pointers, instead of assuming that KSEG0_BASE | Pa is the correct answer for all architectures.
svn path=/trunk/; revision=49754
Sir Richard [Tue, 23 Nov 2010 17:25:37 +0000 (17:25 +0000)]
[FREELDR]: Headless/EMS support is an x86-specific feature (at least for now, until the code is made portable).
svn path=/trunk/; revision=49753
Sir Richard [Tue, 23 Nov 2010 17:24:59 +0000 (17:24 +0000)]
[FREELDR]: VaToPa/PaToVa are assuming all architectures have VA at PA | KSEG0_BASE. This is not the case. On ZOOM2, DDR RAM starts at 0x80000000 for example, so KSEG0 == VA == PA. Use an ifdef do handle this.
svn path=/trunk/; revision=49752
Sir Richard [Tue, 23 Nov 2010 17:23:47 +0000 (17:23 +0000)]
[FREELDR]: Define FreeLoader module for ARM. Differences with x86 are mostly due to the fact "bootloader" was unfortunately made an x86-specific module type, so we have to use "kernel" to get around that, which thankfully has remained portable.
svn path=/trunk/; revision=49751
Sir Richard [Tue, 23 Nov 2010 17:22:33 +0000 (17:22 +0000)]
[FREELDR]: Put ARM boot code in .init section to guarantee it goes first in the file, as per the linker script.
svn path=/trunk/; revision=49750
Sir Richard [Tue, 23 Nov 2010 17:21:52 +0000 (17:21 +0000)]
[FREELDR]: Add more keycodes.
svn path=/trunk/; revision=49749
Sir Richard [Tue, 23 Nov 2010 17:21:30 +0000 (17:21 +0000)]
[FREELDR]: Add linker script for ARM as well. We drop the relocation section as it shouldn't be needed.
svn path=/trunk/; revision=49748
Sir Richard [Tue, 23 Nov 2010 17:20:20 +0000 (17:20 +0000)]
[NTOS]: Don't put boot.s in "arch" anymore, it's part of "boot" now.
svn path=/trunk/; revision=49747
Sir Richard [Tue, 23 Nov 2010 17:19:52 +0000 (17:19 +0000)]
[FREELDR]: Set load address for ZOOM2, and differentiate Beagle vs ZOOM2.
svn path=/trunk/; revision=49746
Sir Richard [Tue, 23 Nov 2010 17:19:22 +0000 (17:19 +0000)]
[FREELDR]: Add startup file for ARM builds as well, so that _start can be the first function in the file.
svn path=/trunk/; revision=49745
Sir Richard [Tue, 23 Nov 2010 17:17:32 +0000 (17:17 +0000)]
[FREELDR]: On ARM, don't turn on maximum, hyper, ultra-slow debugging and analysis features for the heap. This, for example, reduces FreeLoader's size by 32KB+ and speeds up boot by entire seconds, as the entire heap isn't zeroed out on startup.
[FREELDR]: May I humbly suggest you do the same on x86?!
svn path=/trunk/; revision=49744
Sir Richard [Tue, 23 Nov 2010 17:14:41 +0000 (17:14 +0000)]
[ARMLLB]: Split up support between OMAP3 Beagle and ZOOM2.
[ARMLLB]: Implement ZOOM2 ARMLLB board support package. TWL4030 read/write implemented (through basic I2C on the HS interface), RTC and Keypad Matrix implemented (through TWL4030), NEC WVGA Panel Initialization (through basic SPI interface on the MBPSI), basic clock setup and GPIO access for DSS/DISPC, setup DSS/DISPC for output on the NEC panel. UART implemented through Quad-UART NS16550 compatible chip (using CPORTlib).
[ARMLLB]: Requires having been booted through x-loader+uboot as a kernel image. Will work on directly booting from NAND later.
svn path=/trunk/; revision=49743
Sir Richard [Tue, 23 Nov 2010 16:50:35 +0000 (16:50 +0000)]
[ARMLLB]: Although the soothing BSOD blue color is nice for LLB debugging, we'd really prefer to have black so it looks more natural on the eyes when booting to FreeLoader. As such, make the default backcolor black, but keep the old blue color for early testing, if enabled with a define.
svn path=/trunk/; revision=49742
Sir Richard [Tue, 23 Nov 2010 16:49:28 +0000 (16:49 +0000)]
[ARMLLB]: We made certain assumptions in the "generic" files that are actually board-specific. For example, Versatile does indeed return a strange ULONG as the RTC time (seconds since 1970, I think), but TWL4030 on the ZOOM2 is normal and returns BCD RTC values just like the PC CMOS. Therefore, most of the "Generic" time.c code should move to versatile later. For now, use an IFDEF.
[ARMLLB]: Likewise, not all platforms have a PS/2 controller like the Versatile. ZOOM2 for example has a keypad, so the generic "input" file shouldn't assume keyboard-only. As such, most of the code there should also be made specific, but for now, use an ifdef.
svn path=/trunk/; revision=49741
Sir Richard [Tue, 23 Nov 2010 16:46:30 +0000 (16:46 +0000)]
[ARMLLB]: Include FreeLoader's keycode mappings (which don't seem standard) in ARMLLB, so we can do correct keypad to keycode translation.
[ARMLLB]: Include ReactOS's standard debug.h, which lets us un-redefine DbgPrint, and also gives us goodies like ASSERT and DPRINT1.
svn path=/trunk/; revision=49740
Sir Richard [Tue, 23 Nov 2010 16:45:34 +0000 (16:45 +0000)]
[ARMLLB]: Forgot to commit this earlier: define the ATAG_REVISION header.
svn path=/trunk/; revision=49739
Sir Richard [Tue, 23 Nov 2010 16:44:59 +0000 (16:44 +0000)]
[ARMLLB]: Add the MACHINE_TYPE code for the ZOOM2, based on the standard machtype definitions maintained by the various boot loader communities.
svn path=/trunk/; revision=49738
Sir Richard [Tue, 23 Nov 2010 16:44:19 +0000 (16:44 +0000)]
[ARMLLB]: Initialize hardware before parsing environment variables. This makes more sense, and also allows debug output from the environment scanning code.
svn path=/trunk/; revision=49737
Sir Richard [Tue, 23 Nov 2010 16:43:32 +0000 (16:43 +0000)]
[ARMLLB]: Add uImage header which uBoot expects on the images it can load nicely (using "go" will not give us ATAGs, "bootm" requires this header). It's a static header instead of requiring the mkImage tool, since we can disable data checksums in uBoot. We basically fake being a Linux kernel and the LLB handles the ATAGs.
[ARMLLB]: Add boot stack for Zoom2.
svn path=/trunk/; revision=49736
Sir Richard [Tue, 23 Nov 2010 16:42:00 +0000 (16:42 +0000)]
[ARMLLB]: Add support for ATAG_REVISION.
[ARMLLB]: Fix support of ATAG_MEM: there can be multiple tags, one per DRAM bank.
[ARMLLB]: Fix the default case not to "return": it should "Break" instead.
[ARMLLB]: Only apply the RAMDisk hack on Beagle for now.
svn path=/trunk/; revision=49735
Sir Richard [Tue, 23 Nov 2010 16:40:10 +0000 (16:40 +0000)]
[ARMLLB]: Make DbgPrint compatible so we can use debug.h.
svn path=/trunk/; revision=49734
Sir Richard [Tue, 23 Nov 2010 16:39:14 +0000 (16:39 +0000)]
[HAL]: Make directory/buildfiles for OMAP3-specific HAL. Shared between ZOOM2 and Beagle for now.
svn path=/trunk/; revision=49733
Sir Richard [Tue, 23 Nov 2010 16:36:54 +0000 (16:36 +0000)]
[CRT]: _assert should use DbgRaiseAssertionFailure which is (a) correct and (b) portable, instead of __debugbreak.
svn path=/trunk/; revision=49732
Sir Richard [Tue, 23 Nov 2010 16:36:24 +0000 (16:36 +0000)]
[PSDK]: Add missing DbgRaiseAssertionFailure inline to winnt.h header.
svn path=/trunk/; revision=49731