Fix compilation of kddll

svn path=/branches/cmake-bringup/; revision=50200
This commit is contained in:
Timo Kreuzer 2010-12-28 20:29:34 +00:00
parent 4ebc5415a4
commit cf31695e04
2 changed files with 5 additions and 4 deletions

View file

@ -1,11 +1,11 @@
spec2def(kdcom.dll kdcom.spec)
spec2def(kdcom.dll kddll.spec)
add_library(kdcom SHARED
kdcom.c
kddll.c
kdserial.c
${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
${CMAKE_CURRENT_BINARY_DIR}/kddll.def)
set_entrypoint(kdcom 0)
set_subsystem(kdcom native)
@ -14,3 +14,4 @@ set_image_base(kdcom 0x00010000)
add_importlibs(kdcom ntoskrnl hal)
add_dependencies(kdcom psdk buildno_header bugcodes)
add_importlib_target(kddll.spec kdcom.dll)

View file

@ -12,8 +12,6 @@
#include <ntifs.h>
#define NDEBUG
#include <halfuncs.h>
#include <stdio.h>
#include <stdlib.h>
#include <debug.h>
#include "arc/arc.h"
#include "windbgkd.h"
@ -21,6 +19,8 @@
#include <wdbgexts.h>
#include <ioaccess.h> /* port intrinsics */
long atol(const char *str);
typedef UCHAR BYTE, *PBYTE;
typedef ULONG (*PFNDBGPRNT)(const char *Format, ...);