win-pvdrivers

changeset 323:c9b0dee6dfdd

whitespace and turn off some warnings
author Andy Grover <andy.grover@oracle.com>
date Thu Jun 19 15:20:24 2008 -0700 (2008-06-19)
parents 60f47a81dbcc
children 39e1a87d9189
files xenpci/hypercall.h xenpci/makefile.mingw
line diff
     1.1 --- a/xenpci/hypercall.h	Thu Jun 19 15:17:04 2008 -0700
     1.2 +++ b/xenpci/hypercall.h	Thu Jun 19 15:20:24 2008 -0700
     1.3 @@ -17,11 +17,11 @@ along with this program; if not, write t
     1.4  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     1.5  */
     1.6  
     1.7 -#if defined(_X86_)
     1.8 -  #if defined(__MINGW32__)
     1.9 -    #include "hypercall_x86_mingw.h"
    1.10 +#if defined(_X86_)
    1.11 +  #if defined(__MINGW32__)
    1.12 +    #include "hypercall_x86_mingw.h"
    1.13    #else
    1.14 -    #include "hypercall_x86.h"
    1.15 +    #include "hypercall_x86.h"
    1.16    #endif
    1.17  #else
    1.18    #if defined(_AMD64_)
     2.1 --- a/xenpci/makefile.mingw	Thu Jun 19 15:17:04 2008 -0700
     2.2 +++ b/xenpci/makefile.mingw	Thu Jun 19 15:20:24 2008 -0700
     2.3 @@ -1,4 +1,4 @@
     2.4 -CFLAGS = -Wall -I/usr/i586-mingw32msvc/include/ddk/ -I../common/include -I../common/include/public
     2.5 +CFLAGS = -Wall -I/usr/i586-mingw32msvc/include/ddk/ -I../common/include -I../common/include/public -Wno-multichar -Wno-unknown-pragmas
     2.6  
     2.7  xenpci.sys: xenpci.c 
     2.8  	i586-mingw32msvc-gcc $(CFLAGS) -o $@ -s -shared -Wl,--entry,_load@8 -nostdlib $^ -lntoskrnl -lhal
     2.9 @@ -7,3 +7,4 @@ test.exe: test.c kexec.h
    2.10  	i586-mingw32msvc-gcc $(CFLAGS) -o $@ -s $^ -lkernel32
    2.11  
    2.12  all: xenpci.sys
    2.13 +