Random fixes Modified: branches/alex_devel_branch/reactos/config Modified: branches/alex_devel_branch/reactos/ntoskrnl/include/internal/ke.h Modified: branches/alex_devel_branch/reactos/ntoskrnl/io/iomgr.c Modified: branches/alex_devel_branch/reactos/ntoskrnl/ke/bug.c _____
Modified: branches/alex_devel_branch/reactos/config --- branches/alex_devel_branch/reactos/config 2005-03-02 02:55:16 UTC (rev 13793) +++ branches/alex_devel_branch/reactos/config 2005-03-02 03:09:37 UTC (rev 13794) @@ -25,7 +25,7 @@
# # Whether to compile for debugging # -DBG := 0 +DBG := 1
# # Whether to compile with optimizations _____
Modified: branches/alex_devel_branch/reactos/ntoskrnl/include/internal/ke.h --- branches/alex_devel_branch/reactos/ntoskrnl/include/internal/ke.h 2005-03-02 02:55:16 UTC (rev 13793) +++ branches/alex_devel_branch/reactos/ntoskrnl/include/internal/ke.h 2005-03-02 03:09:37 UTC (rev 13794) @@ -46,6 +46,7 @@
#define IPI_REQUEST_FUNCTIONCALL 0 #define IPI_REQUEST_APC 1 #define IPI_REQUEST_DPC 2 +#define IPI_REQUEST_FREEZE 4
/* ipi.c ********************************************************************/
_____
Modified: branches/alex_devel_branch/reactos/ntoskrnl/io/iomgr.c --- branches/alex_devel_branch/reactos/ntoskrnl/io/iomgr.c 2005-03-02 02:55:16 UTC (rev 13793) +++ branches/alex_devel_branch/reactos/ntoskrnl/io/iomgr.c 2005-03-02 03:09:37 UTC (rev 13794) @@ -11,6 +11,7 @@
/* INCLUDES ****************************************************************/
#include <ntoskrnl.h> +#include <internal/kdb.h> #define NDEBUG #include <internal/debug.h>
_____
Modified: branches/alex_devel_branch/reactos/ntoskrnl/ke/bug.c --- branches/alex_devel_branch/reactos/ntoskrnl/ke/bug.c 2005-03-02 02:55:16 UTC (rev 13793) +++ branches/alex_devel_branch/reactos/ntoskrnl/ke/bug.c 2005-03-02 03:09:37 UTC (rev 13794) @@ -354,8 +354,8 @@
if (i != KeGetCurrentProcessorNumber()) {
/* Send the IPI and give them one second to catch up */ - KiIpiSendRequest(1 << i, IPI_FREEZE); - KeStallExecutionProcessor(1000000) + KiIpiSendRequest(1 << i, IPI_REQUEST_FREEZE); + KeStallExecutionProcessor(1000000); } } #endif