You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
1.5 KiB
131 lines
1.5 KiB
/*++
|
|
|
|
Copyright (c) 1991 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
stubs.c
|
|
|
|
Abstract:
|
|
|
|
This implements the HAL routines which don't do anything on x86.
|
|
|
|
Author:
|
|
|
|
John Vert (jvert) 11-Jul-1991
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
#include "nthal.h"
|
|
#include "arc.h"
|
|
#include "arccodes.h"
|
|
|
|
VOID
|
|
HalSaveState(
|
|
VOID
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
Saves the system state into the restart block. Currently does nothing.
|
|
|
|
Arguments:
|
|
|
|
None
|
|
|
|
Return Value:
|
|
|
|
Does not return
|
|
|
|
--*/
|
|
|
|
{
|
|
DbgPrint("HalSaveState called - System stopped\n");
|
|
|
|
KeBugCheck(0);
|
|
}
|
|
|
|
|
|
BOOLEAN
|
|
HalDataBusError(
|
|
VOID
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
Called when a data bus error occurs. There is no way to fix this on
|
|
x86.
|
|
|
|
Arguments:
|
|
|
|
None
|
|
|
|
Return Value:
|
|
|
|
FALSE
|
|
|
|
--*/
|
|
|
|
{
|
|
return(FALSE);
|
|
|
|
}
|
|
|
|
BOOLEAN
|
|
HalInstructionBusError(
|
|
VOID
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
Called when an instruction bus error occurs. There is no way to fix this
|
|
on x86.
|
|
|
|
Arguments:
|
|
|
|
None
|
|
|
|
Return Value:
|
|
|
|
FALSE
|
|
|
|
--*/
|
|
|
|
{
|
|
return(FALSE);
|
|
|
|
}
|
|
|
|
VOID
|
|
KeFlushWriteBuffer(
|
|
VOID
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
Flushes all write buffers and/or other data storing or reordering
|
|
hardware on the current processor. This ensures that all previous
|
|
writes will occur before any new reads or writes are completed.
|
|
|
|
Arguments:
|
|
|
|
None
|
|
|
|
Return Value:
|
|
|
|
None.
|
|
|
|
--*/
|
|
|
|
{
|
|
|
|
}
|