reactos.git
13 years ago[CMAKE]
Timo Kreuzer [Sun, 28 Nov 2010 00:47:58 +0000 (00:47 +0000)]
[CMAKE]
Make rapps a win32gui app and link to msvcrt

svn path=/branches/cmake-bringup/; revision=49831

13 years ago[CMAKE]
Timo Kreuzer [Sat, 27 Nov 2010 23:47:10 +0000 (23:47 +0000)]
[CMAKE]
Fix build of msvcsup (add missing file)

svn path=/branches/cmake-bringup/; revision=49829

13 years ago[CMAKE]
Timo Kreuzer [Sat, 27 Nov 2010 23:41:23 +0000 (23:41 +0000)]
[CMAKE]
ML wants /nologo, not /NOLOGO

svn path=/branches/cmake-bringup/; revision=49828

13 years ago[CMAKE]
Timo Kreuzer [Sat, 27 Nov 2010 18:30:39 +0000 (18:30 +0000)]
[CMAKE]
Add an incomplete cmake file for msi

svn path=/branches/cmake-bringup/; revision=49823

13 years ago[MSVCRT]
Timo Kreuzer [Sat, 27 Nov 2010 15:50:53 +0000 (15:50 +0000)]
[MSVCRT]
- Fix forwarded export of GetLocaleInfoW
- Rename _inp & co to MSVCRT__inp, because they are only available as intrinsics on MSVC
- Implement them using the intrinsic

svn path=/branches/cmake-bringup/; revision=49822

13 years ago[CMAKE]
Amine Khaldi [Sat, 27 Nov 2010 15:31:33 +0000 (15:31 +0000)]
[CMAKE]
- Add missing asm dependency.

svn path=/branches/cmake-bringup/; revision=49821

13 years ago[CMAKE]
Amine Khaldi [Sat, 27 Nov 2010 13:05:52 +0000 (13:05 +0000)]
[CMAKE]
- Fix xinput9_1_0

svn path=/branches/cmake-bringup/; revision=49819

13 years ago[CMAKE]
Amine Khaldi [Sat, 27 Nov 2010 12:55:14 +0000 (12:55 +0000)]
[CMAKE]
- Fix xinput1_2

svn path=/branches/cmake-bringup/; revision=49818

13 years ago[CMAKE]
Amine Khaldi [Sat, 27 Nov 2010 12:49:37 +0000 (12:49 +0000)]
[CMAKE]
- Improve kernel32.

svn path=/branches/cmake-bringup/; revision=49817

13 years ago[CMAKE]
Sylvain Petreolle [Sat, 27 Nov 2010 12:46:17 +0000 (12:46 +0000)]
[CMAKE]
Add msvcrt dependencies.

svn path=/branches/cmake-bringup/; revision=49816

13 years ago[CMAKE]
Amine Khaldi [Sat, 27 Nov 2010 12:41:23 +0000 (12:41 +0000)]
[CMAKE]
- Fix msvcrt.

svn path=/branches/cmake-bringup/; revision=49815

13 years ago[INTRIN]
Timo Kreuzer [Sat, 27 Nov 2010 12:36:14 +0000 (12:36 +0000)]
[INTRIN]
Implement _inp, _inpd, _inpw, _outp, _outpd, _outpw as intrinsics, like on MSVC

svn path=/branches/cmake-bringup/; revision=49814

13 years ago[CMAKE]
Amine Khaldi [Sat, 27 Nov 2010 11:27:09 +0000 (11:27 +0000)]
[CMAKE]
- Add ccache support.

svn path=/branches/cmake-bringup/; revision=49813

13 years ago[CMAKE]
Amine Khaldi [Sat, 27 Nov 2010 10:48:44 +0000 (10:48 +0000)]
[CMAKE]
- Comment out what seems to be a missing file.

svn path=/branches/cmake-bringup/; revision=49812

13 years ago[CMAKE]
Amine Khaldi [Sat, 27 Nov 2010 09:00:22 +0000 (09:00 +0000)]
[CMAKE]
- Fix more modules.

svn path=/branches/cmake-bringup/; revision=49811

13 years ago- Fix more dlls.
Amine Khaldi [Sat, 27 Nov 2010 01:16:42 +0000 (01:16 +0000)]
- Fix more dlls.

svn path=/branches/cmake-bringup/; revision=49810

13 years ago- Remove some unneeded pdef files.
Amine Khaldi [Sat, 27 Nov 2010 00:36:28 +0000 (00:36 +0000)]
- Remove some unneeded pdef files.
- Fix some modules now that they use proper startup code.

svn path=/branches/cmake-bringup/; revision=49809

13 years ago[NDK]
Timo Kreuzer [Sat, 27 Nov 2010 00:10:47 +0000 (00:10 +0000)]
[NDK]
Fix syntax for MSVC

svn path=/branches/cmake-bringup/; revision=49808

13 years ago[CMAKE]
Timo Kreuzer [Sat, 27 Nov 2010 00:02:36 +0000 (00:02 +0000)]
[CMAKE]
add a bunch more importlib targets

svn path=/branches/cmake-bringup/; revision=49807

13 years ago- Correct the entry point for win32dll, win32ocx and cpl module types.
Amine Khaldi [Fri, 26 Nov 2010 23:57:03 +0000 (23:57 +0000)]
- Correct the entry point for win32dll, win32ocx and cpl module types.
- Fix acledit.

svn path=/branches/cmake-bringup/; revision=49806

13 years ago[CMAKE]
Timo Kreuzer [Fri, 26 Nov 2010 23:48:07 +0000 (23:48 +0000)]
[CMAKE]
- implicitly link to msvcsup
- set proper entrypoints
- add linkerflags /DLL and /DRIVER

svn path=/branches/cmake-bringup/; revision=49805

13 years ago[CMAKE]
Timo Kreuzer [Fri, 26 Nov 2010 23:45:30 +0000 (23:45 +0000)]
[CMAKE]
Add msvcsup static library for MSVC. This might be superseded by something else later.

svn path=/branches/cmake-bringup/; revision=49804

13 years ago[CMAKE]
Sylvain Petreolle [Fri, 26 Nov 2010 23:33:34 +0000 (23:33 +0000)]
[CMAKE]
Sync with trunk. (r49792)

svn path=/branches/cmake-bringup/; revision=49803

13 years ago[CMAKE]
Sylvain Petreolle [Fri, 26 Nov 2010 23:05:46 +0000 (23:05 +0000)]
[CMAKE]
Add missing asm dependency.

svn path=/branches/cmake-bringup/; revision=49801

13 years ago[MINGW]
Timo Kreuzer [Fri, 26 Nov 2010 22:52:46 +0000 (22:52 +0000)]
[MINGW]
Merge .CRT section into .rdata when linking to mingw lib. This silences the warnings about uninitialized constructors.

svn path=/branches/cmake-bringup/; revision=49799

13 years ago[MINGW]
Timo Kreuzer [Fri, 26 Nov 2010 22:51:06 +0000 (22:51 +0000)]
[MINGW]
Fix .CRT section attributes to avoid linker warning, when merging with .rdata

svn path=/branches/cmake-bringup/; revision=49798

13 years ago[CMAKE]
Timo Kreuzer [Fri, 26 Nov 2010 00:20:29 +0000 (00:20 +0000)]
[CMAKE]
add importlib target for csrsrv

svn path=/branches/cmake-bringup/; revision=49797

13 years ago[CMAKE]
Timo Kreuzer [Fri, 26 Nov 2010 00:01:20 +0000 (00:01 +0000)]
[CMAKE]
No mesa32 for MSVC for now. It has lots of assembly that would need to be ported. It also talkes ages to compile.

svn path=/branches/cmake-bringup/; revision=49796

13 years ago[LIBXML2]
Timo Kreuzer [Thu, 25 Nov 2010 23:16:12 +0000 (23:16 +0000)]
[LIBXML2]
add a hack around the hack

svn path=/branches/cmake-bringup/; revision=49795

13 years ago[CRT]
Timo Kreuzer [Thu, 25 Nov 2010 22:35:57 +0000 (22:35 +0000)]
[CRT]
simplify and fix definition of setjmp

svn path=/branches/cmake-bringup/; revision=49794

13 years ago[CMAKE]
Timo Kreuzer [Thu, 25 Nov 2010 22:14:07 +0000 (22:14 +0000)]
[CMAKE]
Link libjpg explicitly to kernel32 and link to mingw_common on MSVC builds

svn path=/branches/cmake-bringup/; revision=49793

13 years ago[FREELDR]
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

13 years ago[CMAKE]
Timo Kreuzer [Wed, 24 Nov 2010 23:38:19 +0000 (23:38 +0000)]
[CMAKE]
Convert win32k to spec and add importlib target

svn path=/branches/cmake-bringup/; revision=49791

13 years ago[NTOSKRNL]
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

13 years ago[FREELDR]
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

13 years ago[WORDPAD]
Timo Kreuzer [Wed, 24 Nov 2010 20:19:55 +0000 (20:19 +0000)]
[WORDPAD]
Fix rc syntax (multiline strings with \ at the end). This is to compile with MS reasource compiler, we can hope wine will adopt this, because latest versions of gcc's preprocessor also don't support this anymore.

svn path=/branches/cmake-bringup/; revision=49788

13 years ago[NTOS]
Timo Kreuzer [Wed, 24 Nov 2010 20:03:01 +0000 (20:03 +0000)]
[NTOS]
Add some missing intrinsics for MSVC

svn path=/branches/cmake-bringup/; revision=49787

13 years ago[NTOS]: Seems like cpsr_c doesn't work in this case? Need to investigate. Put an...
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

13 years ago[NTOS]: STATUS_SUCCESS is not the only succesful return code.
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

13 years ago[CMAKE]
Timo Kreuzer [Wed, 24 Nov 2010 18:53:07 +0000 (18:53 +0000)]
[CMAKE]
Add importlib targets for glu32, opengl32, rpcrt4

svn path=/branches/cmake-bringup/; revision=49784

13 years ago[SERVICES]
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

13 years ago[NTOS]: Fix 16-bit interlocked operations on ARM (GCC doesn't provide built-ins)...
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

13 years ago[NTOS]: Some more ARM build and linker fixes, moving some of the new x86 C code into...
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

13 years ago[NDK]: Fix definition of ARM PTE/PDE structure.
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

13 years ago[NTOSKRNL]
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

13 years ago[NTOS]: Add MiGetPteOffset for ARM. All of the kernel compiles, but does not link...
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

13 years ago[CONFIG]: Instead of having 4 template rbuild configuration files that must be kept...
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

13 years ago[TASKMGR]
Timo Kreuzer [Wed, 24 Nov 2010 15:59:23 +0000 (15:59 +0000)]
[TASKMGR]
- add #pragma code_page(1252) at the end of some resource files to help msvc's resource compiler
- "Untranslate" a few Japanese strings, as they contain illegal characters. Someone speaking Japanese should retranslate them using proper escape sequences where neccessary.
- Don't include headers twice

svn path=/branches/cmake-bringup/; revision=49776

13 years ago[ARMDDK]: Oh, right, forgot how this was laid out. should fix ARM build.
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

13 years ago[NTOS]: Fix incorrect assumptions that a PDE == PTE which have crept up throughout...
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

13 years ago[PSDK/NDK]: Fix KPCR/KIPCR for ARM to match x86 more closely. Add KeGetTickCount...
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

13 years ago[win32k]
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

13 years ago[NTOS]: Errr... wow! Another one caught by ARM GCC. I can swear x86 GCC used to catch...
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

13 years ago[NTOS]: Erm, why is it that the ARM compiler detects this obvious bug, but x86 does...
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

13 years ago[win32k]
Giannis Adamopoulos [Wed, 24 Nov 2010 14:13:12 +0000 (14:13 +0000)]
[win32k]
- Remove some unused functions

svn path=/trunk/; revision=49769

13 years ago[ARMLLB]: Delete deprecated folder
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

13 years ago[KERNEL32]
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

13 years agoUpdates for Rapps Download Database.
Daniel Reimer [Wed, 24 Nov 2010 08:56:20 +0000 (08:56 +0000)]
Updates for Rapps Download Database.

svn path=/trunk/; revision=49766

13 years ago[CMAKE]
Timo Kreuzer [Wed, 24 Nov 2010 08:55:07 +0000 (08:55 +0000)]
[CMAKE]
Add a number of importlib targets

svn path=/branches/cmake-bringup/; revision=49765

13 years ago[XCOPY]
Timo Kreuzer [Wed, 24 Nov 2010 08:51:44 +0000 (08:51 +0000)]
[XCOPY]
Fix Swedish resource file syntax

svn path=/branches/cmake-bringup/; revision=49764

13 years ago[PSDK]
Timo Kreuzer [Wed, 24 Nov 2010 08:48:34 +0000 (08:48 +0000)]
[PSDK]
Fix compilation of ctfutb.idl with widl

svn path=/branches/cmake-bringup/; revision=49763

13 years ago[PSDK]
Timo Kreuzer [Wed, 24 Nov 2010 00:27:08 +0000 (00:27 +0000)]
[PSDK]
- Add a workaround to dispex.idl to prevent sal annotations to be generated. A better solution would be to have definitions in pur headers, but they conflict with external c++ headers.
- Add a number of missing interfaces
- Fix MIDL compilation of mlang, by adding adding a library definition

svn path=/branches/cmake-bringup/; revision=49762

13 years ago[KERNEL32]
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

13 years ago[NTOSKRNL]
Pierre Schweitzer [Tue, 23 Nov 2010 20:05:33 +0000 (20:05 +0000)]
[NTOSKRNL]
Forgotten comments...

svn path=/trunk/; revision=49759

13 years ago[NTOSKRNL]
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

13 years ago[FREELDR]: Fix RAM layout assumptions in ARM code.
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

13 years ago[FREELDR]: For *every single heap allocation*, there was code to request an entire...
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

13 years ago[FREELDR]: Cleanup firmware table setup and add support for being booted from a ZOOM2...
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

13 years ago[FREELDR]: Use PaToVa to set the Hive and NLS data pointers, instead of assuming...
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

13 years ago[FREELDR]: Headless/EMS support is an x86-specific feature (at least for now, until...
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

13 years ago[FREELDR]: VaToPa/PaToVa are assuming all architectures have VA at PA | KSEG0_BASE...
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

13 years ago[FREELDR]: Define FreeLoader module for ARM. Differences with x86 are mostly due...
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

13 years ago[FREELDR]: Put ARM boot code in .init section to guarantee it goes first in the file...
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

13 years ago[FREELDR]: Add more keycodes.
Sir Richard [Tue, 23 Nov 2010 17:21:52 +0000 (17:21 +0000)]
[FREELDR]: Add more keycodes.

svn path=/trunk/; revision=49749

13 years ago[FREELDR]: Add linker script for ARM as well. We drop the relocation section as it...
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

13 years ago[NTOS]: Don't put boot.s in "arch" anymore, it's part of "boot" now.
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

13 years ago[FREELDR]: Set load address for ZOOM2, and differentiate Beagle vs ZOOM2.
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

13 years ago[FREELDR]: Add startup file for ARM builds as well, so that _start can be the first...
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

13 years ago[FREELDR]: On ARM, don't turn on maximum, hyper, ultra-slow debugging and analysis...
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

13 years ago[ARMLLB]: Split up support between OMAP3 Beagle and ZOOM2.
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

13 years ago[ARMLLB]: Although the soothing BSOD blue color is nice for LLB debugging, we'd reall...
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

13 years ago[ARMLLB]: We made certain assumptions in the "generic" files that are actually board...
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

13 years ago[ARMLLB]: Include FreeLoader's keycode mappings (which don't seem standard) in ARMLLB...
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

13 years ago[ARMLLB]: Forgot to commit this earlier: define the ATAG_REVISION header.
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

13 years ago[ARMLLB]: Add the MACHINE_TYPE code for the ZOOM2, based on the standard machtype...
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

13 years ago[ARMLLB]: Initialize hardware before parsing environment variables. This makes more...
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

13 years ago[ARMLLB]: Add uImage header which uBoot expects on the images it can load nicely...
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

13 years ago[ARMLLB]: Add support for ATAG_REVISION.
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

13 years ago[ARMLLB]: Make DbgPrint compatible so we can use debug.h.
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

13 years ago[HAL]: Make directory/buildfiles for OMAP3-specific HAL. Shared between ZOOM2 and...
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

13 years ago[CRT]: _assert should use DbgRaiseAssertionFailure which is (a) correct and (b) porta...
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

13 years ago[PSDK]: Add missing DbgRaiseAssertionFailure inline to winnt.h header.
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

13 years ago[WINE]: Fix non-x86 versions of Wine's push/pop exception frame macro.
Sir Richard [Tue, 23 Nov 2010 16:35:48 +0000 (16:35 +0000)]
[WINE]: Fix non-x86 versions of Wine's push/pop exception frame macro.

svn path=/trunk/; revision=49730

13 years ago[CRT]: Define JBLEN and JBTYPE for ARM, based on the Windows ARM CRT source code...
Sir Richard [Tue, 23 Nov 2010 16:35:13 +0000 (16:35 +0000)]
[CRT]: Define JBLEN and JBTYPE for ARM, based on the Windows ARM CRT source code (public).

svn path=/trunk/; revision=49729

13 years ago[NTOS]: Define portable MI_MAKE_ACCESSED_PAGE macro.
Sir Richard [Tue, 23 Nov 2010 16:34:30 +0000 (16:34 +0000)]
[NTOS]: Define portable MI_MAKE_ACCESSED_PAGE macro.
[NTOS]: Fix MiDetermineUserGlobalPteMask to account ARM, where the PDE and PTE formats are different.
[NTOS]: Fix MiDetermineUserGlobalPteMask to use portable PTE macros instead of hard-coding x86-only fields.

svn path=/trunk/; revision=49728

13 years ago[ARM]: The text section is called ".text", not "text". This caused any ARM assembly...
Sir Richard [Tue, 23 Nov 2010 16:33:29 +0000 (16:33 +0000)]
[ARM]: The text section is called ".text", not "text". This caused any ARM assembly to create a new section in the PE and waste 4KB.

svn path=/trunk/; revision=49727

13 years ago[NTOS]: Bugfixes for the I/O Controller Object.
Sir Richard [Tue, 23 Nov 2010 16:32:56 +0000 (16:32 +0000)]
[NTOS]: Bugfixes for the I/O Controller Object.

svn path=/trunk/; revision=49726

13 years ago[ARM]: Our new target is the ZOOM2 OMAP3, instead of Beagle (but we'll keep testing...
Sir Richard [Tue, 23 Nov 2010 16:32:18 +0000 (16:32 +0000)]
[ARM]: Our new target is the ZOOM2 OMAP3, instead of Beagle (but we'll keep testing both).

svn path=/trunk/; revision=49725

13 years ago[PSDK]
Sylvain Petreolle [Tue, 23 Nov 2010 16:08:39 +0000 (16:08 +0000)]
[PSDK]
Comment out specstrings.h inclusion in windef.h as per Timo's request.
Fixes build.

svn path=/trunk/; revision=49724

13 years ago[PSDK]
Timo Kreuzer [Tue, 23 Nov 2010 11:47:50 +0000 (11:47 +0000)]
[PSDK]
Don't define __in and __null on c++ build. as long as we keep using host headers, this won't work

svn path=/trunk/; revision=49723