Commit graph

37200 commits

Author SHA1 Message Date
ReactOS Portable Systems Group 52fc282ff3 - For one thing, fix build in ARM3/init.c (sorry!)
- Secondly, initialize hyperspace in ARM³ now, at the correct place:
  - Also, create the hyperspace PDE here, and not in FreeLDR, which was incorrect in the first place.
    - This might help booting Windows/WinLDR.
- Install-tested w/ networking, with no issues found, on:
  - Virtual Box 2.4
  - VMWare 6.5
  - QEMU 0.9.0
- PEBKAC?


svn path=/trunk/; revision=41573
2009-06-23 06:39:10 +00:00
ReactOS Portable Systems Group fbca42cd9f - Do not zero out MC_SYSTEM pages if they are "early pages" either. This could cause issues on certain systems where mapping the PFN database required "early pages", and they were zeroed before hyperspace was ready.
- Add a new flag to MmGetContigousPages to specify if these pages should be zeroed or not. Allows the nonpaged pool pages not to get automatically zeroed when allocated (the NP pool allocator can do this by itself later). This allows initial nonpaged pool to be allocated before hyperspace is ready.


svn path=/trunk/; revision=41572
2009-06-23 06:32:11 +00:00
ReactOS Portable Systems Group bb161e9df2 - Do not reformat other people's code simply to reformat it.
svn path=/trunk/; revision=41571
2009-06-23 05:00:48 +00:00
ReactOS Portable Systems Group a0a3c1519e - Revert 41567:
- ARM³ (Alternate ReactOS Memory Management Module) "stuff" is not ACORN Risc Machines (ARM) Port "stuff".
  - We are lucky this user made this change before the rest of the code was checked in -- hyperspace, MDLs, nonpaged pool, kernel stacks, I/O mappings, noncached memory and contigous memory will soon all be built on ARM³ -- good thing this wasn't the case yet!
  - Recommend this user gets banned for reverting code without approval within the 24hr grace period in ReactOS guidelines.
  - If you have a bug to report, use Bugzilla, not your head as a sledgehammer.


svn path=/trunk/; revision=41570
2009-06-23 04:59:32 +00:00
Christoph von Wittich 2cbbe81d25 fix comment IsUserAdmin -> IsUserAnAdmin
svn path=/trunk/; revision=41569
2009-06-22 22:59:30 +00:00
Christoph von Wittich c8ee793546 partial advapi32 sid sync to wine 1.1.24
svn path=/trunk/; revision=41568
2009-06-22 22:54:03 +00:00
Christoph von Wittich 1196d45474 don't build arm stuff on non arm builds
fixes 2nd stage

svn path=/trunk/; revision=41567
2009-06-22 22:48:39 +00:00
Johannes Anderwald 535d640ce0 - define YieldProcessor msvc compatible
- rtl now builds

svn path=/trunk/; revision=41566
2009-06-22 21:07:52 +00:00
KJK::Hyperion 6943f54891 Change <wine/list.h> to use the magic attribute salad for inline functions in headers
svn path=/trunk/; revision=41565
2009-06-22 20:29:48 +00:00
KJK::Hyperion 7c326b484e Don't want to fix all uses of PSEH2 macros, therefore have some curly braces, everyone
svn path=/trunk/; revision=41564
2009-06-22 20:27:16 +00:00
KJK::Hyperion c14238f2a9 Correct placement of calling convention attribute
svn path=/trunk/; revision=41563
2009-06-22 20:25:25 +00:00
KJK::Hyperion c768112083 modified lib/sdk/crt/include/float.h
What the hell has <float.h> to do with S_IFIFO, Arch?

svn path=/trunk/; revision=41562
2009-06-22 20:22:06 +00:00
KJK::Hyperion 7faf270a8a modified lib/rtl/exception.c
Silence unavoidable warning

modified   lib/rtl/generictable.c
   Avoid silenceable warning

svn path=/trunk/; revision=41561
2009-06-22 20:19:06 +00:00
KJK::Hyperion e89c456751 modified dll/win32/kernel32/file/volume.c
modified   dll/win32/kernel32/misc/actctx.c
modified   dll/win32/kernel32/misc/lang.c
   C89 compliance

modified   dll/win32/kernel32/k32.h
   Include <limits.h>

modified   dll/win32/kernel32/misc/res.c
   Hey Arch, instead of copying and pasting definitions from <wine/list.h>, why don't you include it?

svn path=/trunk/; revision=41560
2009-06-22 20:15:42 +00:00
Christoph von Wittich 4f96f16ac2 sync CreateWellKnownSid with wine 1.1.24
svn path=/trunk/; revision=41559
2009-06-22 20:08:05 +00:00
Christoph von Wittich 156d181a79 sync advapi32_winetest with wine 1.1.24
svn path=/trunk/; revision=41558
2009-06-22 20:07:32 +00:00
KJK::Hyperion 223ecea05b #define inline to __inline for Visual C++ when compiling C sources
svn path=/trunk/; revision=41557
2009-06-22 20:03:20 +00:00
KJK::Hyperion 2cdaa146f7 modified dll/ntdll/include/ntdll.h
Explicitly include <pseh/pseh2.h>

modified   dll/ntdll/ldr/utils.c
   Use ANSI C variadic macros, instead of hacks

ntdll now compiles with Visual C++

svn path=/trunk/; revision=41556
2009-06-22 20:00:38 +00:00
Christoph von Wittich b704b9556d sync user32 button with wine 1.1.24
svn path=/trunk/; revision=41555
2009-06-22 19:56:37 +00:00
Christoph von Wittich 1e54de4e07 sync user32_winetest with wine 1.1.24
svn path=/trunk/; revision=41554
2009-06-22 19:52:48 +00:00
Christoph von Wittich edb01fbf5b sync credui with wine 1.1.24
svn path=/trunk/; revision=41553
2009-06-22 19:47:30 +00:00
Christoph von Wittich 075273b3ea sync hhctrl.ocx with wine 1.1.24
svn path=/trunk/; revision=41552
2009-06-22 19:38:47 +00:00
Christoph von Wittich 05a9130669 sync cryptdlg and cryptui with wine 1.1.24
svn path=/trunk/; revision=41551
2009-06-22 19:29:26 +00:00
Christoph von Wittich c7b0db5721 sync crypt32 with wine 1.1.24
svn path=/trunk/; revision=41550
2009-06-22 19:27:02 +00:00
Aleksey Bragin 9152e0286c - Remove padding member from ETHREAD, it's not needed anymore after KTHREAD has been fixed.
svn path=/trunk/; revision=41545
2009-06-22 14:09:16 +00:00
Christoph von Wittich 5c0ec477eb sync advpack and msi with wine 1.1.24
svn path=/trunk/; revision=41544
2009-06-22 14:01:24 +00:00
Christoph von Wittich fe3ce41568 sync jscript_winetest with wine 1.1.24
svn path=/trunk/; revision=41543
2009-06-22 13:51:31 +00:00
Christoph von Wittich e44867e54a sync jscript with wine 1.1.24
svn path=/trunk/; revision=41542
2009-06-22 13:51:07 +00:00
Dmitry Gorbachev debf9f3155 Fix build.
svn path=/trunk/; revision=41541
2009-06-22 13:47:10 +00:00
Dmitry Gorbachev e890438845 Silence warnings.
svn path=/trunk/; revision=41539
2009-06-22 13:37:49 +00:00
Dmitry Gorbachev 8374c07f2d Fix comment.
svn path=/trunk/; revision=41538
2009-06-22 13:28:18 +00:00
Dmitry Gorbachev d103f7f548 [FORMATTING]
svn path=/trunk/; revision=41537
2009-06-22 13:26:12 +00:00
Dmitry Gorbachev 1fcd100e50 Remove unused functions.
svn path=/trunk/; revision=41535
2009-06-22 11:33:19 +00:00
Dmitry Gorbachev ae5cb55a9c - If KDBG is not compiled in, try to use GDB instead.
- Check WrapperTable.KdpPrintRoutine.
- Allow to use GDB (/DEBUGPORT=GDB) and have debug output (/DEBUGPORT=COM1) at the same time.

svn path=/trunk/; revision=41534
2009-06-22 11:32:58 +00:00
Dmitry Gorbachev 30a7c1f02f Change GDB stub.
svn path=/trunk/; revision=41533
2009-06-22 11:32:25 +00:00
Dmitry Gorbachev ce839b70b3 Remove unused stuff.
svn path=/trunk/; revision=41532
2009-06-22 11:31:57 +00:00
ReactOS Portable Systems Group dba96538b8 - Initialize system PTE space.
svn path=/trunk/; revision=41530
2009-06-22 10:22:19 +00:00
ReactOS Portable Systems Group 872b7b4830 - Initialize count of System PTEs:
- Use 7000 for systems with 19MB of RAM or less, 11000 for systems between 19 and 32MB of RAM, and 22000 for systems with more than that.
  - Windows will go up to 50000 on server machines, but this is likely not needed now (22000 system PTEs is roughly 100 MB).
  - This now affects the calculation of MmNonPagedSystemStart, which is now correct and reflects the nonpaged address space of the system.
  - System PTEs are not yet initialized (but their page tables are mapped by the same code which maps nonpaged pool expansion VA page tables).


svn path=/trunk/; revision=41529
2009-06-22 09:34:24 +00:00
ReactOS Portable Systems Group e5cc98dbc4 - Initialize nonpaged pool expansion system PTEs (MiInitializeSystemPtes):
- Just supports expansion space for now, not system space.
  - Very basic initialization of the accounting structures required.
  - Sets up the first two system PTE clusters for the space (the first contains the linkage, the second contains the sizage).
  - Called from MiInitializeArmPool.


svn path=/trunk/; revision=41528
2009-06-22 08:51:28 +00:00
ReactOS Portable Systems Group e980bd998f - Initialize the ARM pool (MiInitializeArmPool):
- Do some additional accounting to keep track of initial nonpaged pool range and size.
  - Create and initialize the free page lists, and free page entries.
  - Validate that the initial nonpaged pool address space was properly mapped.
  - Validate that the expansion nonpaged pool address space is unmapped, and prepare to map it.


svn path=/trunk/; revision=41527
2009-06-22 08:22:41 +00:00
Cameron Gutman 773786eb4c - Revert wininet back to pre-41059
- Fixes random corruption of downloads

svn path=/trunk/; revision=41526
2009-06-22 06:45:21 +00:00
ReactOS Portable Systems Group f2ce1cf66f - Begin the implementation of the ARM Pool Manager, a replacement for the ReactOS nonpaged pool.
- Define the nonpaged system address space as done on Windows (see init.c for a brief introduction and source reading materials on this).
  - Size up the ARM pool as done on Windows (again, see init.c for documentation on this).
  - Create the PDEs for the expansion pool and the initial pool.
  - Allocate the pages for the initial pool, and map them.
    - Unlike ReactOS, ARM³ does the right thing and uses physically continuous pages.
  - Define two new static MEMORY_AREAs for the expansion and initial ARM pool.
  - No actual pool code/implementation is available yet, we are just slicing up the address space for now (mhmm... cake!)*.

* There is no cake.


svn path=/trunk/; revision=41525
2009-06-22 06:16:57 +00:00
ReactOS Portable Systems Group 47122e35e8 - The SVN pre-commit hook is broken: /srv/svn/reactos/hooks/commit-eol-style-check.pl: `/usr/bin/svnlook proplist /srv/svn/reactos -t 41523-w6z --verbose trunk/reactos/ntoskrnl/mm/ARM?\194?\179/init.c' failed with this output:
svnlook: Path 'trunk/reactos/ntoskrnl/mm/ARM?\194?\179/init.c' does not exist.


svn path=/trunk/; revision=41524
2009-06-22 06:13:23 +00:00
ReactOS Portable Systems Group eb4911e3e8 - Add a directory for the Alternative ReactOS Memory Management Module (ARM³), also called the ARM (port) Memory Manager.
svn path=/trunk/; revision=41523
2009-06-22 04:57:21 +00:00
Cameron Gutman 55b816a7c4 - Fix a bug that caused translations of NdisParameterInteger values into unicode strings to produce bad results
- Fix a bug that caused NdisParameterMultiString values to be written to the registry incorrectly

svn path=/trunk/; revision=41522
2009-06-22 01:10:58 +00:00
Cameron Gutman 12b34a994b - Partial rewrite of NdisReadConfiguration
- It now determines the parameter type based on the key instead of the ParameterType passed by the caller (documented on MSDN)
 - It also always sets (*ParameterValue)->ParameterType to NdisParameterInteger when reading an integer or hex integer value (documented on MSDN)
 - This will fix miniport drivers that supply a bogus ParameterType value because it is ignored by NDIS on NT

svn path=/trunk/; revision=41521
2009-06-22 00:49:06 +00:00
KJK::Hyperion 586a1d0fff Move gcc -g and -Wall options out of rbuild and into .rbuild files
Move non-architecture-specific msc options to ReactOS-generic.rbuild

svn path=/trunk/; revision=41520
2009-06-21 22:13:28 +00:00
KJK::Hyperion da2965ea12 Compilers other than GCC deserve offsetof, don't they?
svn path=/trunk/; revision=41519
2009-06-21 21:40:37 +00:00
KJK::Hyperion d38eca89a3 Don't change an std::set in the loop that enumerates it. Patch by Daniel Zimmermann <netzimme@aim.com>
See issue #3128 for more details.

svn path=/trunk/; revision=41518
2009-06-21 21:37:47 +00:00
Johannes Anderwald 46ec0bb579 - Fix a buffer overrun
svn path=/trunk/; revision=41517
2009-06-21 21:35:40 +00:00