fix hal build on x86
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 4 Sep 2008 19:29:48 +0000 (19:29 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 4 Sep 2008 19:29:48 +0000 (19:29 +0000)
svn path=/branches/ros-amd64-bringup/; revision=35948

reactos/hal/hal/hal.c

index 37c772f..7f46c2c 100644 (file)
@@ -38,8 +38,9 @@ DriverEntry(
   PUNICODE_STRING RegistryPath)
 {
   UNIMPLEMENTED;
-
-  return STATUS_SUCCESS;
+intptr_t y = __readeflags();
+__writeeflags(34);
+  return y;//STATUS_SUCCESS;
 }
 
 /*
@@ -821,7 +822,7 @@ KeQueryPerformanceCounter(
   return Value;
 }
 
-#if 0
+#ifndef _M_AMD64
 #undef KeRaiseIrql
 VOID
 NTAPI