2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>

* ntoskrnl/kd/gdbstub.c (KdEnterDebuggerException): Fix signed/unsigned
	comparison warning.
	* ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Ditto.
	* ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
	* tools/helper.mk: Do not install static libraries.

svn path=/trunk/; revision=4533
This commit is contained in:
Casper Hornstrup 2003-04-13 17:38:27 +00:00
parent c64cac2688
commit e7940ebdad
5 changed files with 28 additions and 9 deletions

View file

@ -1,3 +1,11 @@
2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/kd/gdbstub.c (KdEnterDebuggerException): Fix signed/unsigned
comparison warning.
* ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Ditto.
* ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
* tools/helper.mk: Do not install static libraries.
2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net> 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/Makefile: Fix rule for mkflpimg. * tools/Makefile: Fix rule for mkflpimg.

View file

@ -996,7 +996,7 @@ KdEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
/* Disable hardware debugging while we are inside the stub */ /* Disable hardware debugging while we are inside the stub */
__asm__("movl %0,%%db7" : /* no output */ : "r" (0)); __asm__("movl %0,%%db7" : /* no output */ : "r" (0));
if (STATUS_ACCESS_VIOLATION == ExceptionRecord->ExceptionCode && if (STATUS_ACCESS_VIOLATION == (NTSTATUS) ExceptionRecord->ExceptionCode &&
NULL != GspAccessLocation && NULL != GspAccessLocation &&
(ULONG_PTR) GspAccessLocation == (ULONG_PTR) GspAccessLocation ==
(ULONG_PTR) ExceptionRecord->ExceptionInformation[1]) (ULONG_PTR) ExceptionRecord->ExceptionInformation[1])

View file

@ -181,7 +181,7 @@ KiKernelTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr, PVOID Cr2)
Er.NumberParameters = 0; Er.NumberParameters = 0;
} }
Er.ExceptionFlags = (STATUS_SINGLE_STEP == Er.ExceptionCode || STATUS_BREAKPOINT == Er.ExceptionCode ? Er.ExceptionFlags = (STATUS_SINGLE_STEP == (NTSTATUS) Er.ExceptionCode || STATUS_BREAKPOINT == (NTSTATUS) Er.ExceptionCode ?
0 : EXCEPTION_NONCONTINUABLE); 0 : EXCEPTION_NONCONTINUABLE);
KiDispatchException(&Er, 0, Tf, KernelMode, TRUE); KiDispatchException(&Er, 0, Tf, KernelMode, TRUE);

View file

@ -144,7 +144,7 @@ KiUserTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr, PVOID Cr2)
} }
Er.ExceptionFlags = (STATUS_SINGLE_STEP == Er.ExceptionCode || STATUS_BREAKPOINT == Er.ExceptionCode ? Er.ExceptionFlags = (STATUS_SINGLE_STEP == (NTSTATUS) Er.ExceptionCode || STATUS_BREAKPOINT == (NTSTATUS) Er.ExceptionCode ?
0 : EXCEPTION_NONCONTINUABLE); 0 : EXCEPTION_NONCONTINUABLE);
KiDispatchException(&Er, 0, Tf, UserMode, TRUE); KiDispatchException(&Er, 0, Tf, UserMode, TRUE);

View file

@ -1,4 +1,4 @@
# $Id: helper.mk,v 1.33 2003/04/13 03:24:26 hyperion Exp $ # $Id: helper.mk,v 1.34 2003/04/13 17:38:27 chorns Exp $
# #
# Helper makefile for ReactOS modules # Helper makefile for ReactOS modules
# Variables this makefile accepts: # Variables this makefile accepts:
@ -170,9 +170,9 @@ ifeq ($(TARGET_TYPE),library)
MK_IMPLIBONLY := no MK_IMPLIBONLY := no
MK_IMPLIBDEFPATH := MK_IMPLIBDEFPATH :=
MK_IMPLIB_EXT := MK_IMPLIB_EXT :=
MK_INSTALLDIR := system32 MK_INSTALLDIR := # none
MK_BOOTCDDIR := system32 MK_BOOTCDDIR := system32
MK_DISTDIR := # FIXME MK_DISTDIR := # none
MK_RES_BASE := MK_RES_BASE :=
endif endif
@ -711,8 +711,19 @@ bootcd:
else # MK_IMPLIBONLY else # MK_IMPLIBONLY
# Don't install static libraries
ifeq ($(MK_MODE),static)
install:
-
else # MK_MODE
install: $(INSTALL_DIR)/$(MK_INSTALLDIR)/$(MK_FULLNAME) install: $(INSTALL_DIR)/$(MK_INSTALLDIR)/$(MK_FULLNAME)
endif # MK_MODE
ifeq ($(INSTALL_SYMBOLS),no) ifeq ($(INSTALL_SYMBOLS),no)
$(INSTALL_DIR)/$(MK_INSTALLDIR)/$(MK_FULLNAME): $(INSTALL_DIR)/$(MK_INSTALLDIR)/$(MK_FULLNAME):
@ -720,11 +731,11 @@ $(INSTALL_DIR)/$(MK_INSTALLDIR)/$(MK_FULLNAME):
else # INSTALL_SYMBOLS else # INSTALL_SYMBOLS
# Static library targets do not have a .sym file # Don't install static libraries
ifeq ($(MK_MODE),static) ifeq ($(MK_MODE),static)
$(INSTALL_DIR)/$(MK_INSTALLDIR)/$(MK_FULLNAME): $(MK_FULLNAME) install:
$(CP) $(MK_FULLNAME) $(INSTALL_DIR)/$(MK_INSTALLDIR)/$(MK_FULLNAME) -
else # MK_MODE else # MK_MODE