fix HalRequestIpi prototype, comment out IO access functions for amd64, add hal_amd64.def and a tiny amd64/hal_generic.c

svn path=/branches/ros-amd64-bringup/; revision=34743
This commit is contained in:
Timo Kreuzer
2008-07-24 14:26:53 +00:00
parent 01f51087d5
commit fdcebd5143
5 changed files with 122 additions and 2 deletions
+5
View File
@@ -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>
+3 -2
View File
@@ -466,7 +466,7 @@ HalReportResourceUsage(VOID)
VOID
NTAPI
HalRequestIpi(
ULONG Unknown)
KAFFINITY TargetSet)
{
UNIMPLEMENTED;
}
@@ -932,7 +932,7 @@ KfReleaseSpinLock(
UNIMPLEMENTED;
}
#if !defined(_M_AMD64)
VOID
NTAPI
READ_PORT_BUFFER_UCHAR(
@@ -1058,6 +1058,7 @@ WRITE_PORT_USHORT(
{
UNIMPLEMENTED;
}
#endif
KIRQL
FASTCALL
+69
View File
@@ -0,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
+34
View File
@@ -0,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 ([email protected])
*/
/* 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);
}
+11
View File
@@ -0,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>