Commit graph

29529 commits

Author SHA1 Message Date
ReactOS Portable Systems Group f6587f9c6b Fix comments in ksarm.h -- they must be C89.
svn path=/trunk/; revision=32324
2008-02-12 16:32:13 +00:00
ReactOS Portable Systems Group e4d660e795 Write initialization code in assembly -- we load the kernel stack from FreeLDR and jump to C code.
We now have a file for C-code initialization (no reason to use assembly).
We now have some basic TLB routines and intrinsics (not tested).
We also detect if we are running on V4 or V6, and set the TLB and ASID counts respectively.

svn path=/trunk/; revision=32323
2008-02-12 16:22:01 +00:00
Daniel Reimer 22cecfcc97 Beginnings to allow to translate all other Strings. Translators, PLEEASE wait until I am ready before you file Bugs, you can already start to translate, but do not post Bugreports until I am ready adding the last hidden ones.
Thanks to Johannes Anderwald for explaining me why it made more Problems than fix stuff to translate some strings and how to fix it.

svn path=/trunk/; revision=32322
2008-02-12 14:52:36 +00:00
Aleksey Bragin 1565a8ee43 - Kernel's entrypoint is called NtProcessStartup right now, for ReactOS. If this is to be changed, it should be changed for all archs, not only for ARM.
svn path=/trunk/; revision=32321
2008-02-12 13:34:33 +00:00
Johannes Anderwald dd25d44880 - pass the correct path to _strip_gcc_deffile
- automatically create directories for converted def files
- fixes auto-def file generation

svn path=/trunk/; revision=32320
2008-02-12 12:18:23 +00:00
Hervé Poussineau 17e045e905 Fix assertion is pci/fdo.c
svn path=/trunk/; revision=32319
2008-02-12 11:16:05 +00:00
ReactOS Portable Systems Group e5ed1afb69 We now define the cache and id registers in CP15 (C0 Opcode 0 and 1).
We now setup ARM cache information in the loader block.
We now allocate the kernel, interrupt and abort stacks, as well as the idle thread and process, and boot PRCB.
We now allocate the PCR and PDR pages.
We now send the command line to the kernel in the LoaderBlock's load options.

svn path=/trunk/; revision=32318
2008-02-12 09:41:21 +00:00
Daniel Reimer 121e0c645a Bug 3053: some slovak translations by Mario Kacmar, kario@szm.sk
Bug 3051: Italian resources update by Paolo Devoti, devotip@tiscali.it

svn path=/trunk/; revision=32317
2008-02-12 08:44:41 +00:00
ReactOS Portable Systems Group 3e0f927c2c Real fix, this time, hopefully.
svn path=/trunk/; revision=32316
2008-02-12 06:51:39 +00:00
ReactOS Portable Systems Group 1ad36042e5 Fix for x86 build.
svn path=/trunk/; revision=32315
2008-02-12 06:38:41 +00:00
ReactOS Portable Systems Group f537761b8d The kernel entrypoint is called KiSystemStartup, not NtProcessStartup.
On ARM, don't prepend underscore to the kernel entrypoint.
We now correctly jump into the kernel entrypoint, instead of random code!

svn path=/trunk/; revision=32314
2008-02-12 06:15:35 +00:00
ReactOS Portable Systems Group 358d95b0c1 Move the entrypoint and startup code in boot.s.
Write ksarm.h and kxarm.h headers, defining the ARM Assembly ABI.
Rewrite the ARM assembler files we currently have to match the ABI.

svn path=/trunk/; revision=32313
2008-02-12 05:55:12 +00:00
ReactOS Portable Systems Group 76a0229615 fixed math
svn path=/trunk/; revision=32312
2008-02-12 05:07:08 +00:00
ReactOS Portable Systems Group 52fa6c202f Better organize FreeLDR ARM files -- there are no more stubs now. We have the ReactOS kernel loader in loader.c, just like on x86, and the ARM FreeLDR HAL/Mach routines in macharm.c
svn path=/trunk/; revision=32311
2008-02-12 04:22:39 +00:00
ReactOS Portable Systems Group 41af47163d We now have the ARM defines/structures in stubs.c in FreeLDR in more appropriate kernel headers. This is just cleanup work.
svn path=/trunk/; revision=32310
2008-02-12 04:15:53 +00:00
ReactOS Portable Systems Group 40ecc5259a Fix the build.
Your friendly ARM ninjas apologize.

svn path=/trunk/; revision=32309
2008-02-12 03:06:06 +00:00
ReactOS Portable Systems Group 074f4a2517 Fix a couple of MMU bugs (incrementing the base address before writing the PTE and using the wrong start base address).
Virtual memory now works!
FreeLDR now boots into the kernel, at 0x80801000, in KiSystemStartup!

svn path=/trunk/; revision=32308
2008-02-11 23:47:43 +00:00
ReactOS Portable Systems Group 5fff0bd749 We define a region in FreeLDR where we store the initial TTB. We have to align it at a 16KB boundary, and ld loves to crash with such big alignment, so wee manually define it to load at 0x50000. Pray FreeLDR never gets that big (you'd think LD would warn if that section is overwriting others).
Wrote a guideline for what ArmPrepareForReactOS should do and defined the initial ARM loader block and extension.
Wrote the initial MMU code. It's totally busted but after 3 hours of debugging, it doesn't abort anymore!
Cleanups TBD.


svn path=/trunk/; revision=32307
2008-02-11 22:17:15 +00:00
ReactOS Portable Systems Group 5c6d974c05 FORCEINLINE is a lot more...forcefull... now ;-). Previous version didn't always inline as requested.
svn path=/trunk/; revision=32306
2008-02-11 22:13:35 +00:00
ReactOS Portable Systems Group 1740d9743d We now support the ARM Versatile/PB platform, which means qemu-system-arm -M versatilepb is now able to emulate the ARM build of ReactOS.
We now support the PL011 UART, required for console output on the Versatile.
We now define the ARM_LOADER_BLOCK structure, to be used later when FreeLDR passes control to the kernel.

svn path=/trunk/; revision=32305
2008-02-11 20:15:16 +00:00
Christoph von Wittich 0497295d5f fix some warnings in msvc build
svn path=/trunk/; revision=32304
2008-02-11 19:16:02 +00:00
Aleksey Bragin f754465df3 - Minor cleanup.
See issue #3054 for more details.

svn path=/trunk/; revision=32302
2008-02-11 17:45:56 +00:00
Hervé Poussineau be80dacf70 Use dynamic traces
Some cleanup

svn path=/trunk/; revision=32301
2008-02-11 16:54:05 +00:00
Hervé Poussineau b99dafb180 Add support for EXT2 partitions (STILL DISABLED ATM!)
svn path=/trunk/; revision=32300
2008-02-11 16:52:49 +00:00
Hervé Poussineau 532ccf4d6c Display message only if dmDriverExtra != 0
svn path=/trunk/; revision=32299
2008-02-11 16:51:26 +00:00
Hervé Poussineau 965ca6e12f Add Ext2Chkdsk() method (unimplemented at the moment)
svn path=/trunk/; revision=32298
2008-02-11 16:50:10 +00:00
Hervé Poussineau f7a16a268d Bus number can also be stored in resource list header
svn path=/trunk/; revision=32297
2008-02-11 16:49:05 +00:00
Hervé Poussineau d739022e84 Fix warnings
svn path=/trunk/; revision=32296
2008-02-11 16:48:21 +00:00
Hervé Poussineau 4c92de03b5 Add support for ext2.sys driver
svn path=/trunk/; revision=32295
2008-02-11 16:47:21 +00:00
Hervé Poussineau f799562c4c Load ext2.sys driver too
svn path=/trunk/; revision=32294
2008-02-11 16:46:24 +00:00
Hervé Poussineau b9ec75f36e Fix ext2 driver compilation. NOT TESTED YET!
svn path=/trunk/; revision=32293
2008-02-11 16:42:10 +00:00
Hervé Poussineau 4797b6a8d5 Fix ext2 recognizer compilation, but let it disabled atm
svn path=/trunk/; revision=32292
2008-02-11 16:41:25 +00:00
Hervé Poussineau 7b726051e8 Those a __stdcall functions
svn path=/trunk/; revision=32291
2008-02-11 16:27:30 +00:00
Hervé Poussineau d3037c8cdb Display a message when directories are created
svn path=/trunk/; revision=32290
2008-02-11 14:06:37 +00:00
Hervé Poussineau 93ef049ff9 Fix case when $(TEMPORARY) is not the current directory. Fixed with the help of nanotonne (nanotonne at free.fr) on IRC
svn path=/trunk/; revision=32289
2008-02-11 13:43:27 +00:00
Hervé Poussineau 2681f2febc Fix return type
svn path=/trunk/; revision=32288
2008-02-11 13:19:06 +00:00
Hervé Poussineau 4e98dbef17 Fix build
svn path=/trunk/; revision=32287
2008-02-11 13:00:06 +00:00
Hervé Poussineau 8119fedf71 Forgot to add this file...
svn path=/trunk/; revision=32286
2008-02-11 12:54:30 +00:00
Hervé Poussineau 3b8ed580d8 Fix ext2lib compilation
svn path=/trunk/; revision=32285
2008-02-11 12:49:51 +00:00
Hervé Poussineau a3445ec1e4 Add RtlTimeToSecondsSince1970() prototype
svn path=/trunk/; revision=32284
2008-02-11 12:49:21 +00:00
Hervé Poussineau 0ba562cefa Bring back ext2 code from branch
It does not compile yet

svn path=/trunk/; revision=32283
2008-02-11 12:10:35 +00:00
Pierre Schweitzer 4158845308 Deleted ext2 driver
Another one will be merged

svn path=/trunk/; revision=32282
2008-02-11 11:29:54 +00:00
Hervé Poussineau 081ea74484 Use Rule class to generate instructions for .idl files
svn path=/trunk/; revision=32281
2008-02-11 10:55:33 +00:00
Christoph von Wittich 692a3bb08a translate some GreatLordish comments into something more similar to English
svn path=/trunk/; revision=32279
2008-02-10 20:45:56 +00:00
Aleksey Bragin bac34f838d - Revert 32276, since the include guard convention has been changed by 32274.
svn path=/trunk/; revision=32277
2008-02-10 20:09:06 +00:00
Magnus Olsen ccb3b691ce fix unknown.h back as it was
correct fix is to fix ksfilter

svn path=/trunk/; revision=32276
2008-02-10 20:02:26 +00:00
Hervé Poussineau e09d6952b7 Try to fix build
svn path=/trunk/; revision=32275
2008-02-10 20:00:45 +00:00
Hervé Poussineau 00d89c1d5d Use the same include guard in WIDL generated files and MIDL generated files
svn path=/trunk/; revision=32274
2008-02-10 19:47:42 +00:00
Hervé Poussineau b84c9620fb Revert r32271 ; I thought we decided to remove hacks instead of adding new ones!
Correct fix will follow.

svn path=/trunk/; revision=32273
2008-02-10 19:43:05 +00:00
Magnus Olsen 7de9ce4dad remove my hack in wtype.ldl I should not coding when i start fall into sleep
sorry and thx fireball

svn path=/trunk/; revision=32272
2008-02-10 19:40:36 +00:00