Commit Graph
39310 Commits
Author SHA1 Message Date
Timo Kreuzer 1987b47110 [KDCOM]
- Check the PacketType only after the whole message was received and just skip the message and restart when it's not what we wanted.

svn path=/branches/ros-amd64-bringup/; revision=43738
2009-10-25 11:37:17 +00:00
Timo Kreuzer 3e678b588b Fix and simplify KdpSysReadControlSpace, hint by Stefan
svn path=/branches/ros-amd64-bringup/; revision=43702
2009-10-23 21:46:49 +00:00
Sylvain Petreolle 62047d7163 comment out svchost.exe, fixes make bootcd.
svn path=/branches/ros-amd64-bringup/; revision=43695
2009-10-23 09:02:21 +00:00
Sylvain Petreolle 6977519692 fix build
svn path=/branches/ros-amd64-bringup/; revision=43694
2009-10-23 08:25:26 +00:00
Timo Kreuzer e7dd98607a [KDCOM]
- only build it when _WINKD_ is set to 1 in the config file
- remove DriverEntry

svn path=/branches/ros-amd64-bringup/; revision=43687
2009-10-22 14:55:26 +00:00
Timo Kreuzer 3958fdef23 Don't truncate Processid to ULONG, spotted by Stefan.
svn path=/branches/ros-amd64-bringup/; revision=43686
2009-10-22 14:08:11 +00:00
Timo Kreuzer d060a35c58 [KDCOM]
- replace KdpDbgPrint with a macro
- remove COM port hack

svn path=/branches/ros-amd64-bringup/; revision=43685
2009-10-22 13:37:01 +00:00
Timo Kreuzer 6887126ab0 use COM2 as DEBUGPORT, COM1 is for plain text debuglog
svn path=/branches/ros-amd64-bringup/; revision=43684
2009-10-22 13:21:50 +00:00
Timo Kreuzer 7b3ff15e56 [KDCOM]
Better handling for breakin packets

svn path=/branches/ros-amd64-bringup/; revision=43683
2009-10-22 11:49:52 +00:00
Timo Kreuzer 77fa09edbe Fix KD_CONTEXT member names.
svn path=/branches/ros-amd64-bringup/; revision=43682
2009-10-22 11:45:49 +00:00
Timo Kreuzer dc3965426c [NTOSKRNL]
- Comment out some instructions in KiRestoreProcessorControlState for now
- move the FreeLdr debugprint hack
- Don't increment RIP on an int3
- improve debugprint for KiInvalidOpcodeFault

svn path=/branches/ros-amd64-bringup/; revision=43677
2009-10-21 23:22:46 +00:00
Timo Kreuzer 9bdbbfde2f [KDCOM]
- send a PACKET_TYPE_KD_RESEND in some more failure cases
- return DataLength in KdReceivePacket
- check the trailing byte
- move some code out of the loop in KdSendPacket
- add a few debugprints, remove some others

svn path=/branches/ros-amd64-bringup/; revision=43676
2009-10-21 21:58:30 +00:00
Timo Kreuzer 8964d1b90e Rework kdcom, try to make it "portable", now in kddll folder, where other versions like kdusb and kd1394 can have a warm place, too. It still has issues.
svn path=/branches/ros-amd64-bringup/; revision=43674
2009-10-21 20:03:27 +00:00
Timo Kreuzer a54b094b78 [NTOSKRNKL]
- add Ke386SetGs, Ke386SetSs macros for amd64
- fix IMAGE_FILE_MACHINE_ARCHITECTURE for amd64, fixes WinDbg kernel version detection
- goto KiSystemStartupReal from KiSystemStartup directly, old boot method is now deprecated

svn path=/branches/ros-amd64-bringup/; revision=43632
2009-10-19 22:49:04 +00:00
Timo Kreuzer dce6e0a371 - use tabs in rbuild file
- comment out mmebuddy for amd64

svn path=/branches/ros-amd64-bringup/; revision=43631
2009-10-19 22:43:14 +00:00
Timo Kreuzer 6478473436 Add midl compiler flags
svn path=/branches/ros-amd64-bringup/; revision=43630
2009-10-19 22:39:23 +00:00
Timo Kreuzer 77bdbbd450 Comment out uniata.sys
svn path=/branches/ros-amd64-bringup/; revision=43610
2009-10-19 17:11:44 +00:00
Timo Kreuzer 1ef46e41d2 add AMD64_LOADER_BLOCK, it currently contains a pointer to freeldrs debugprint function for early debugging
svn path=/branches/ros-amd64-bringup/; revision=43609
2009-10-19 17:06:24 +00:00
Timo Kreuzer 33020c2291 [FREELDR]
- include the intrinsics from the kernel
- set segement selectors

svn path=/branches/ros-amd64-bringup/; revision=43605
2009-10-19 16:19:29 +00:00
Timo Kreuzer 3e799d97d5 [FREELDR]
- Add MempIsPageMapped for debugging puposes
- Map pages for kernel, too in MempSetupPaging
Now we reach the kernel's entry point again.

svn path=/branches/ros-amd64-bringup/; revision=43604
2009-10-19 15:51:57 +00:00
Timo Kreuzer 208a01bc0c [FREELDR]
Round up to pages when updating LoaderPagesSpanned to avoid a bug when the last memory region is not mapped.

svn path=/branches/ros-amd64-bringup/; revision=43602
2009-10-19 15:39:16 +00:00
Timo Kreuzer 6de6d2406a [FREELDR]
- Move definition of KIP0PCRADDRESS into arch specific header
- Implement WinLdrSetupForNt for amd64 (copied x86 version)
- Fix mapping of PCR and KI_USER_SHARED_DATA
- Don't enable paging again, it is already enabled on amd64
- Fix WinLdrSetProcessorContext to take a ULONG_PTR not ULONG for Pcr and Tss

svn path=/branches/ros-amd64-bringup/; revision=43601
2009-10-19 12:50:36 +00:00
Timo Kreuzer 679d356bf3 Fix a bug :D
svn path=/branches/ros-amd64-bringup/; revision=43600
2009-10-19 12:36:10 +00:00
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