mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:23:34 +00:00
- Compile the VGA driver using w32api.
svn path=/trunk/; revision=8836
This commit is contained in:
parent
cebfd88253
commit
bcce3e20b1
7 changed files with 12 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $Id: makefile,v 1.1 2004/01/10 14:39:20 navaraf Exp $
|
# $Id: makefile,v 1.2 2004/03/22 16:00:37 navaraf Exp $
|
||||||
|
|
||||||
PATH_TO_TOP = ../../../..
|
PATH_TO_TOP = ../../../..
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ TARGET_TYPE = gdi_driver
|
||||||
|
|
||||||
TARGET_NAME = vgaddi
|
TARGET_NAME = vgaddi
|
||||||
|
|
||||||
TARGET_CFLAGS = -Wall -Werror
|
TARGET_CFLAGS = -Wall -Werror -D__USE_W32API
|
||||||
|
|
||||||
MAIN_OBJECTS = \
|
MAIN_OBJECTS = \
|
||||||
main/enable.o
|
main/enable.o
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <ddk/winddi.h>
|
#include <ddk/winddi.h>
|
||||||
#include <ddk/ntddvid.h>
|
#include <ddk/ntddvdeo.h>
|
||||||
|
|
||||||
#define DS_SOLIDBRUSH 0x00000001
|
#define DS_SOLIDBRUSH 0x00000001
|
||||||
#define DS_GREYBRUSH 0x00000002
|
#define DS_GREYBRUSH 0x00000002
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddvdeo.h>
|
||||||
#include <ddk/ntddvid.h>
|
|
||||||
#include <ddk/winddi.h>
|
#include <ddk/winddi.h>
|
||||||
#include <ntos/minmax.h>
|
#include <ntos/minmax.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include <ntddk.h>
|
#include <ddk/miniport.h>
|
||||||
|
#include <ddk/video.h>
|
||||||
#include "vgavideo.h"
|
#include "vgavideo.h"
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: makefile,v 1.2 2004/03/04 18:49:58 navaraf Exp $
|
# $Id: makefile,v 1.3 2004/03/22 16:00:38 navaraf Exp $
|
||||||
|
|
||||||
PATH_TO_TOP = ../../../..
|
PATH_TO_TOP = ../../../..
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ TARGET_NAME = vgamp
|
||||||
|
|
||||||
TARGET_DDKLIBS = videoprt.a
|
TARGET_DDKLIBS = videoprt.a
|
||||||
|
|
||||||
TARGET_CFLAGS = -Werror -Wall
|
TARGET_CFLAGS = -Werror -Wall -D__USE_W32API
|
||||||
|
|
||||||
TARGET_OBJECTS = \
|
TARGET_OBJECTS = \
|
||||||
initvga.o \
|
initvga.o \
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/miniport.h>
|
||||||
#include <ddk/ntddvid.h>
|
#include <ddk/video.h>
|
||||||
|
#include <ddk/ntddvdeo.h>
|
||||||
|
|
||||||
#define UNIMPLEMENTED do {DbgPrint("%s:%d: Function not implemented", __FILE__, __LINE__); for(;;);} while (0)
|
#define UNIMPLEMENTED do {DbgPrint("%s:%d: Function not implemented", __FILE__, __LINE__); for(;;);} while (0)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <ddk/ntddvid.h>
|
#include <ddk/ntddvdeo.h>
|
||||||
|
|
||||||
#define VGA_NORMAL 0
|
#define VGA_NORMAL 0
|
||||||
#define VGA_AND 8
|
#define VGA_AND 8
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue