summaryrefslogtreecommitdiffstats
path: root/private/ntos/nthals/halx86/i386/xxstubs.c
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/ntos/nthals/halx86/i386/xxstubs.c
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/ntos/nthals/halx86/i386/xxstubs.c')
-rw-r--r--private/ntos/nthals/halx86/i386/xxstubs.c131
1 files changed, 131 insertions, 0 deletions
diff --git a/private/ntos/nthals/halx86/i386/xxstubs.c b/private/ntos/nthals/halx86/i386/xxstubs.c
new file mode 100644
index 000000000..251bce23c
--- /dev/null
+++ b/private/ntos/nthals/halx86/i386/xxstubs.c
@@ -0,0 +1,131 @@
+/*++
+
+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.
+
+--*/
+
+{
+
+}