Commit graph

160 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 24abb04676 [KDCOM]
Fixes COM port debugging output with Virtual PC 2007. See r57781 for more details.

CORE-4247 #comment Fixed also in r57782.

svn path=/trunk/; revision=57782
2012-11-29 10:26:00 +00:00
Hermès Bélusca-Maïto 6f57060555 [KDDLL]
- Use cportlib for COM port facilities. Fixes COM port debugging output with Virtual PC 2007.
- Remove now unneeded header file.

CORE-4247 #comment Fixed in r57776, r57777, r57780 and r57781. #resolve

svn path=/trunk/; revision=57781
2012-11-28 23:23:54 +00:00
Amine Khaldi 2a0e108e5b [CMAKE]
* Prefer STREQUAL over MATCHES since we're comparing with strings here. Brought to you by Hermès Bélusca.
See issue #7306 for more details.

svn path=/trunk/; revision=57181
2012-08-27 18:58:27 +00:00
Jérôme Gardou 4bdb6a42f2 [CMAKE]
* unify spec2def and add_importlib_target
* use module name instead of spec file name for deciding importlib target name

svn path=/trunk/; revision=56081
2012-03-07 21:21:27 +00:00
Amine Khaldi 818418643e * Rbuild, our build system, has served us well so far, but its usefulness has since been vastly overshadowed by its awfulness. It's time to fix it.
svn path=/trunk/; revision=55855
2012-02-25 17:23:37 +00:00
Amine Khaldi 459a045652 [CMAKE]
* Simplify the way we handle importlib targets by taking control of the importlib name.

svn path=/trunk/; revision=55764
2012-02-20 22:08:14 +00:00
Dmitry Gorbachev 4ce30245de [NTOSKRNL|KDCOM]
Allow to specify the serial port address, as requested by people on the forum.

svn path=/trunk/; revision=54473
2011-11-22 02:30:16 +00:00
Timo Kreuzer 2aa7014184 [KDCOM]
Improve a debug print

svn path=/trunk/; revision=53684
2011-09-11 08:56:38 +00:00
Timo Kreuzer cb83086870 [NMIDEBUG]
Fix amd64 build

svn path=/trunk/; revision=53460
2011-08-26 20:05:58 +00:00
Timo Kreuzer a522726b1e [CMAKE]
- fix usage of set_entrypoint
- link libpng to ntdll on amd64
- build crtdll and nmidebug only on x86
- silence some linker warnings on MSVC
- compile riched20/msvc-thiscall.c only on x86
- Add WIN64 definition to acpica
- Add ehandler.c to libcntpr

svn path=/trunk/; revision=53396
2011-08-23 08:13:33 +00:00
Amine Khaldi e0cbe302ee * Include NDK headers on-demand.
svn path=/trunk/; revision=53265
2011-08-15 17:12:19 +00:00
Olaf Siejka afc124a8c2 [KDCOM]
Increase KdpStallScaleFactor by a factor of 10. Fixes initial delay of debug output on faster PCs with WinDBG.

svn path=/trunk/; revision=52514
2011-07-03 10:13:53 +00:00
Timo Kreuzer fe0d2f6e05 [KDCOM]
Fix a typo

svn path=/trunk/; revision=52488
2011-06-28 15:15:28 +00:00
Timo Kreuzer a4f75706d0 [KDCOM]
Revert r52482, it didn't really work. Instead grab the StallScaleFactor from the PCR and use this as a base for the repeat count.

svn path=/trunk/; revision=52487
2011-06-28 15:12:02 +00:00
Timo Kreuzer 0f06493485 [KDCOM]
Use KeStallExecutionProcessor, once its ready (after KdDebuggerInitialize1 was called) for the receive timeout. Repeat 100 times with 1 ms wait. This seems to work quite well, but might be tuned for better values.

svn path=/trunk/; revision=52482
2011-06-27 16:51:00 +00:00
Timo Kreuzer 871ee92c7b [CMAKE]
revert r52460, r52463, r52468 on behalf of Jerome
it wrongly gave name decorations to export

svn path=/trunk/; revision=52473
2011-06-26 21:29:55 +00:00
Jérôme Gardou 01a4049405 [CMAKE]
- unify spec2def and add_importlib_target, thanks to cmake_parse_arguments.
  - also generate stub files only when necessary.
  - better precompiled header support, commented out as it wasn't tested on any other machine than mine, and it depends on cmake features which don't exist yet.
For now only for gcc toolchain

svn path=/trunk/; revision=52460
2011-06-25 18:34:03 +00:00
Amine Khaldi 454d9856e3 [CMAKE]
* Add winkd kdcom to the ISOs.

svn path=/trunk/; revision=52448
2011-06-24 22:46:55 +00:00
Rafal Harabien a965ca6b67 [BOOTVID]
- Revert part of r52239: Fix support for \r and do not handle backspace
- Simplify it a bit

[NTOSKRNL]
- Add backspace support to KdpScreenPrint
- Do not draw boot text bitmap if InbvDisplayString is called with "" or "." (matches NT behavior)

svn path=/trunk/; revision=52409
2011-06-21 19:47:13 +00:00
Rafal Harabien ca370b4954 [BOOTVID]
- Fix scrolling if ScrollRegion contain whole screen.
- Add backspace support
- Remove unneeded code
- Now screen debugging in BSOD works much better :)

svn path=/trunk/; revision=52239
2011-06-14 22:04:42 +00:00
Jérôme Gardou 989c121257 [CMAKE]
fix pch support, with proper dependancies.
  Use cmake built-in functions instead of doing weird "magic" with tabs and spaces.
  According to gcc doc, if header.h is precompiled, the output should be named "header.h.gch" and not anything else.

svn path=/trunk/; revision=52058
2011-06-02 12:18:22 +00:00
Sylvain Petreolle 3d1a962bcb Rehaul the bootcd tree.
All dlls and drivers are in their normal directories instead of having all in reactos\.
Original implementation by zefklop in cmake branch.

svn path=/trunk/; revision=51830
2011-05-20 22:29:54 +00:00
Gregor Schneider f151ca5b4e [bootvid] Adam Kachwalla: use the BOOTCHAR_HEIGHT macro for defining the font height
See issue #6259 for more details.

svn path=/trunk/; revision=51793
2011-05-16 17:29:27 +00:00
Timo Kreuzer fae2044a23 [CMAKE]
Integrate cmake stuff into trunk
Only files added.

svn path=/trunk/; revision=51783
2011-05-16 13:12:07 +00:00
Amine Khaldi 2bad78f216 * Reduce difference to the cmake branch, MSVC fixes.
svn path=/trunk/; revision=51702
2011-05-13 17:16:08 +00:00
Roel Messiant ba15ac9cfc [DRIVERS]
- Change () to (VOID) in function declarators. Part 5/XX.

svn path=/trunk/; revision=51054
2011-03-15 18:41:17 +00:00
Timo Kreuzer b8cf5f8653 Merge MSVC fixes from cmake branch
svn path=/trunk/; revision=50650
2011-02-10 13:01:39 +00:00
Sir Richard 0c7d1b1c8f [NTDLL]: Use LOCK instead of lock for SList assembly functions, this is a conditional such that on UP, "lock" instruction won't be generated.
[NTDLL]: Apply the special begin/fault/resume lablels to the user-mode SList functions. Access faults can happen there due to a bug in the Windows algorithm, and Mm will need to handle that.
[NTOS]: Lookup the special labels from above when initializing the System DLL. Only lookup INT2E vs SYSENTER on x86, other architectures don't need a stub.
[NTOS]: Bitmap resources start at index 1, not 0. Also make sure we don't go past the maximum IDB_ resource index for no reason, and check the size of the resource instead of assuming it's going to be one page.
[NMIDEBUG]: Fix and cleanup some code, and enable NMI support on the boot/install CD as well.

svn path=/trunk/; revision=48860
2010-09-24 17:02:13 +00:00
Aleksey Bragin b84512b555 [NTOS]
- Rename KINTERRUPT_DISPATCH_CODES to DISPATCH_LENGTH, as it is in PSDK.
- Enhance NMI debug support.
- Change some comments to standard ReactOS commenting style.

svn path=/trunk/; revision=48730
2010-09-10 09:54:30 +00:00
Amine Khaldi b02092777f Reintegrate header-work branch. Important changes include continued work on headers and progress on compiling for ARM.
svn path=/trunk/; revision=47727
2010-06-09 22:24:32 +00:00
Gregor Schneider a77d6480a6 [BOOTVID] Dramatically simplify 4bpp blitting routine
See issue #5103 for more details.

svn path=/trunk/; revision=47431
2010-05-29 23:54:47 +00:00
Gregor Schneider c60e69763c [BOOTVID] Don't increment an uninitialized and unused variable, bug #5103
svn path=/trunk/; revision=47409
2010-05-29 12:57:29 +00:00
Timo Kreuzer 1d4dbb9cb7 [KDCOM]
Include ntifs, instead of ntddk, needed by NDK

svn path=/trunk/; revision=46621
2010-03-31 15:19:01 +00:00
Timo Kreuzer e13ac2cb13 merge from amd64 branch:
34741 (tkreuzer)
[BOOTVID]
- make bootvid build for PLATFORM=PC instead of ARCH=i386 to share the files between i386 and amd64
- fix ULONG <-> pointer casts

svn path=/trunk/; revision=46432
2010-03-25 05:25:07 +00:00
Timo Kreuzer cbdf28bb6a [HEADERS]
Reintegrate header-work branch. Thanks to hours of boring work on the ddk headers (Most of it done by Amine Khaldi), we have now a decent set, which is still incomplete but already relatively close to latest WDK. A clean rebuild is recommended.

svn path=/trunk/; revision=46155
2010-03-12 23:16:29 +00:00
Timo Kreuzer 9ea495ba33 Create a branch for header work.
svn path=/branches/header-work/; revision=45691
2010-02-26 22:57:55 +00:00
Ged Murphy c5b25b8e9b - Move from using include guards to pragma once.
- Whilst this is non-standard and potentially makes the code less portable, it's supported by both gcc and msvc and should bringg increased compilation speed due to its optimized behaviour (doesn't need to invoke the preprocessor)
- Patch by Amine Khaldi [amine.khaldi@reactos.org]

svn path=/trunk/; revision=45685
2010-02-26 11:43:19 +00:00
Daniel Reimer 90ce7d8b37 XML Compliance Patch for the RBUILD Files. By Samuel Serapion
svn path=/trunk/; revision=45631
2010-02-20 12:41:24 +00:00
Dmitry Gorbachev 3d50158647 [BOOTVID] Initialize VgaAddress.HighPart
svn path=/trunk/; revision=45614
2010-02-18 23:25:05 +00:00
Sir Richard 590b4a4093 [BOOTVID]: Fix completely broken VidInitialize routine. I have no idea what the original code was trying to accomplish.
svn path=/trunk/; revision=45269
2010-01-26 19:21:41 +00:00
Eric Kohl ba16f69763 Removed outdated email addresses.
svn path=/trunk/; revision=45020
2010-01-09 22:43:16 +00:00
ReactOS Portable Systems Group 475b0fd7cb NMI Support Patch 13:
[NMIDEBUG]: Add new NMI Debug driver. It registers an NMI callback on startup. The callback does nothing useful at the moment, but you can enhance it to add all sorts of debugging information that would otherwise be unavailable in situations such as an interrupt storm, IRQL hang, etc. When you send an NMI, such as by using QEMU, you should see the driver print a string.

svn path=/trunk/; revision=44878
2010-01-02 04:50:08 +00:00
Stefan Ginsberg ee750905e9 - Fix missing initialization of KdComPortInUse, containing the base address of the port used by kdcom. The serial driver checks this variable to determine if it can use the port or if it should stay (the fuck) off. KdCom no longer hangs after serial driver initialization in second stage.
svn path=/trunk/; revision=44077
2009-11-10 14:23:44 +00:00
Timo Kreuzer 4869ba0006 Sync kdcom from amd64 branch
svn path=/trunk/; revision=43801
2009-10-27 23:38:56 +00:00
Timo Kreuzer aa43316443 revert the KD_CONTEXT change
svn path=/trunk/; revision=43690
2009-10-22 15:25:37 +00:00
Timo Kreuzer 8e9a646867 fix build
svn path=/trunk/; revision=43689
2009-10-22 15:15:07 +00:00
Timo Kreuzer 4d06b94a31 [KDCOM]
- Merge r43682
- Copy new kdcom from amd64 branch. It's only built when _WINKD_ is set to 1 in the config file.
Happy testing.

svn path=/trunk/; revision=43688
2009-10-22 14:58:33 +00:00
Timo Kreuzer a9d250c6a6 build kdcom for amd64, too
svn path=/trunk/; revision=43534
2009-10-17 16:34:07 +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
Johannes Anderwald d6c99976ac - Revert 43410
svn path=/trunk/; revision=43411
2009-10-12 18:27:00 +00:00