Author: ion
Date: Sat Jun 24 01:25:11 2006
New Revision: 22551
URL:
http://svn.reactos.org/svn/reactos?rev=22551&view=rev
Log:
- Fixes in source code required for the NDK update.
Modified:
trunk/reactos/hal/hal/hal.c
trunk/reactos/include/ddk/ntifs.h
trunk/reactos/include/winbase.h
trunk/reactos/include/winnt.h
trunk/reactos/lib/rtl/crc32.c
trunk/reactos/lib/rtl/timezone.c
trunk/reactos/ntoskrnl/ex/sysinfo.c
Modified: trunk/reactos/hal/hal/hal.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/hal/hal.c?rev=22551&am…
==============================================================================
--- trunk/reactos/hal/hal/hal.c (original)
+++ trunk/reactos/hal/hal/hal.c Sat Jun 24 01:25:11 2006
@@ -297,8 +297,8 @@
NTAPI
HalGetEnvironmentVariable(
PCH Name,
- PCH Value,
- USHORT ValueLength)
+ USHORT ValueLength,
+ PCH Value)
{
UNIMPLEMENTED;
@@ -325,7 +325,7 @@
VOID
NTAPI
HalHandleNMI(
- ULONG Unused)
+ PVOID NmiData)
{
UNIMPLEMENTED;
}
@@ -393,12 +393,13 @@
}
-VOID
+BOOLEAN
NTAPI
HalQueryRealTimeClock(
PTIME_FIELDS Time)
{
UNIMPLEMENTED;
+ return FALSE;
}
Modified: trunk/reactos/include/ddk/ntifs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntifs.h?rev=22…
==============================================================================
--- trunk/reactos/include/ddk/ntifs.h (original)
+++ trunk/reactos/include/ddk/ntifs.h Sat Jun 24 01:25:11 2006
@@ -30,6 +30,7 @@
#include "ntddk.h"
+#define _NTIFS_INCLUDED_
#ifdef __cplusplus
extern "C" {
#endif
@@ -2951,13 +2952,6 @@
NTHALAPI
VOID
NTAPI
-HalQueryRealTimeClock (
- IN OUT PTIME_FIELDS TimeFields
-);
-
-NTHALAPI
-VOID
-NTAPI
HalSetRealTimeClock (
IN PTIME_FIELDS TimeFields
);
Modified: trunk/reactos/include/winbase.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/winbase.h?rev=2255…
==============================================================================
--- trunk/reactos/include/winbase.h (original)
+++ trunk/reactos/include/winbase.h Sat Jun 24 01:25:11 2006
@@ -925,6 +925,8 @@
DWORDLONG ullAvailExtendedVirtual;
} MEMORYSTATUSEX, *LPMEMORYSTATUSEX;
#endif
+#ifndef _LDT_ENTRY_DEFINED
+#define _LDT_ENTRY_DEFINED
typedef struct _LDT_ENTRY {
WORD LimitLow;
WORD BaseLow;
@@ -949,6 +951,7 @@
} Bits;
} HighWord;
} LDT_ENTRY,*PLDT_ENTRY,*LPLDT_ENTRY;
+#endif
typedef struct _PROCESS_HEAP_ENTRY {
PVOID lpData;
DWORD cbData;
Modified: trunk/reactos/include/winnt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/winnt.h?rev=22551&…
==============================================================================
--- trunk/reactos/include/winnt.h (original)
+++ trunk/reactos/include/winnt.h Sat Jun 24 01:25:11 2006
@@ -906,7 +906,7 @@
#define HEAP_TAIL_CHECKING_ENABLED 32
#define HEAP_FREE_CHECKING_ENABLED 64
#define HEAP_DISABLE_COALESCE_ON_FREE 128
-#define HEAP_CREATE_ALIGN_16 0x0000
+#define HEAP_CREATE_ALIGN_16 0x10000
#define HEAP_CREATE_ENABLE_TRACING 0x20000
#define HEAP_MAXIMUM_TAG 0xFFF
#define HEAP_PSEUDO_TAG_FLAG 0x8000
Modified: trunk/reactos/lib/rtl/crc32.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/crc32.c?rev=22551&…
==============================================================================
--- trunk/reactos/lib/rtl/crc32.c (original)
+++ trunk/reactos/lib/rtl/crc32.c Sat Jun 24 01:25:11 2006
@@ -85,7 +85,7 @@
* @implemented
*/
ULONG NTAPI
-RtlComputeCrc32 (IN UINT Initial,
+RtlComputeCrc32 (IN USHORT Initial,
IN PUCHAR Data,
IN ULONG Length)
{
Modified: trunk/reactos/lib/rtl/timezone.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/timezone.c?rev=225…
==============================================================================
--- trunk/reactos/lib/rtl/timezone.c (original)
+++ trunk/reactos/lib/rtl/timezone.c Sat Jun 24 01:25:11 2006
@@ -19,7 +19,7 @@
* @implemented
*/
NTSTATUS NTAPI
-RtlQueryTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation)
+RtlQueryTimeZoneInformation(PRTL_TIME_ZONE_INFORMATION TimeZoneInformation)
{
RTL_QUERY_REGISTRY_TABLE QueryTable[8];
UNICODE_STRING StandardName;
@@ -83,7 +83,7 @@
* @implemented
*/
NTSTATUS NTAPI
-RtlSetTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation)
+RtlSetTimeZoneInformation(PRTL_TIME_ZONE_INFORMATION TimeZoneInformation)
{
ULONG Length;
NTSTATUS Status;
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/sysinfo.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/sysinfo.c (original)
+++ trunk/reactos/ntoskrnl/ex/sysinfo.c Sat Jun 24 01:25:11 2006
@@ -196,7 +196,7 @@
/*
* Get the environment variable
*/
- Result = HalGetEnvironmentVariable(AName.Buffer, Value, ValueBufferLength);
+ Result = HalGetEnvironmentVariable(AName.Buffer, ValueBufferLength, Value);
if(!Result)
{
RtlFreeAnsiString(&AName);