mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fix from Mike Lerwill for KeStallExecutionProcessor
svn path=/trunk/; revision=1645
This commit is contained in:
parent
15445cf1c8
commit
c1c75ffd5e
4 changed files with 16 additions and 17 deletions
|
@ -44,8 +44,8 @@
|
||||||
#else
|
#else
|
||||||
#define SYSMETRICS_CXMINTRACK 100
|
#define SYSMETRICS_CXMINTRACK 100
|
||||||
#define SYSMETRICS_CYMINTRACK 28
|
#define SYSMETRICS_CYMINTRACK 28
|
||||||
#endif
|
#endif /* WIN_95_LOOK */
|
||||||
#endif 0
|
#endif /* 0 */
|
||||||
|
|
||||||
/* Some non-constant system metrics */
|
/* Some non-constant system metrics */
|
||||||
#define SYSMETRICS_CXSCREEN sysMetrics[SM_CXSCREEN] /* 0 */
|
#define SYSMETRICS_CXSCREEN sysMetrics[SM_CXSCREEN] /* 0 */
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* MA 02139, USA.
|
* 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
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/hal/x86/udelay.c
|
* FILE: ntoskrnl/hal/x86/udelay.c
|
||||||
|
@ -105,7 +105,7 @@ __KeStallExecutionProcessor(ULONG Loops)
|
||||||
|
|
||||||
VOID STDCALL KeStallExecutionProcessor(ULONG Microseconds)
|
VOID STDCALL KeStallExecutionProcessor(ULONG Microseconds)
|
||||||
{
|
{
|
||||||
return(__KeStallExecutionProcessor((delay_count*(Microseconds/1000))));
|
return(__KeStallExecutionProcessor((delay_count*Microseconds)/1000));
|
||||||
}
|
}
|
||||||
|
|
||||||
#define HZ (100)
|
#define HZ (100)
|
||||||
|
|
|
@ -17,21 +17,20 @@
|
||||||
|
|
||||||
/* FUNCTIONS ***************************************************************/
|
/* FUNCTIONS ***************************************************************/
|
||||||
|
|
||||||
NTSTATUS STDCALL NtRaiseHardError(IN NTSTATUS Status,
|
NTSTATUS STDCALL
|
||||||
ULONG Unknown2,
|
NtRaiseHardError(IN NTSTATUS Status,
|
||||||
ULONG Unknown3,
|
ULONG Unknown2,
|
||||||
ULONG Unknown4,
|
ULONG Unknown3,
|
||||||
ULONG Unknown5,
|
ULONG Unknown4,
|
||||||
ULONG Unknown6)
|
ULONG Unknown5,
|
||||||
|
ULONG Unknown6)
|
||||||
{
|
{
|
||||||
// UNIMPLEMENTED;
|
DPRINT1("Hard error %x\n", Status);
|
||||||
|
return(STATUS_SUCCESS);
|
||||||
KeBugCheck(Status);
|
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS STDCALL NtSetDefaultHardErrorPort(IN HANDLE PortHandle)
|
NTSTATUS STDCALL
|
||||||
|
NtSetDefaultHardErrorPort(IN HANDLE PortHandle)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@ CC = $(PREFIX)gcc
|
||||||
CXX = $(PREFIX)g++
|
CXX = $(PREFIX)g++
|
||||||
HOST_CC = gcc
|
HOST_CC = gcc
|
||||||
HOST_NM = nm
|
HOST_NM = nm
|
||||||
CFLAGS := $(CFLAGS) -I$(PATH_TO_TOP)/include -pipe
|
CFLAGS := $(CFLAGS) -I$(PATH_TO_TOP)/include -pipe -m386
|
||||||
CXXFLAGS = $(CFLAGS)
|
CXXFLAGS = $(CFLAGS)
|
||||||
NFLAGS = -i$(PATH_TO_TOP)/include/ -f$(NASM_FORMAT) -d$(NASM_FORMAT)
|
NFLAGS = -i$(PATH_TO_TOP)/include/ -f$(NASM_FORMAT) -d$(NASM_FORMAT)
|
||||||
LD = $(PREFIX)ld
|
LD = $(PREFIX)ld
|
||||||
|
|
Loading…
Reference in a new issue