Author: tkreuzer
Date: Thu Jul 24 09:26:53 2008
New Revision: 34743
URL:
http://svn.reactos.org/svn/reactos?rev=34743&view=rev
Log:
hal:
fix HalRequestIpi prototype, comment out IO access functions for amd64, add hal_amd64.def
and a tiny amd64/hal_generic.c
Added:
branches/ros-amd64-bringup/reactos/hal/hal/hal_amd64.def (with props)
branches/ros-amd64-bringup/reactos/hal/halamd64/
branches/ros-amd64-bringup/reactos/hal/halamd64/hal_generic.c (with props)
branches/ros-amd64-bringup/reactos/hal/halamd64/hal_generic.rbuild (with props)
Modified:
branches/ros-amd64-bringup/reactos/hal/hal.rbuild
branches/ros-amd64-bringup/reactos/hal/hal/hal.c
Modified: branches/ros-amd64-bringup/reactos/hal/hal.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/hal/h…
==============================================================================
--- branches/ros-amd64-bringup/reactos/hal/hal.rbuild [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/hal/hal.rbuild [iso-8859-1] Thu Jul 24 09:26:53
2008
@@ -24,4 +24,9 @@
<xi:include href="halarm/directory.rbuild" />
</directory>
</if>
+ <if property="ARCH" value="amd64">
+ <directory name="halamd64">
+ <xi:include href="halamd64/hal_generic.rbuild" />
+ </directory>
+ </if>
</group>
Modified: branches/ros-amd64-bringup/reactos/hal/hal/hal.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/hal/h…
==============================================================================
--- branches/ros-amd64-bringup/reactos/hal/hal/hal.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/hal/hal/hal.c [iso-8859-1] Thu Jul 24 09:26:53
2008
@@ -466,7 +466,7 @@
VOID
NTAPI
HalRequestIpi(
- ULONG Unknown)
+ KAFFINITY TargetSet)
{
UNIMPLEMENTED;
}
@@ -932,7 +932,7 @@
UNIMPLEMENTED;
}
-
+#if !defined(_M_AMD64)
VOID
NTAPI
READ_PORT_BUFFER_UCHAR(
@@ -1058,6 +1058,7 @@
{
UNIMPLEMENTED;
}
+#endif
KIRQL
FASTCALL
Added: branches/ros-amd64-bringup/reactos/hal/hal/hal_amd64.def
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/hal/h…
==============================================================================
--- branches/ros-amd64-bringup/reactos/hal/hal/hal_amd64.def (added)
+++ branches/ros-amd64-bringup/reactos/hal/hal/hal_amd64.def [iso-8859-1] Thu Jul 24
09:26:53 2008
@@ -1,0 +1,69 @@
+; Hardware Abstraction Layer - ReactOS Operating System
+
+LIBRARY hal.dll
+
+EXPORTS
+HalAcquireDisplayOwnership
+HalAdjustResourceList
+HalAllProcessorsStarted
+HalAllocateAdapterChannel
+HalAllocateCommonBuffer
+HalAllocateCrashDumpRegisters
+HalAssignSlotResources
+HalCalibratePerformanceCounter
+;HalCallBios
+HalClearSoftwareInterrupt
+HalDisableSystemInterrupt
+HalDisplayString
+HalEnableSystemInterrupt
+HalFlushCommonBuffer
+HalFreeCommonBuffer
+HalGetAdapter
+HalGetBusData
+HalGetBusDataByOffset
+HalGetEnvironmentVariable
+HalGetInterruptVector
+;HalHandleMcheck
+HalHandleNMI
+HalInitSystem
+HalInitializeProcessor
+;HalIsHyperThreadingEnabled
+HalMakeBeep
+HalProcessorIdle
+HalQueryDisplayParameters
+HalQueryRealTimeClock
+HalReadDmaCounter
+HalReportResourceUsage
+HalRequestIpi
+HalRequestSoftwareInterrupt
+HalReturnToFirmware
+;HalSendNMI
+;HalSendSoftwareInterrupt
+HalSetBusData
+HalSetBusDataByOffset
+HalSetDisplayParameters
+HalSetEnvironmentVariable
+HalSetProfileInterval
+HalSetRealTimeClock
+HalSetTimeIncrement
+HalStartNextProcessor
+HalStartProfileInterrupt
+HalStopProfileInterrupt
+HalSystemVectorDispatchEntry
+HalTranslateBusAddress
+;IoAssignDriveLetters
+IoFlushAdapterBuffers
+IoFreeAdapterChannel
+IoFreeMapRegisters
+IoMapTransfer
+;IoReadPartitionTable
+;IoSetPartitionInformation
+;IoWritePartitionTable
+;KdComPortInUse
+KeFlushWriteBuffer
+KeQueryPerformanceCounter
+KeStallExecutionProcessor
+;x86BiosExecuteInterrupt
+;x86BiosInitializeBiosEx
+;x86BiosTranslateAddress
+;DllEntryPoint
Propchange: branches/ros-amd64-bringup/reactos/hal/hal/hal_amd64.def
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ros-amd64-bringup/reactos/hal/halamd64/hal_generic.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/hal/h…
==============================================================================
--- branches/ros-amd64-bringup/reactos/hal/halamd64/hal_generic.c (added)
+++ branches/ros-amd64-bringup/reactos/hal/halamd64/hal_generic.c [iso-8859-1] Thu Jul 24
09:26:53 2008
@@ -1,0 +1,34 @@
+/*
+ * PROJECT: ReactOS HAL
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: hal/halamd64/
+ * PURPOSE: I/O HAL Routines for Disk Access
+ * PROGRAMMERS: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <hal.h>
+#define NDEBUG
+#include <debug.h>
+
+/* FUNCTIONS *****************************************************************/
+
+
+
+
+NTSTATUS
+NTAPI
+HalpSetPartitionInformation(IN PDEVICE_OBJECT DeviceObject,
+ IN ULONG SectorSize,
+ IN ULONG PartitionNumber,
+ IN ULONG PartitionType)
+{
+ /* Call the kernel */
+ return IoSetPartitionInformation(DeviceObject,
+ SectorSize,
+ PartitionNumber,
+ PartitionType);
+}
+
+
Propchange: branches/ros-amd64-bringup/reactos/hal/halamd64/hal_generic.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ros-amd64-bringup/reactos/hal/halamd64/hal_generic.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/hal/h…
==============================================================================
--- branches/ros-amd64-bringup/reactos/hal/halamd64/hal_generic.rbuild (added)
+++ branches/ros-amd64-bringup/reactos/hal/halamd64/hal_generic.rbuild [iso-8859-1] Thu
Jul 24 09:26:53 2008
@@ -1,0 +1,11 @@
+<?xml version="1.0"?>
+<!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
+<group>
+ <module name="hal_generic" type="objectlibrary">
+ <include>include</include>
+ <include base="ntoskrnl">include</include>
+ <define name="_DISABLE_TIDENTS" />
+ <define name="_NTHAL_" />
+ <file>hal_generic.c</file>
+ </module>
+</group>
Propchange: branches/ros-amd64-bringup/reactos/hal/halamd64/hal_generic.rbuild
------------------------------------------------------------------------------
svn:eol-style = native