Fix from Mike Lerwill for KeStallExecutionProcessor

svn path=/trunk/; revision=1645
This commit is contained in:
David Welch 2001-02-20 14:43:46 +00:00
parent 15445cf1c8
commit c1c75ffd5e
4 changed files with 16 additions and 17 deletions

View file

@ -44,8 +44,8 @@
#else
#define SYSMETRICS_CXMINTRACK 100
#define SYSMETRICS_CYMINTRACK 28
#endif
#endif 0
#endif /* WIN_95_LOOK */
#endif /* 0 */
/* Some non-constant system metrics */
#define SYSMETRICS_CXSCREEN sysMetrics[SM_CXSCREEN] /* 0 */

View file

@ -20,7 +20,7 @@
* MA 02139, USA.
*
*/
/* $Id: udelay.c,v 1.5 2000/11/19 15:57:27 ekohl Exp $
/* $Id: udelay.c,v 1.6 2001/02/20 14:43:46 dwelch Exp $
*
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/hal/x86/udelay.c
@ -105,7 +105,7 @@ __KeStallExecutionProcessor(ULONG Loops)
VOID STDCALL KeStallExecutionProcessor(ULONG Microseconds)
{
return(__KeStallExecutionProcessor((delay_count*(Microseconds/1000))));
return(__KeStallExecutionProcessor((delay_count*Microseconds)/1000));
}
#define HZ (100)

View file

@ -17,21 +17,20 @@
/* FUNCTIONS ***************************************************************/
NTSTATUS STDCALL NtRaiseHardError(IN NTSTATUS Status,
ULONG Unknown2,
ULONG Unknown3,
ULONG Unknown4,
ULONG Unknown5,
ULONG Unknown6)
NTSTATUS STDCALL
NtRaiseHardError(IN NTSTATUS Status,
ULONG Unknown2,
ULONG Unknown3,
ULONG Unknown4,
ULONG Unknown5,
ULONG Unknown6)
{
// UNIMPLEMENTED;
KeBugCheck(Status);
return STATUS_SUCCESS;
DPRINT1("Hard error %x\n", Status);
return(STATUS_SUCCESS);
}
NTSTATUS STDCALL NtSetDefaultHardErrorPort(IN HANDLE PortHandle)
NTSTATUS STDCALL
NtSetDefaultHardErrorPort(IN HANDLE PortHandle)
{
UNIMPLEMENTED;
}

View file

@ -53,7 +53,7 @@ CC = $(PREFIX)gcc
CXX = $(PREFIX)g++
HOST_CC = gcc
HOST_NM = nm
CFLAGS := $(CFLAGS) -I$(PATH_TO_TOP)/include -pipe
CFLAGS := $(CFLAGS) -I$(PATH_TO_TOP)/include -pipe -m386
CXXFLAGS = $(CFLAGS)
NFLAGS = -i$(PATH_TO_TOP)/include/ -f$(NASM_FORMAT) -d$(NASM_FORMAT)
LD = $(PREFIX)ld