mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
hal:
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:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user