[BOOTVID] Move the VGA code into the PC directory. (#2510)
authorDmitry Borisov <di.sean@protonmail.com>
Wed, 8 Apr 2020 05:25:11 +0000 (11:25 +0600)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 9 Apr 2020 13:33:58 +0000 (15:33 +0200)
drivers/base/bootvid/CMakeLists.txt
drivers/base/bootvid/i386/pc/bootdata.c [moved from drivers/base/bootvid/i386/bootdata.c with 100% similarity]
drivers/base/bootvid/i386/pc/bootvid.c [moved from drivers/base/bootvid/i386/bootvid.c with 100% similarity]
drivers/base/bootvid/i386/pc/cmdcnst.h [moved from drivers/base/bootvid/cmdcnst.h with 100% similarity]
drivers/base/bootvid/i386/pc/vga.c [moved from drivers/base/bootvid/i386/vga.c with 100% similarity]
drivers/base/bootvid/i386/pc/vga.h [moved from drivers/base/bootvid/vga.h with 100% similarity]
drivers/base/bootvid/precomp.h

index 285dd00..e344d53 100644 (file)
@@ -3,9 +3,9 @@ spec2def(bootvid.dll bootvid.spec ADD_IMPORTLIB)
 
 if((ARCH STREQUAL "i386") OR (ARCH STREQUAL "amd64"))
     list(APPEND SOURCE
-        i386/bootvid.c
-        i386/bootdata.c
-        i386/vga.c)
+        i386/pc/bootvid.c
+        i386/pc/bootdata.c
+        i386/pc/vga.c)
 elseif(ARCH STREQUAL "arm")
     list(APPEND SOURCE
         arm/bootvid.c)
index 8fcc753..0a55332 100644 (file)
@@ -12,7 +12,7 @@
 #define BOOTCHAR_WIDTH  8 // Each character line is encoded in a UCHAR.
 
 #ifndef _M_ARM
-#include "vga.h"
+#include "i386/pc/vga.h"
 #endif /* _M_ARM */
 
 /* Bitmap Header */