[NTVDM] Fix PCH w.r.t. using the debug routines. The PCH use here in itself could...
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 3 Oct 2015 19:17:55 +0000 (19:17 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 3 Oct 2015 19:17:55 +0000 (19:17 +0000)
svn path=/trunk/; revision=69433

48 files changed:
reactos/subsystems/mvdm/ntvdm/bios/bios.c
reactos/subsystems/mvdm/ntvdm/bios/bios32/bios32.c
reactos/subsystems/mvdm/ntvdm/bios/bios32/dskbios32.c
reactos/subsystems/mvdm/ntvdm/bios/bios32/kbdbios32.c
reactos/subsystems/mvdm/ntvdm/bios/bios32/moubios32.c
reactos/subsystems/mvdm/ntvdm/bios/bios32/vbe.c
reactos/subsystems/mvdm/ntvdm/bios/bios32/vidbios32.c
reactos/subsystems/mvdm/ntvdm/bios/kbdbios.c
reactos/subsystems/mvdm/ntvdm/bios/rom.c
reactos/subsystems/mvdm/ntvdm/bios/umamgr.c
reactos/subsystems/mvdm/ntvdm/bios/vidbios.c
reactos/subsystems/mvdm/ntvdm/clock.c
reactos/subsystems/mvdm/ntvdm/cpu/bop.c
reactos/subsystems/mvdm/ntvdm/cpu/callback.c
reactos/subsystems/mvdm/ntvdm/cpu/cpu.c
reactos/subsystems/mvdm/ntvdm/cpu/registers.c
reactos/subsystems/mvdm/ntvdm/dos/dem.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/bios.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/condrv.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/country.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/device.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dos.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dosfiles.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/handle.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/himem.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/memory.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/process.c
reactos/subsystems/mvdm/ntvdm/dos/mouse32.c
reactos/subsystems/mvdm/ntvdm/emulator.c
reactos/subsystems/mvdm/ntvdm/hardware/cmos.c
reactos/subsystems/mvdm/ntvdm/hardware/disk.c
reactos/subsystems/mvdm/ntvdm/hardware/dma.c
reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c
reactos/subsystems/mvdm/ntvdm/hardware/mouse.c
reactos/subsystems/mvdm/ntvdm/hardware/pic.c
reactos/subsystems/mvdm/ntvdm/hardware/pit.c
reactos/subsystems/mvdm/ntvdm/hardware/ppi.c
reactos/subsystems/mvdm/ntvdm/hardware/ps2.c
reactos/subsystems/mvdm/ntvdm/hardware/sound/speaker.c
reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c
reactos/subsystems/mvdm/ntvdm/int32.c
reactos/subsystems/mvdm/ntvdm/io.c
reactos/subsystems/mvdm/ntvdm/memory.c
reactos/subsystems/mvdm/ntvdm/ntvdm.c
reactos/subsystems/mvdm/ntvdm/ntvdm.h
reactos/subsystems/mvdm/ntvdm/utils.c
reactos/subsystems/mvdm/ntvdm/vddsup.c

index fe6c1df..9ee04e2 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu/callback.h"
 #include "cpu/bop.h"
index 74a6de7..436ac21 100644 (file)
@@ -9,13 +9,15 @@
 
 /* INCLUDES *******************************************************************/
 
-#define NDEBUG
+#include "ntvdm.h"
 
 /* BIOS Version number and Copyright */
 #include <reactos/buildno.h>
 #include <reactos/version.h>
 
-#include "ntvdm.h"
+#define NDEBUG
+#include <debug.h>
+
 #include "emulator.h"
 #include "cpu/cpu.h" // for EMULATOR_FLAG_CF
 #include "cpu/bop.h"
index f2a1533..9bc83c0 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 // #include "../../memory.h"
 // #include "cpu/bop.h"
index 3567e2f..af4c57c 100644 (file)
@@ -8,10 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
-#define NDEBUG
-
 #include "ntvdm.h"
 
+#define NDEBUG
+#include <debug.h>
+
 #include "kbdbios32.h"
 #include <bios/kbdbios.h>
 #include "bios32p.h"
index 25ff3f6..559101e 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu/cpu.h" // for EMULATOR_FLAG_CF
 
index 21c632b..a7d656c 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu/cpu.h"
 
index 2f316bb..f9405d4 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu/bop.h"
 #include "int32.h"
index 0ff8ead..504984a 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu/bop.h"
 #include "int32.h"
index 3fdc077..6fbf272 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "memory.h"
 #include "cpu/callback.h"
index 08e67f1..06d0a17 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "memory.h"
 
index 5d67fdc..e4cdc37 100644 (file)
@@ -9,13 +9,15 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
 /* BIOS Version number and Copyright */
 #include <reactos/buildno.h>
 #include <reactos/version.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu/cpu.h"
 #include "cpu/bop.h"
index bf24242..84d6391 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "clock.h"
 
index a632c83..dc64f9b 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "bop.h"
 
index e8f7654..00c8979 100644 (file)
 /******************************************************************************\
 |   WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
 |
-|   Callbacks support supposes implicitely that the callbacks are used
+|   Callbacks support supposes implicitly that the callbacks are used
 |   in the SAME thread as the CPU thread, otherwise messing in parallel
 |   with the CPU registers is 100% prone to bugs!!
 \******************************************************************************/
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "callback.h"
 
index 4eec403..212f522 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu.h"
 
index d19888c..88c7183 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu.h"
 #include "x86context.h"
index 1af1069..0ed51c2 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include <isvbop.h>
 
index c1e5189..bf28310 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "int32.h"
 
index 5c0b286..ae8d419 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 
 #include "dos.h"
index 23075c1..334c04c 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 
 #include "country.h"
index 4a4bc76..71fbdce 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu/bop.h"
 #include "device.h"
index ace165e..d5b01ce 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu/cpu.h"
 #include "int32.h"
index 2d5b940..1dda966 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "../../memory.h"
 
index be8a0b3..bc22ce8 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "../../memory.h"
 #include "bios/umamgr.h"
index 842188d..45ca0bc 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 
 #include "dos.h"
index 204c409..19216ed 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu/bop.h"
 #include "../../memory.h"
index 4018f60..b7cf0a5 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 
 #include "bios/umamgr.h" // HACK until we correctly call XMS services for UMBs.
index a2af1f5..f15b24f 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cpu/cpu.h"
 
index 85daf33..f704ed2 100644 (file)
@@ -8,13 +8,15 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
 /* Driver Version number and Copyright */
 #include <reactos/buildno.h>
 #include <reactos/version.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 
 #include "cpu/cpu.h"
index 2f8d98e..dd92213 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "memory.h"
 
index 15d6250..8482553 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "cmos.h"
 
index 581efae..0b23048 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "disk.h"
 
index 726e907..c2816ad 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "dma.h"
 
index e28c336..6d18b9d 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "keyboard.h"
 #include "ps2.h"
 
index 52483c4..624cdbb 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "mouse.h"
 #include "ps2.h"
 
index 1191c8c..63ac9d6 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "pic.h"
 
index 551e5b4..540ecec 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "pit.h"
 
index dac5cce..fbab101 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "ppi.h"
 
index 921fe89..4222cc5 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "ps2.h"
 
index b5a33a1..f99918b 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "speaker.h"
 #include "hardware/pit.h"
 
index 5b01c2d..f5b06ca 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "svga.h"
 #include <bios/vidbios.h>
index b6695aa..0081765 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "int32.h"
 
index 47f572f..4eb20c2 100644 (file)
@@ -9,9 +9,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "io.h"
 
index a622513..3b53374 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "memory.h"
 
index 967de94..7d9a825 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 
 #include "bios/bios.h"
index 11006eb..77b58fd 100644 (file)
@@ -45,8 +45,6 @@ DWORD WINAPI SetLastConsoleEventActive(VOID);
 /* PSEH for SEH Support */
 #include <pseh/pseh2.h>
 
-#include <debug.h>
-
 /*
  * Activate this line if you want to run NTVDM in standalone mode with:
  * ntvdm.exe <program>
index 7b8d708..d46a284 100644 (file)
@@ -8,10 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
-#define NDEBUG
-
 #include "ntvdm.h"
 
+#define NDEBUG
+#include <debug.h>
+
 /* PRIVATE FUNCTIONS **********************************************************/
 
 /* PUBLIC FUNCTIONS ***********************************************************/
index a185eba..f6a6fa9 100644 (file)
@@ -8,9 +8,11 @@
 
 /* INCLUDES *******************************************************************/
 
+#include "ntvdm.h"
+
 #define NDEBUG
+#include <debug.h>
 
-#include "ntvdm.h"
 #include "emulator.h"
 #include "vddsup.h"