Commit graph

39287 commits

Author SHA1 Message Date
Timo Kreuzer 2a3e82aae5 [FREELDR]
- Split wlmemory into portable and arch specific code
- Partly implement amd64 version, doesn't work correctly yet

svn path=/branches/ros-amd64-bringup/; revision=43598
2009-10-19 11:29:10 +00:00
Timo Kreuzer 9e1db2627d enable winldr style boot
svn path=/branches/ros-amd64-bringup/; revision=43574
2009-10-18 18:54:40 +00:00
Timo Kreuzer 5fb8f749c4 [FREELDR]
- move wlmemory.c into arch specific folder
- add elmemory.c and ntsetup.c for amd64 (stubbed)

svn path=/branches/ros-amd64-bringup/; revision=43566
2009-10-18 18:29:25 +00:00
Timo Kreuzer 3405cb4728 Add HYPER_SPACE, MI_MAKE_OWNER_PAGE, MI_MAKE_WRITE_PAGE and some globals
svn path=/branches/ros-amd64-bringup/; revision=43564
2009-10-18 18:15:52 +00:00
Timo Kreuzer 29106f47ec fix MmSetAddressRangeModified prototype
svn path=/branches/ros-amd64-bringup/; revision=43563
2009-10-18 17:25:59 +00:00
Timo Kreuzer dfb17b5cd9 Merge trunk (r43561)
svn path=/branches/ros-amd64-bringup/; revision=43562
2009-10-18 17:24:21 +00:00
Timo Kreuzer b6930d4c8d ULONG -> ULONG_PTR
svn path=/branches/ros-amd64-bringup/; revision=43560
2009-10-18 16:39:24 +00:00
Timo Kreuzer cadb3cfe49 Comment out mmebuddy, I currently see no chance compiling this for 64 bit. Please someone fix this.
svn path=/branches/ros-amd64-bringup/; revision=43559
2009-10-18 16:08:31 +00:00
Timo Kreuzer 16ab8ad03b build cardlib only if USERMODE = 1
svn path=/branches/ros-amd64-bringup/; revision=43558
2009-10-18 15:52:07 +00:00
Timo Kreuzer 3213daec4a comment out audio_test for now
svn path=/branches/ros-amd64-bringup/; revision=43557
2009-10-18 15:47:57 +00:00
Christoph von Wittich c3565096d4 sync advapi32 winetest to wine 1.1.31
svn path=/trunk/; revision=43556
2009-10-18 14:57:22 +00:00
Christoph von Wittich 58a1fb8784 add some NULL checks
svn path=/trunk/; revision=43555
2009-10-18 14:47:16 +00:00
Timo Kreuzer d901cd4fbe Add alignment checks to KdpSysReadIoSpace and KdpSysWriteIoSpace
svn path=/branches/ros-amd64-bringup/; revision=43554
2009-10-18 14:36:03 +00:00
Johannes Anderwald 37a6c638aa - Partly revert 43533
svn path=/trunk/; revision=43553
2009-10-18 14:22:00 +00:00
Timo Kreuzer 0fb6c8265c Cleanup kernel init code a bit
svn path=/branches/ros-amd64-bringup/; revision=43552
2009-10-18 14:18:42 +00:00
Stefan Ginsberg 4373ffc102 - Fix error return of EnumPrinterKeyA/W, spotted by janderwald
svn path=/trunk/; revision=43551
2009-10-18 14:04:59 +00:00
Stefan Ginsberg 253122a239 Get rid of MmStats -- most of the fields weren't used anymore and we have duplicates for most of the ones that are still in use;
NrTotalPages -> MmNumberOfPhysicalPages
NrFreePages -> MmAvailablePages (new)
Get rid of NrSystemPages. Its value was only respected in MmInitializePageList at boot, even though it got updated later. Use a local variable in MmInitializePageList instead.

Fix SystemBasicInformation to use the correct variables for physical page information. Also, don't set ResidentSystemCodePage in the SystemPerformanceInformation query to some random incorrect Mm value. We don't depend this value anywhere in ReactOS currently, so just set it to 0.

svn path=/trunk/; revision=43550
2009-10-18 13:55:44 +00:00
Stefan Ginsberg 144f1bc166 - Use DBG_STATUS_CONTROL_C instead of magic "1"
- Add missing KdPollBreakIn + DbgBreakPointWithStatus to ARM initialization
- Fix initialization of the D and I cache fields in the PCR -- it was always setting the second level

svn path=/trunk/; revision=43549
2009-10-18 11:50:34 +00:00
Stefan Ginsberg 7eb77b7780 Patch from David "gigaherz" Quintana: Stub out EnumPrinterKeyA/W, minor fixes by me.
svn path=/trunk/; revision=43548
2009-10-18 01:48:30 +00:00
KJK::Hyperion f0eec39ba8 Update rbuild project file
Fix linker flags

svn path=/trunk/; revision=43547
2009-10-17 21:30:01 +00:00
Christoph von Wittich 002073c923 sync msi to wine 1.1.31
svn path=/trunk/; revision=43546
2009-10-17 21:16:57 +00:00
Christoph von Wittich 72a954c01c fix all gdi32 gdiobj winetests
svn path=/trunk/; revision=43545
2009-10-17 21:04:04 +00:00
Christoph von Wittich e3d7acd1d3 sync shlwapi to wine 1.1.31
svn path=/trunk/; revision=43544
2009-10-17 20:45:32 +00:00
Timo Kreuzer f130d66bcd Add some structure offset macros to asm.h for amd64
svn path=/trunk/; revision=43543
2009-10-17 20:19:42 +00:00
Stefan Ginsberg f38bd8e550 - Fix msvc build broken in 43466 -- please stop hurting msvc, it just wants to be loved (and wants __declspec placed first).
svn path=/trunk/; revision=43542
2009-10-17 20:01:58 +00:00
Christoph von Wittich f4cc76248f sync dialog to wine 1.1.31 (fixes one dialog winetest)
svn path=/trunk/; revision=43541
2009-10-17 20:00:54 +00:00
Christoph von Wittich f4eecb6b90 sync edit to wine 1.1.31
svn path=/trunk/; revision=43539
2009-10-17 19:35:42 +00:00
Timo Kreuzer 0ea1ccb49d disable ROS_LONG64 hack for amd64
svn path=/trunk/; revision=43538
2009-10-17 19:19:22 +00:00
Timo Kreuzer 20a908383b Merge 41030 from amd64 branch
svn path=/trunk/; revision=43537
2009-10-17 19:16:01 +00:00
Christoph von Wittich f9fd097505 [Shell32]: in shell view, use the expected value for the effect in Drag & Drop operation
patch by <eric dot pouech at orange dot fr>

svn path=/trunk/; revision=43536
2009-10-17 19:15:04 +00:00
Timo Kreuzer a9d250c6a6 build kdcom for amd64, too
svn path=/trunk/; revision=43534
2009-10-17 16:34:07 +00:00
Johannes Anderwald ba91ff3d49 - Quick & dirty implementation of WIDM_RESET / WODM_RESET
svn path=/trunk/; revision=43533
2009-10-17 15:08:01 +00:00
Stefan Ginsberg 4bbe9c3785 - ntdll: Remove deprecated LdrpLoadUserModuleSymbols that doesn't actually do anything since the hack in NtSystemDebugControl was removed almost 3 years ago.
- Cc: Remove weird check for DBG or KDBG -- debug code should always be wrapped under #if DBG.

svn path=/trunk/; revision=43532
2009-10-17 15:03:54 +00:00
Hervé Poussineau 1943fae14f Fix warning
svn path=/trunk/; revision=43531
2009-10-17 14:55:50 +00:00
Stefan Ginsberg 9a713108ad - Add STATUS_SUCCESS to asm.h and make use of it.
- Implement Bus and I/O space read and write support.
- Implement support for AUTOENABLE, DISABLE and NOUMEX subparameters to /debug. Add the missing string scan and set and respect the related globals properly. Add support for disabling the debugger and suspending breakpoints.
- Add and implement KdIsThisAKdTrap to determine if the kernel debugger can't ignore a particular trap -- returns true for software breakpoints and debug service calls (DbgPrint for example). Called from KiDispatchException to determine whether to override NOUMEX (otherwise, DbgPrint and friends will kill user mode applications). Stub this for KDBG as it implements its own scheme for ignoring user mode.
- KiDispatchException: Clean up some goto and support NOUMEX. Also don't check if KiDebugRoutine is NULL -- it will never be.
- KdEnableDebuggerWithLock should initialize the debugger even if KdDisableCount is 0 (but only if called internally) as this means that the debugger was never initialized in the first place. Required for AUTOENABLE and for enabling the debugger during a bugcheck. Add the globals to kdbg too but don't set or respect them there as kdbg does not support it.
- Enable KdEnableDebugger and implement KdDisableDebugger for KD as KdDisableDebuggerWithLock is now implemented.
- Only build kdmemsup.c if KDBG is defined.

svn path=/trunk/; revision=43530
2009-10-17 14:31:38 +00:00
Hervé Poussineau 494daf26e9 [freeldr] FAT driver: check for directory attribute before parsing the next part of filename
Implement OpenDirectory mode in FAT driver

svn path=/trunk/; revision=43529
2009-10-17 14:05:34 +00:00
Aleksey Bragin b9e1012f27 [fastfat_new]
- Implement FatiOpenExistingFcb.
- Make FatGetFcbUnicodeName supporting DCBs.
- Implement FF_OpenW wrapper around FullFAT to support opening files/dirs using a unicode name.

svn path=/trunk/; revision=43528
2009-10-17 13:18:29 +00:00
Aleksey Bragin fdaf0acd73 [fastfat_new]
- Search FCBs with unicode name too, besides of OEM.
- Create an infrastructure for opening existing FCB/DCBs.

svn path=/trunk/; revision=43527
2009-10-17 10:57:48 +00:00
Daniel Reimer efa205834d Added 11 new Backs for my bavarian cards dll. Way better than 12 times the same ;-)
svn path=/trunk/; revision=43525
2009-10-17 00:09:51 +00:00
Timo Kreuzer 3a1ea98678 ULONG -> ULONG_PTR when casting handles
svn path=/trunk/; revision=43524
2009-10-16 23:11:28 +00:00
Stefan Ginsberg b3f7a6bd5f Downgrade various debug prints from DPRINT1 to DPRINT, ranging from "useless" to "pretty useless".
svn path=/trunk/; revision=43523
2009-10-16 22:03:38 +00:00
Christoph von Wittich 2def6506a9 fix all msvcrt file winetests
svn path=/trunk/; revision=43522
2009-10-16 21:43:28 +00:00
Christoph von Wittich 821924adcb don't set errno for libcnt
svn path=/trunk/; revision=43521
2009-10-16 21:29:27 +00:00
Christoph von Wittich 59ee8d397a -sync msvcrt_init_io to wine 1.1.31
fixes 12 msvcrt file winetests

svn path=/trunk/; revision=43520
2009-10-16 20:57:00 +00:00
Christoph von Wittich 030837bb5e -fix some msvcrt string winetests
svn path=/trunk/; revision=43519
2009-10-16 20:40:41 +00:00
Christoph von Wittich 0428782362 sync msvcrt winetest with wine 1.1.31
svn path=/trunk/; revision=43518
2009-10-16 20:32:42 +00:00
Aleksey Bragin 9c31ef3801 [fastfat_new]
- Improve FatCreateDcb so that it sets the dir name.
- Implement relative file object open.

svn path=/trunk/; revision=43517
2009-10-16 18:39:38 +00:00
Aleksey Bragin 021a16cdd7 [fastfat_new]
- Implement FatiOpenExistingDir.

svn path=/trunk/; revision=43516
2009-10-16 17:10:12 +00:00
Cameron Gutman 228c572a3f - Add rasadhlp to build and bootcd
svn path=/trunk/; revision=43515
2009-10-16 14:51:35 +00:00
Aleksey Bragin f00df42b5f [fastfat_new]
- Add a function to read the dirent and return status of that object - does it exist, is it a file or a directory.
- Branch according to this in FatiCreate and try to open either an existing file or an existing directory. Directory open is stubbed.

svn path=/trunk/; revision=43513
2009-10-16 13:11:05 +00:00