Commit graph

23238 commits

Author SHA1 Message Date
Alex Ionescu 58809635ad - Raw test app for DbgUi+Dbgk Debugging Subsystem (skeletal, and doesn't test Win32 APIs).
svn path=/trunk/; revision=24988
2006-11-30 09:54:31 +00:00
Alex Ionescu 3b4c74ae10 - Client IDs were OK, I incorrectly assumed they weren't due to the concidence they were equal to the thead/process handles. Actual bug was NtDebugContinue not accepting a valid status value. This is fixed now.
svn path=/trunk/; revision=24987
2006-11-30 09:30:07 +00:00
Alex Ionescu cca4a71164 - Fix some bugs in NtWaitForDebugEvent which caused debug events to be sent in the wrong order and also more then one event to be sent at the same time (and thus some events skipped).
- Test app now properly receives the "create process" event along with valid process/thread handles and the image base. No file handle sent yet because of the I/O Manager File Object bug.
- There's still a bug in NtContinueDebugEvent due to wrong Client IDs being sent.

svn path=/trunk/; revision=24986
2006-11-30 09:22:07 +00:00
Alex Ionescu ef1120e56b - Fix DbgkSectionHandleToFileHandle.
- Implement MmGetFileNameForSection.
- There is a bug in ObQueryNameString for file objects, so the full name isn't returned...

svn path=/trunk/; revision=24985
2006-11-30 05:22:20 +00:00
Alex Ionescu d4cf4b1b58 - Fix a bug in NtWaitForDebugEvent.
- Dbgk kindaaaa works now, as a proof-of-concept more then anything else since some helper Mm routines are missing. Still have some bugs to fix, but connecting, attaching and waiting on events seems not to crash anymore (And returns partially valid data).

svn path=/trunk/; revision=24984
2006-11-30 04:52:22 +00:00
Alex Ionescu e6463c5a34 - Implement an unhandled case in DbgkSetProcessDebugPort. The event queue is now properly parsed during connect and the event is signaled to start flushing the queue.
- Still got some bugs, but attach works...

svn path=/trunk/; revision=24983
2006-11-30 04:45:01 +00:00
Magnus Olsen d1e6b52baa forgot this file
svn path=/trunk/; revision=24982
2006-11-30 04:35:10 +00:00
Alex Ionescu d83fcae7d1 - Forgot to actually initialize Dbgk during system initialization, so any API would crash.
- Fix some stupid bugs in NtCreateDebugObject.
- Add tracing framework and add tracing to all of debug.c.
- Dbgk *almost* works: http://www.tinykrnl.org/dbgworking.png. Here I attach to services.exe and the kernel is sending notifications for all threads and DLLs loaded.

svn path=/trunk/; revision=24981
2006-11-30 04:16:35 +00:00
Alex Ionescu 2a4049fdfc - Implement DbgkPostFakeThreadMessages.
- Add Dbgk-calls to NtMap/UnmapViewOfSection to nodify debugging services of new DLL image load.
- Dbgk support is now skeletally complete, I will write a simple test app to test some functionality and start finding/fixing bugs.

svn path=/trunk/; revision=24980
2006-11-30 01:57:25 +00:00
Eric Kohl 9ceed92dda Move global variables into a struct that is attached to the property sheet page dialog.
svn path=/trunk/; revision=24979
2006-11-29 23:03:18 +00:00
Johannes Anderwald bb39bd7162 - implement a basic scanning dection algorithm
- please review :P

svn path=/trunk/; revision=24978
2006-11-29 22:49:16 +00:00
Alex Ionescu b906fae81e - Add profil.c and stub HalStartProfileInterrupt, HalStopProfileInterrupt and HalSetProfileInterval, and export these functions.
- KdComPortInUse is exported by HAL, not kdcom, so make the change.
- Register the KD support routines that kdcom on NT uses and implement most of them (except support for PCI Debug Cards).
- I can now get Windows to recognize the HAL but it freezes during loading (Due to broken IRQL implementation) and WinDBG won't connect to it.

svn path=/trunk/; revision=24977
2006-11-29 22:12:50 +00:00
Magnus Olsen 893be43835 1. adding surface callbacks stub, and activate them.
2. Finish the mix betwin HAL and HEL that we can do for now. 
3. Finish the switch betwin HAL and HEL that we can do for now. 
4. mange activate a DDCALLBACKS stub that was not posible before with wine ddraw.h header. after I wrote a new ddraw.f header for ReactOS, it works to actiavte FlipToGDISurface  HEL callbacks. But it is stub for moment. 

svn path=/trunk/; revision=24976
2006-11-29 22:09:52 +00:00
Johannes Anderwald 93c26f0ab5 - beginning of a def conversion utility
svn path=/trunk/; revision=24975
2006-11-29 21:08:15 +00:00
Alex Ionescu 358a8ed849 - Don't freeze on spurious interrupt.
svn path=/trunk/; revision=24974
2006-11-29 19:23:06 +00:00
Alex Ionescu 37d156c4c8 - Swap the IDT where we should, in KiSystemStartup instead of the freeldr.c hackfile. This, coupled with the previous patch, should make NTLDR-booting even more succesful since interrupts won't crash/be ignored.
svn path=/trunk/; revision=24973
2006-11-29 19:20:17 +00:00
Alex Ionescu 96d593c9ba - Finally figured out a way to make the old HAL IRQ implementation work with the new Ke Interrupt implementation without requiring my new HAL IRQ code (which doesn't work).
- Remove the "deprecated" directory from ntoskrnl since it now truly is.
- Remove KeInitInterrupts hack.
- Remove KiDispatchInterrupt2 export hack from kernel and stop using it from the HAL.
- HAL can now be built/tested with Windows/TinyKRNL since the export hack is gone and interrupts are sent properly through the IDT.
- Remove a bunch of completed krnlfun entries.
- Fix progressbar during bootcd bug.

svn path=/trunk/; revision=24972
2006-11-29 19:13:12 +00:00
Magnus Olsen 495e62c516 fixing more of dections of DDCREATE_HARDWAREONLY and DDCREATE_EMULATIONONLY,
we are now swicting betwin mix HEL and HAL, only HAL, or only HEL. But this is not complete yet

svn path=/trunk/; revision=24971
2006-11-29 19:12:06 +00:00
Magnus Olsen 1d4d4056b4 fixing some of the mix betwin hel and hal. (still not complete)
fixing some of dections of DDCREATE_HARDWAREONLY and DDCREATE_EMULATIONONLY,
we are now swicting betwin mix HEL and HAL, only HAL, or only HEL. But this is not complete yet
adding more comment so i do not forget in startuphal

svn path=/trunk/; revision=24970
2006-11-29 18:51:04 +00:00
Alex Ionescu 9f841739ff - Fix again
svn path=/trunk/; revision=24969
2006-11-29 17:57:56 +00:00
Alex Ionescu f675588849 - Properly fix boot/build.
svn path=/trunk/; revision=24968
2006-11-29 17:35:15 +00:00
Christoph von Wittich 09f6f9fded skip binutils detection when no build date is returned (fix linux build)
svn path=/trunk/; revision=24967
2006-11-29 15:55:17 +00:00
Johannes Anderwald b74888ef0d - fix build (commenting out calls)
svn path=/trunk/; revision=24966
2006-11-29 12:36:33 +00:00
Johannes Anderwald 76a4c9efc1 - fix build (commenting out calls)
svn path=/trunk/; revision=24965
2006-11-29 10:19:00 +00:00
Alex Ionescu d466efb4fb - Fixup all the file headers with proper paths and authors.
- Move sysbus.c contents (a 4 line function) into bus.c.
- Unify initialization code.
- Delete and disable stall execution calibration (currently using the default). Will implement later in a more precise manner (this routine was bizarly setting the MHz of the CPU in the PRCB in some cases...).

svn path=/trunk/; revision=24964
2006-11-29 08:28:20 +00:00
Alex Ionescu f09a042483 - Implement a working version of KeQueryPerformanceCounter based on the C implementation (without the strange MHZed-based code) and also support updating the performance timer during a clock interrupt, otherwise the value might become stale during the query.
- Update clock interrupt handler to update the performance counter, and also detect if someone changed the clock rate (but don't yet support this).
- Test app from previous revision now works beautifully.

svn path=/trunk/; revision=24963
2006-11-29 08:01:58 +00:00
Alex Ionescu 7cd2e3f498 - There's no such thing as Phase 2 HAL init.
- Only map the 0x0 physical address in HalpReboot when enabling warm-reboot, there's no need to map it during init and keep it allocated during the whole time.

svn path=/trunk/; revision=24962
2006-11-29 07:32:27 +00:00
Alex Ionescu 9b7daac048 - Test for High-Precision Timer (QueryPeformanceCounter). Verifies everything from the Win32 implementation to system call speed to HAL timer accuracy and functionality. Currently fails.
svn path=/trunk/; revision=24961
2006-11-29 07:31:25 +00:00
Johannes Anderwald 20dd3542a2 new / update french translations
See issue #1889 for more details.

svn path=/trunk/; revision=24960
2006-11-29 06:50:14 +00:00
Johannes Anderwald 89ba98d32c new / update french translations
See issue #1889 for more details.

svn path=/trunk/; revision=24959
2006-11-29 06:46:16 +00:00
Christoph von Wittich 4b21ce3c1f Renamed remotely
svn path=/trunk/; revision=24958
2006-11-29 00:38:07 +00:00
Christoph von Wittich c5cd59c583 fix compilation of RC files
svn path=/trunk/; revision=24957
2006-11-28 23:46:26 +00:00
Magnus Olsen 94ef0f9c47 tempary fix : adding HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session
Manager\Environment\PROCESSOR_ARCHITECTURE =x86 fixing some installer like WinPcap, this should freeldr setup up
not be hardcode here. 

svn path=/trunk/; revision=24956
2006-11-28 22:56:08 +00:00
Johannes Anderwald 1a9cad6cd0 revert commit
svn path=/trunk/; revision=24955
2006-11-28 22:04:31 +00:00
Johannes Anderwald 3e8791008e oops i did it again
svn path=/trunk/; revision=24954
2006-11-28 21:46:54 +00:00
Magnus Olsen ba66be6c8d start fixing dections of DDCREATE_HARDWAREONLY and DDCREATE_EMULATIONONLY,
we are now swicting betwin mix HEL and HAL, only HAL, or only HEL. But this is not complete yet

svn path=/trunk/; revision=24953
2006-11-28 21:45:51 +00:00
Johannes Anderwald 5acd4a4cc2 - shuffle resource files a bit
- a priori:
- mea culpa 
- hominem est erratum

svn path=/trunk/; revision=24952
2006-11-28 21:44:53 +00:00
Johannes Anderwald 8b802cd4a8 - mea culpa
- hominem est erratum

svn path=/trunk/; revision=24951
2006-11-28 21:30:54 +00:00
Magnus Olsen b3bfeea3b4 fixing some of the mix betwin hel and hal. (still not complete)
svn path=/trunk/; revision=24950
2006-11-28 21:28:12 +00:00
Johannes Anderwald 2eded5bfd7 - shuffle resource files a bit
svn path=/trunk/; revision=24949
2006-11-28 21:20:25 +00:00
Magnus Olsen 4ce5377130 prepare work for StartDirectDrawHel Now I need write stub for each HEL that we do not have. I slather all this HEL even partly working once, when I did redesign ReactOS ddraw.
svn path=/trunk/; revision=24948
2006-11-28 21:14:30 +00:00
Johannes Anderwald efd9b25185 - shuffle resource files a bit
svn path=/trunk/; revision=24947
2006-11-28 21:07:03 +00:00
Johannes Anderwald 289358813b - shuffle resource files a bit
svn path=/trunk/; revision=24946
2006-11-28 20:55:29 +00:00
Magnus Olsen 6448d0948e fixing a bug in Create_DirectDraw, did call on Main_DirectDraw_Initialize, but that function have been rewriten, and did not working as the old one.
svn path=/trunk/; revision=24945
2006-11-28 20:52:22 +00:00
Johannes Anderwald 40c598fe5b - shuffle resource files a bit
svn path=/trunk/; revision=24944
2006-11-28 20:48:52 +00:00
Johannes Anderwald adebc4d2f4 - shuffle resource files a bit
svn path=/trunk/; revision=24943
2006-11-28 20:39:07 +00:00
Johannes Anderwald 50d5129634 - shuffle resource files a bit
svn path=/trunk/; revision=24942
2006-11-28 20:26:23 +00:00
Magnus Olsen eefba2cf76 fixing some of the mix betwin hel and hal. (still not complete)
svn path=/trunk/; revision=24941
2006-11-28 20:22:02 +00:00
Johannes Anderwald 1d46571e84 - shuffle resource files a bit
svn path=/trunk/; revision=24940
2006-11-28 20:19:18 +00:00
Johannes Anderwald 79d3164089 - move resource files
svn path=/trunk/; revision=24939
2006-11-28 20:06:41 +00:00