Author: hpoussin
Date: Thu Nov 16 23:52:13 2006
New Revision: 24772
URL:
http://svn.reactos.org/svn/reactos?rev=24772&view=rev
Log:
Fix HAL compilation
Modified:
trunk/reactos/hal/hal/hal.c
trunk/reactos/hal/halx86/mp/spinlock.c
Modified: trunk/reactos/hal/hal/hal.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/hal/hal.c?rev=24772&am…
==============================================================================
--- trunk/reactos/hal/hal/hal.c (original)
+++ trunk/reactos/hal/hal/hal.c Thu Nov 16 23:52:13 2006
@@ -1,5 +1,4 @@
-/* $Id$
- *
+/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: hal/hal.c
@@ -295,7 +294,7 @@
}
-BOOLEAN
+ARC_STATUS
NTAPI
HalGetEnvironmentVariable(
PCH Name,
@@ -304,7 +303,7 @@
{
UNIMPLEMENTED;
- return FALSE;
+ return ENOENT;
}
@@ -506,7 +505,7 @@
}
-BOOLEAN
+ARC_STATUS
NTAPI
HalSetEnvironmentVariable(
PCH Name,
@@ -514,16 +513,29 @@
{
UNIMPLEMENTED;
- return TRUE;
-}
-
-
-VOID
+ return ESUCCESS;
+}
+
+
+BOOLEAN
NTAPI
HalSetRealTimeClock(
PTIME_FIELDS Time)
{
UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+ULONG
+NTAPI
+HalSetTimeIncrement(
+ ULONG Increment)
+{
+ UNIMPLEMENTED;
+
+ return Increment;
}
@@ -949,6 +961,30 @@
}
+LOGICAL
+FASTCALL
+KeTryToAcquireQueuedSpinLock(
+ KSPIN_LOCK_QUEUE_NUMBER LockNumber,
+ PKIRQL OldIrql)
+{
+ UNIMPLEMENTED;
+
+ return FALSE;
+}
+
+
+BOOLEAN
+FASTCALL
+KeTryToAcquireQueuedSpinLockRaiseToSynch(
+ KSPIN_LOCK_QUEUE_NUMBER LockNumber,
+ PKIRQL OldIrql)
+{
+ UNIMPLEMENTED;
+
+ return FALSE;
+}
+
+
KIRQL
FASTCALL
KfAcquireSpinLock(
Modified: trunk/reactos/hal/halx86/mp/spinlock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/mp/spinlock.c?r…
==============================================================================
--- trunk/reactos/hal/halx86/mp/spinlock.c (original)
+++ trunk/reactos/hal/halx86/mp/spinlock.c Thu Nov 16 23:52:13 2006
@@ -1,5 +1,4 @@
-/* $Id$
- *
+/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/hal/x86/spinlock.c
@@ -69,6 +68,29 @@
*/
{
KfReleaseSpinLock(SpinLock, NewIrql);
+}
+
+LOGICAL
+FASTCALL
+KeTryToAcquireQueuedSpinLock(
+ KSPIN_LOCK_QUEUE_NUMBER LockNumber,
+ PKIRQL OldIrql)
+{
+ UNIMPLEMENTED;
+
+ return FALSE;
+}
+
+
+BOOLEAN
+FASTCALL
+KeTryToAcquireQueuedSpinLockRaiseToSynch(
+ KSPIN_LOCK_QUEUE_NUMBER LockNumber,
+ PKIRQL OldIrql)
+{
+ UNIMPLEMENTED;
+
+ return FALSE;
}
KIRQL FASTCALL