Author: ros-arm-bringup
Date: Fri Feb 8 20:13:09 2008
New Revision: 32223
URL:
http://svn.reactos.org/svn/reactos?rev=32223&view=rev
Log:
We now have an official hal-arm which exports KeSwapIrql, allowing many more drivers to
compile and link properly.
We now have ARM export files for Class2 and Scsiport, allowing these drivers plus disk,
cdrom and other dependencies to build and link.
Added:
trunk/reactos/drivers/storage/class/class2/class2_arm.def (with props)
trunk/reactos/drivers/storage/class/class2/class2_i386.def
- copied unchanged from r32201,
trunk/reactos/drivers/storage/class/class2/class2.def
trunk/reactos/drivers/storage/scsiport/scsiport_arm.def (with props)
trunk/reactos/drivers/storage/scsiport/scsiport_i386.def
- copied unchanged from r32201, trunk/reactos/drivers/storage/scsiport/scsiport.def
trunk/reactos/hal/halarm/
trunk/reactos/hal/halarm/directory.rbuild (with props)
trunk/reactos/hal/halarm/generic/
trunk/reactos/hal/halarm/generic/generic.rbuild (with props)
trunk/reactos/hal/halarm/generic/hal.c (with props)
trunk/reactos/hal/halarm/include/
trunk/reactos/hal/halarm/include/hal.h (with props)
trunk/reactos/hal/halarm/include/halp.h (with props)
trunk/reactos/hal/halarm/up/
trunk/reactos/hal/halarm/up/halinit_up.c (with props)
trunk/reactos/hal/halarm/up/halup.rbuild (with props)
trunk/reactos/hal/halarm/up/halup.rc (with props)
Removed:
trunk/reactos/drivers/storage/class/class2/class2.def
trunk/reactos/drivers/storage/scsiport/scsiport.def
Modified:
trunk/reactos/drivers/storage/class/class2/class2.rbuild
trunk/reactos/drivers/storage/scsiport/scsiport.rbuild
trunk/reactos/hal/hal.rbuild
trunk/reactos/hal/hal/hal_arm.def
trunk/reactos/ntoskrnl/ke/arm/stubs_asm.s
Removed: trunk/reactos/drivers/storage/class/class2/class2.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/clas…
==============================================================================
--- trunk/reactos/drivers/storage/class/class2/class2.def (original)
+++ trunk/reactos/drivers/storage/class/class2/class2.def (removed)
@@ -1,29 +1,0 @@
-; $Id$
-;
-; class2.def - export definition file for scsi class driver
-;
-LIBRARY CLASS2.SYS
-EXPORTS
-ScsiClassAsynchronousCompletion@12
-ScsiClassBuildRequest@8
-ScsiClassClaimDevice@16
-ScsiClassCreateDeviceObject@20
-ScsiClassDeviceControl@8
-ScsiClassFindModePage@16
-ScsiClassFindUnclaimedDevices@8
-ScsiClassGetCapabilities@8
-ScsiClassGetInquiryData@8
-ScsiClassInitialize@12
-ScsiClassInitializeSrbLookasideList@8
-ScsiClassInternalIoControl@8
-ScsiClassInterpretSenseInfo@24
-ScsiClassIoComplete@12
-ScsiClassIoCompleteAssociated@12
-ScsiClassModeSense@16
-ScsiClassQueryTimeOutRegistryValue@4
-ScsiClassReadDriveCapacity@4
-ScsiClassReleaseQueue@4
-ScsiClassSendSrbAsynchronous@24
-ScsiClassSendSrbSynchronous@20
-ScsiClassSplitRequest@12
-;EOF
Modified: trunk/reactos/drivers/storage/class/class2/class2.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/clas…
==============================================================================
--- trunk/reactos/drivers/storage/class/class2/class2.rbuild (original)
+++ trunk/reactos/drivers/storage/class/class2/class2.rbuild Fri Feb 8 20:13:09 2008
@@ -2,7 +2,7 @@
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="class2" type="kernelmodedriver"
installbase="system32/drivers" installname="class2.sys">
<bootstrap installbase="$(CDOUTPUT)" />
- <importlibrary definition="class2.def" />
+ <importlibrary definition="class2_$(ARCH).def" />
<library>ntoskrnl</library>
<library>hal</library>
<library>scsiport</library>
Added: trunk/reactos/drivers/storage/class/class2/class2_arm.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/clas…
==============================================================================
--- trunk/reactos/drivers/storage/class/class2/class2_arm.def (added)
+++ trunk/reactos/drivers/storage/class/class2/class2_arm.def Fri Feb 8 20:13:09 2008
@@ -1,0 +1,29 @@
+; $Id: class2.def 26227 2007-04-01 16:29:16Z fireball $
+;
+; class2.def - export definition file for scsi class driver
+;
+LIBRARY CLASS2.SYS
+EXPORTS
+ScsiClassAsynchronousCompletion
+ScsiClassBuildRequest
+ScsiClassClaimDevice
+ScsiClassCreateDeviceObject
+ScsiClassDeviceControl
+ScsiClassFindModePage
+ScsiClassFindUnclaimedDevices
+ScsiClassGetCapabilities
+ScsiClassGetInquiryData
+ScsiClassInitialize
+ScsiClassInitializeSrbLookasideList
+ScsiClassInternalIoControl
+ScsiClassInterpretSenseInfo
+ScsiClassIoComplete
+ScsiClassIoCompleteAssociated
+ScsiClassModeSense
+ScsiClassQueryTimeOutRegistryValue
+ScsiClassReadDriveCapacity
+ScsiClassReleaseQueue
+ScsiClassSendSrbAsynchronous
+ScsiClassSendSrbSynchronous
+ScsiClassSplitRequest
+;EOF
Propchange: trunk/reactos/drivers/storage/class/class2/class2_arm.def
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/storage/class/class2/class2_arm.def
------------------------------------------------------------------------------
svn:mime-type = text/plain
Removed: trunk/reactos/drivers/storage/scsiport/scsiport.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport.def (original)
+++ trunk/reactos/drivers/storage/scsiport/scsiport.def (removed)
@@ -1,51 +1,0 @@
-;
-; scsiport.def - export definition file for scsiport driver
-;
-LIBRARY SCSIPORT.SYS
-EXPORTS
-ScsiDebugPrint
-ScsiPortCompleteRequest@20
-ScsiPortConvertPhysicalAddressToUlong@8
-ScsiPortConvertUlongToPhysicalAddress(a)4=NTOSKRNL.RtlConvertUlongToLargeInteger
-ScsiPortFlushDma@4
-ScsiPortFreeDeviceBase@8
-ScsiPortGetBusData@24
-ScsiPortGetDeviceBase@28
-ScsiPortGetLogicalUnit@16
-ScsiPortGetPhysicalAddress@16
-ScsiPortGetSrb@20
-ScsiPortGetUncachedExtension@12
-ScsiPortGetVirtualAddress@12
-ScsiPortInitialize@16
-ScsiPortIoMapTransfer@16
-ScsiPortLogError@28
-ScsiPortMoveMemory@12
-ScsiPortNotification
-ScsiPortReadPortBufferUchar(a)12=HAL.READ_PORT_BUFFER_UCHAR
-ScsiPortReadPortBufferUshort(a)12=HAL.READ_PORT_BUFFER_USHORT
-ScsiPortReadPortBufferUlong(a)12=HAL.READ_PORT_BUFFER_ULONG
-ScsiPortReadPortUchar(a)4=HAL.READ_PORT_UCHAR
-ScsiPortReadPortUshort(a)4=HAL.READ_PORT_USHORT
-ScsiPortReadPortUlong(a)4=HAL.READ_PORT_ULONG
-ScsiPortReadRegisterBufferUchar(a)12=NTOSKRNL.READ_REGISTER_BUFFER_UCHAR
-ScsiPortReadRegisterBufferUshort(a)12=NTOSKRNL.READ_REGISTER_BUFFER_USHORT
-ScsiPortReadRegisterBufferUlong(a)12=NTOSKRNL.READ_REGISTER_BUFFER_ULONG
-ScsiPortReadRegisterUchar(a)4=NTOSKRNL.READ_REGISTER_UCHAR
-ScsiPortReadRegisterUshort(a)4=NTOSKRNL.READ_REGISTER_USHORT
-ScsiPortReadRegisterUlong(a)4=NTOSKRNL.READ_REGISTER_ULONG
-ScsiPortSetBusDataByOffset@28
-ScsiPortStallExecution(a)4=HAL.KeStallExecutionProcessor
-ScsiPortValidateRange@28
-ScsiPortWritePortUchar(a)8=HAL.WRITE_PORT_UCHAR
-ScsiPortWritePortUshort(a)8=HAL.WRITE_PORT_USHORT
-ScsiPortWritePortUlong(a)8=HAL.WRITE_PORT_ULONG
-ScsiPortWritePortBufferUchar(a)12=HAL.WRITE_PORT_BUFFER_UCHAR
-ScsiPortWritePortBufferUshort(a)12=HAL.WRITE_PORT_BUFFER_USHORT
-ScsiPortWritePortBufferUlong(a)12=HAL.WRITE_PORT_BUFFER_ULONG
-ScsiPortWriteRegisterBufferUchar(a)12=NTOSKRNL.WRITE_REGISTER_BUFFER_UCHAR
-ScsiPortWriteRegisterBufferUshort(a)12=NTOSKRNL.WRITE_REGISTER_BUFFER_USHORT
-ScsiPortWriteRegisterBufferUlong(a)12=NTOSKRNL.WRITE_REGISTER_BUFFER_ULONG
-ScsiPortWriteRegisterUchar(a)8=NTOSKRNL.WRITE_REGISTER_UCHAR
-ScsiPortWriteRegisterUshort(a)8=NTOSKRNL.WRITE_REGISTER_USHORT
-ScsiPortWriteRegisterUlong(a)8=NTOSKRNL.WRITE_REGISTER_ULONG
-;EOF
Modified: trunk/reactos/drivers/storage/scsiport/scsiport.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport.rbuild (original)
+++ trunk/reactos/drivers/storage/scsiport/scsiport.rbuild Fri Feb 8 20:13:09 2008
@@ -3,7 +3,7 @@
<module name="scsiport" type="kernelmodedriver"
installbase="system32/drivers" installname="scsiport.sys">
<bootstrap installbase="$(CDOUTPUT)" />
<define name="_SCSIPORT_" />
- <importlibrary definition="scsiport.def" />
+ <importlibrary definition="scsiport_$(ARCH).def" />
<include base="scsiport">.</include>
<library>ntoskrnl</library>
<library>hal</library>
Added: trunk/reactos/drivers/storage/scsiport/scsiport_arm.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport_arm.def (added)
+++ trunk/reactos/drivers/storage/scsiport/scsiport_arm.def Fri Feb 8 20:13:09 2008
@@ -1,0 +1,51 @@
+;
+; scsiport.def - export definition file for scsiport driver
+;
+LIBRARY SCSIPORT.SYS
+EXPORTS
+ScsiDebugPrint
+ScsiPortCompleteRequest
+ScsiPortConvertPhysicalAddressToUlong
+ScsiPortConvertUlongToPhysicalAddress=NTOSKRNL.RtlConvertUlongToLargeInteger
+ScsiPortFlushDma
+ScsiPortFreeDeviceBase
+ScsiPortGetBusData
+ScsiPortGetDeviceBase
+ScsiPortGetLogicalUnit
+ScsiPortGetPhysicalAddress
+ScsiPortGetSrb
+ScsiPortGetUncachedExtension
+ScsiPortGetVirtualAddress
+ScsiPortInitialize
+ScsiPortIoMapTransfer
+ScsiPortLogError
+ScsiPortMoveMemory
+ScsiPortNotification
+ScsiPortReadPortBufferUchar=HAL.READ_PORT_BUFFER_UCHAR
+ScsiPortReadPortBufferUshort=HAL.READ_PORT_BUFFER_USHORT
+ScsiPortReadPortBufferUlong=HAL.READ_PORT_BUFFER_ULONG
+ScsiPortReadPortUchar=HAL.READ_PORT_UCHAR
+ScsiPortReadPortUshort=HAL.READ_PORT_USHORT
+ScsiPortReadPortUlong=HAL.READ_PORT_ULONG
+ScsiPortReadRegisterBufferUchar=NTOSKRNL.READ_REGISTER_BUFFER_UCHAR
+ScsiPortReadRegisterBufferUshort=NTOSKRNL.READ_REGISTER_BUFFER_USHORT
+ScsiPortReadRegisterBufferUlong=NTOSKRNL.READ_REGISTER_BUFFER_ULONG
+ScsiPortReadRegisterUchar=NTOSKRNL.READ_REGISTER_UCHAR
+ScsiPortReadRegisterUshort=NTOSKRNL.READ_REGISTER_USHORT
+ScsiPortReadRegisterUlong=NTOSKRNL.READ_REGISTER_ULONG
+ScsiPortSetBusDataByOffset
+ScsiPortStallExecution=HAL.KeStallExecutionProcessor
+ScsiPortValidateRange
+ScsiPortWritePortUchar=HAL.WRITE_PORT_UCHAR
+ScsiPortWritePortUshort=HAL.WRITE_PORT_USHORT
+ScsiPortWritePortUlong=HAL.WRITE_PORT_ULONG
+ScsiPortWritePortBufferUchar=HAL.WRITE_PORT_BUFFER_UCHAR
+ScsiPortWritePortBufferUshort=HAL.WRITE_PORT_BUFFER_USHORT
+ScsiPortWritePortBufferUlong=HAL.WRITE_PORT_BUFFER_ULONG
+ScsiPortWriteRegisterBufferUchar=NTOSKRNL.WRITE_REGISTER_BUFFER_UCHAR
+ScsiPortWriteRegisterBufferUshort=NTOSKRNL.WRITE_REGISTER_BUFFER_USHORT
+ScsiPortWriteRegisterBufferUlong=NTOSKRNL.WRITE_REGISTER_BUFFER_ULONG
+ScsiPortWriteRegisterUchar=NTOSKRNL.WRITE_REGISTER_UCHAR
+ScsiPortWriteRegisterUshort=NTOSKRNL.WRITE_REGISTER_USHORT
+ScsiPortWriteRegisterUlong=NTOSKRNL.WRITE_REGISTER_ULONG
+;EOF
Propchange: trunk/reactos/drivers/storage/scsiport/scsiport_arm.def
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/storage/scsiport/scsiport_arm.def
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: trunk/reactos/hal/hal.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/hal.rbuild?rev=32223&a…
==============================================================================
--- trunk/reactos/hal/hal.rbuild (original)
+++ trunk/reactos/hal/hal.rbuild Fri Feb 8 20:13:09 2008
@@ -14,4 +14,9 @@
<xi:include href="halppc/directory.rbuild" />
</directory>
</if>
+ <if property="ARCH" value="arm">
+ <directory name="halarm">
+ <xi:include href="halarm/directory.rbuild" />
+ </directory>
+ </if>
</group>
Modified: trunk/reactos/hal/hal/hal_arm.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/hal/hal_arm.def?rev=32…
==============================================================================
--- trunk/reactos/hal/hal/hal_arm.def (original)
+++ trunk/reactos/hal/hal/hal_arm.def Fri Feb 8 20:13:09 2008
@@ -78,6 +78,7 @@
KeFlushWriteBuffer
KeGetCurrentIrql
KeLowerIrql
+KeSwapIrql
KeQueryPerformanceCounter
KeRaiseIrql
KeRaiseIrqlToDpcLevel
Added: trunk/reactos/hal/halarm/directory.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halarm/directory.rbuil…
==============================================================================
--- trunk/reactos/hal/halarm/directory.rbuild (added)
+++ trunk/reactos/hal/halarm/directory.rbuild Fri Feb 8 20:13:09 2008
@@ -1,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE group SYSTEM "../../tools/rbuild/project.dtd">
+<group
xmlns:xi="http://www.w3.org/2001/XInclude">
+ <directory name="generic">
+ <xi:include href="generic/generic.rbuild" />
+ </directory>
+ <directory name="up">
+ <xi:include href="up/halup.rbuild" />
+ </directory>
+</group>
Propchange: trunk/reactos/hal/halarm/directory.rbuild
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/hal/halarm/directory.rbuild
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: trunk/reactos/hal/halarm/generic/generic.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halarm/generic/generic…
==============================================================================
--- trunk/reactos/hal/halarm/generic/generic.rbuild (added)
+++ trunk/reactos/hal/halarm/generic/generic.rbuild Fri Feb 8 20:13:09 2008
@@ -1,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
+<module name="halarm_generic" type="objectlibrary">
+ <include base="halarm_generic">../include</include>
+ <include base="ntoskrnl">include</include>
+ <define name="_DISABLE_TIDENTS" />
+ <define name="_NTHAL_" />
+ <file>hal.c</file>
+ <pch>../include/hal.h</pch>
+</module>
Propchange: trunk/reactos/hal/halarm/generic/generic.rbuild
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/hal/halarm/generic/generic.rbuild
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: trunk/reactos/hal/halarm/generic/hal.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halarm/generic/hal.c?r…
==============================================================================
--- trunk/reactos/hal/halarm/generic/hal.c (added)
+++ trunk/reactos/hal/halarm/generic/hal.c Fri Feb 8 20:13:09 2008
@@ -1,0 +1,1092 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: hal/hal.c
+ * PURPOSE: Hardware Abstraction Layer DLL
+ * PROGRAMMER: Casper S. Hornstrup (chorns(a)users.sourceforge.net)
+ * REVISION HISTORY:
+ * 01-08-2001 CSH Created
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <ntddk.h>
+#include <ntdddisk.h>
+#include <arc/arc.h>
+#include <intrin.h>
+#include <ndk/halfuncs.h>
+#include <ndk/iofuncs.h>
+#include <ndk/kdfuncs.h>
+
+#define NDEBUG
+#include <debug.h>
+
+#undef ExAcquireFastMutex
+#undef ExReleaseFastMutex
+#undef ExTryToAcquireFastMutex
+
+/* DATA **********************************************************************/
+
+ULONG _KdComPortInUse = 0;
+
+/* FUNCTIONS *****************************************************************/
+
+NTSTATUS
+NTAPI
+DriverEntry(
+ PDRIVER_OBJECT DriverObject,
+ PUNICODE_STRING RegistryPath)
+{
+ UNIMPLEMENTED;
+
+ return STATUS_SUCCESS;
+}
+
+/*
+* @unimplemented
+*/
+VOID
+NTAPI
+HalStopProfileInterrupt(IN KPROFILE_SOURCE ProfileSource)
+{
+ KEBUGCHECK(0);
+ return;
+}
+
+/*
+* @unimplemented
+*/
+VOID
+NTAPI
+HalStartProfileInterrupt(IN KPROFILE_SOURCE ProfileSource)
+{
+ KEBUGCHECK(0);
+ return;
+}
+
+/*
+* @unimplemented
+*/
+ULONG_PTR
+NTAPI
+HalSetProfileInterval(IN ULONG_PTR Interval)
+{
+ KEBUGCHECK(0);
+ return Interval;
+}
+
+VOID
+FASTCALL
+ExAcquireFastMutex(
+ PFAST_MUTEX FastMutex)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+FASTCALL
+ExReleaseFastMutex(
+ PFAST_MUTEX FastMutex)
+{
+ UNIMPLEMENTED;
+}
+
+
+BOOLEAN FASTCALL
+ExTryToAcquireFastMutex(
+ PFAST_MUTEX FastMutex)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+VOID
+NTAPI
+HalAcquireDisplayOwnership(
+ PHAL_RESET_DISPLAY_PARAMETERS ResetDisplayParameters)
+{
+ UNIMPLEMENTED;
+}
+
+
+NTSTATUS
+NTAPI
+HalAdjustResourceList(
+ PCM_RESOURCE_LIST Resources)
+{
+ UNIMPLEMENTED;
+
+ return STATUS_SUCCESS;
+}
+
+
+BOOLEAN
+NTAPI
+HalAllProcessorsStarted(VOID)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+NTSTATUS
+NTAPI
+HalAllocateAdapterChannel(
+ PADAPTER_OBJECT AdapterObject,
+ PWAIT_CONTEXT_BLOCK WaitContextBlock,
+ ULONG NumberOfMapRegisters,
+ PDRIVER_CONTROL ExecutionRoutine)
+{
+ UNIMPLEMENTED;
+
+ return STATUS_SUCCESS;
+}
+
+
+PVOID
+NTAPI
+HalAllocateCommonBuffer(
+ PADAPTER_OBJECT AdapterObject,
+ ULONG Length,
+ PPHYSICAL_ADDRESS LogicalAddress,
+ BOOLEAN CacheEnabled)
+{
+ UNIMPLEMENTED;
+
+ return NULL;
+}
+
+
+PVOID
+NTAPI
+HalAllocateCrashDumpRegisters(
+ PADAPTER_OBJECT AdapterObject,
+ PULONG NumberOfMapRegisters)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+
+NTSTATUS
+NTAPI
+HalAssignSlotResources(
+ PUNICODE_STRING RegistryPath,
+ PUNICODE_STRING DriverClassName,
+ PDRIVER_OBJECT DriverObject,
+ PDEVICE_OBJECT DeviceObject,
+ INTERFACE_TYPE BusType,
+ ULONG BusNumber,
+ ULONG SlotNumber,
+ PCM_RESOURCE_LIST *AllocatedResources)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+BOOLEAN
+NTAPI
+HalBeginSystemInterrupt (KIRQL Irql,
+ ULONG Vector,
+ PKIRQL OldIrql)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+VOID
+NTAPI
+HalCalibratePerformanceCounter(
+ volatile LONG *Count,
+ ULONGLONG NewCount)
+{
+ UNIMPLEMENTED;
+}
+
+
+BOOLEAN
+NTAPI
+HalDisableSystemInterrupt(
+ ULONG Vector,
+ KIRQL Irql)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+VOID
+NTAPI
+HalDisplayString(
+ PCH String)
+{
+ UNIMPLEMENTED;
+}
+
+
+BOOLEAN
+NTAPI
+HalEnableSystemInterrupt(
+ ULONG Vector,
+ KIRQL Irql,
+ KINTERRUPT_MODE InterruptMode)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+VOID
+NTAPI
+HalEndSystemInterrupt(
+ KIRQL Irql,
+ ULONG Unknown2)
+{
+ UNIMPLEMENTED;
+}
+
+
+BOOLEAN
+NTAPI
+HalFlushCommonBuffer(
+ ULONG Unknown1,
+ ULONG Unknown2,
+ ULONG Unknown3,
+ ULONG Unknown4,
+ ULONG Unknown5)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+VOID
+NTAPI
+HalFreeCommonBuffer(
+ PADAPTER_OBJECT AdapterObject,
+ ULONG Length,
+ PHYSICAL_ADDRESS LogicalAddress,
+ PVOID VirtualAddress,
+ BOOLEAN CacheEnabled)
+{
+ UNIMPLEMENTED;
+}
+
+
+PADAPTER_OBJECT
+NTAPI
+HalGetAdapter(
+ PDEVICE_DESCRIPTION DeviceDescription,
+ PULONG NumberOfMapRegisters)
+{
+ UNIMPLEMENTED;
+
+ return (PADAPTER_OBJECT)NULL;
+}
+
+
+ULONG
+NTAPI
+HalGetBusData(
+ BUS_DATA_TYPE BusDataType,
+ ULONG BusNumber,
+ ULONG SlotNumber,
+ PVOID Buffer,
+ ULONG Length)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+ULONG
+NTAPI
+HalGetBusDataByOffset(
+ BUS_DATA_TYPE BusDataType,
+ ULONG BusNumber,
+ ULONG SlotNumber,
+ PVOID Buffer,
+ ULONG Offset,
+ ULONG Length)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+ARC_STATUS
+NTAPI
+HalGetEnvironmentVariable(
+ PCH Name,
+ USHORT ValueLength,
+ PCH Value)
+{
+ UNIMPLEMENTED;
+
+ return ENOENT;
+}
+
+
+ULONG
+NTAPI
+HalGetInterruptVector(
+ INTERFACE_TYPE InterfaceType,
+ ULONG BusNumber,
+ ULONG BusInterruptLevel,
+ ULONG BusInterruptVector,
+ PKIRQL Irql,
+ PKAFFINITY Affinity)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+VOID
+NTAPI
+HalHandleNMI(
+ PVOID NmiData)
+{
+ UNIMPLEMENTED;
+}
+
+
+BOOLEAN
+NTAPI
+HalInitSystem(
+ ULONG BootPhase,
+ PLOADER_PARAMETER_BLOCK LoaderBlock)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+VOID
+NTAPI
+HalInitializeProcessor(ULONG ProcessorNumber,
+ PLOADER_PARAMETER_BLOCK LoaderBlock)
+{
+ UNIMPLEMENTED;
+}
+
+
+BOOLEAN
+NTAPI
+HalMakeBeep(
+ ULONG Frequency)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+VOID
+NTAPI
+HalProcessorIdle(VOID)
+{
+ UNIMPLEMENTED;
+}
+
+
+BOOLEAN
+NTAPI
+HalQueryDisplayOwnership(VOID)
+{
+ UNIMPLEMENTED;
+
+ return FALSE;
+}
+
+
+VOID
+NTAPI
+HalQueryDisplayParameters(
+ OUT PULONG DispSizeX,
+ OUT PULONG DispSizeY,
+ OUT PULONG CursorPosX,
+ OUT PULONG CursorPosY)
+{
+ UNIMPLEMENTED;
+}
+
+
+BOOLEAN
+NTAPI
+HalQueryRealTimeClock(
+ PTIME_FIELDS Time)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+
+ULONG
+NTAPI
+HalReadDmaCounter(
+ PADAPTER_OBJECT AdapterObject)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+VOID
+NTAPI
+HalReleaseDisplayOwnership(VOID)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+NTAPI
+HalReportResourceUsage(VOID)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+NTAPI
+HalRequestIpi(
+ ULONG Unknown)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+FASTCALL
+HalRequestSoftwareInterrupt(
+ KIRQL Request)
+{
+ UNIMPLEMENTED;
+}
+
+VOID FASTCALL
+HalClearSoftwareInterrupt(
+ IN KIRQL Request)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+NTAPI
+HalReturnToFirmware(
+ FIRMWARE_REENTRY Action)
+{
+ UNIMPLEMENTED;
+}
+
+
+ULONG
+NTAPI
+HalSetBusData(
+ BUS_DATA_TYPE BusDataType,
+ ULONG BusNumber,
+ ULONG SlotNumber,
+ PVOID Buffer,
+ ULONG Length)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+ULONG
+NTAPI
+HalSetBusDataByOffset(
+ BUS_DATA_TYPE BusDataType,
+ ULONG BusNumber,
+ ULONG SlotNumber,
+ PVOID Buffer,
+ ULONG Offset,
+ ULONG Length)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+VOID
+NTAPI
+HalSetDisplayParameters(
+ ULONG CursorPosX,
+ ULONG CursorPosY)
+{
+ UNIMPLEMENTED;
+}
+
+
+ARC_STATUS
+NTAPI
+HalSetEnvironmentVariable(
+ PCH Name,
+ PCH Value)
+{
+ UNIMPLEMENTED;
+
+ return ESUCCESS;
+}
+
+
+BOOLEAN
+NTAPI
+HalSetRealTimeClock(
+ PTIME_FIELDS Time)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+ULONG
+NTAPI
+HalSetTimeIncrement(
+ ULONG Increment)
+{
+ UNIMPLEMENTED;
+
+ return Increment;
+}
+
+
+BOOLEAN
+NTAPI
+HalStartNextProcessor(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
+ IN PKPROCESSOR_STATE ProcessorState)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+ULONG
+FASTCALL
+HalSystemVectorDispatchEntry(
+ ULONG Unknown1,
+ ULONG Unknown2,
+ ULONG Unknown3)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+BOOLEAN
+NTAPI
+HalTranslateBusAddress(
+ INTERFACE_TYPE InterfaceType,
+ ULONG BusNumber,
+ PHYSICAL_ADDRESS BusAddress,
+ PULONG AddressSpace,
+ PPHYSICAL_ADDRESS TranslatedAddress)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+VOID
+NTAPI
+HalpAssignDriveLetters(IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
+ IN PSTRING NtDeviceName,
+ OUT PUCHAR NtSystemPath,
+ OUT PSTRING NtSystemPathString)
+{
+ /* Call the kernel */
+ IoAssignDriveLetters(LoaderBlock,
+ NtDeviceName,
+ NtSystemPath,
+ NtSystemPathString);
+}
+
+NTSTATUS
+NTAPI
+HalpReadPartitionTable(IN PDEVICE_OBJECT DeviceObject,
+ IN ULONG SectorSize,
+ IN BOOLEAN ReturnRecognizedPartitions,
+ IN OUT PDRIVE_LAYOUT_INFORMATION *PartitionBuffer)
+{
+ /* Call the kernel */
+ return IoReadPartitionTable(DeviceObject,
+ SectorSize,
+ ReturnRecognizedPartitions,
+ PartitionBuffer);
+}
+
+NTSTATUS
+NTAPI
+HalpWritePartitionTable(IN PDEVICE_OBJECT DeviceObject,
+ IN ULONG SectorSize,
+ IN ULONG SectorsPerTrack,
+ IN ULONG NumberOfHeads,
+ IN PDRIVE_LAYOUT_INFORMATION PartitionBuffer)
+{
+ /* Call the kernel */
+ return IoWritePartitionTable(DeviceObject,
+ SectorSize,
+ SectorsPerTrack,
+ NumberOfHeads,
+ PartitionBuffer);
+}
+
+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);
+}
+
+
+BOOLEAN
+NTAPI
+IoFlushAdapterBuffers(
+ PADAPTER_OBJECT AdapterObject,
+ PMDL Mdl,
+ PVOID MapRegisterBase,
+ PVOID CurrentVa,
+ ULONG Length,
+ BOOLEAN WriteToDevice)
+{
+ UNIMPLEMENTED;
+
+ return TRUE;
+}
+
+
+VOID
+NTAPI
+IoFreeAdapterChannel(
+ PADAPTER_OBJECT AdapterObject)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+NTAPI
+IoFreeMapRegisters(
+ PADAPTER_OBJECT AdapterObject,
+ PVOID MapRegisterBase,
+ ULONG NumberOfMapRegisters)
+{
+ UNIMPLEMENTED;
+}
+
+
+PHYSICAL_ADDRESS
+NTAPI
+IoMapTransfer(
+ PADAPTER_OBJECT AdapterObject,
+ PMDL Mdl,
+ PVOID MapRegisterBase,
+ PVOID CurrentVa,
+ PULONG Length,
+ BOOLEAN WriteToDevice)
+{
+ PHYSICAL_ADDRESS Address;
+
+ UNIMPLEMENTED;
+
+ Address.QuadPart = 0;
+
+ return Address;
+}
+
+
+#undef KeAcquireSpinLock
+VOID
+NTAPI
+KeAcquireSpinLock(
+ PKSPIN_LOCK SpinLock,
+ PKIRQL OldIrql)
+{
+ UNIMPLEMENTED;
+}
+
+
+KIRQL
+FASTCALL
+KeAcquireSpinLockRaiseToSynch(
+ PKSPIN_LOCK SpinLock)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+VOID
+FASTCALL
+KeAcquireInStackQueuedSpinLock(
+ IN PKSPIN_LOCK SpinLock,
+ IN PKLOCK_QUEUE_HANDLE LockHandle
+ )
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+FASTCALL
+KeAcquireInStackQueuedSpinLockRaiseToSynch(
+ IN PKSPIN_LOCK SpinLock,
+ IN PKLOCK_QUEUE_HANDLE LockHandle
+ )
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+FASTCALL
+KeReleaseInStackQueuedSpinLock(
+ IN PKLOCK_QUEUE_HANDLE LockHandle
+ )
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+NTAPI
+KeFlushWriteBuffer(VOID)
+{
+ UNIMPLEMENTED;
+}
+
+#undef KeGetCurrentIrql
+KIRQL
+NTAPI
+KeGetCurrentIrql(VOID)
+{
+ UNIMPLEMENTED;
+
+ return (KIRQL)0;
+}
+
+#undef KeLowerIrql
+VOID
+NTAPI
+KeLowerIrql(
+ KIRQL NewIrql)
+{
+ UNIMPLEMENTED;
+}
+
+
+LARGE_INTEGER
+NTAPI
+KeQueryPerformanceCounter(
+ PLARGE_INTEGER PerformanceFreq)
+{
+ LARGE_INTEGER Value;
+
+ UNIMPLEMENTED;
+
+ Value.QuadPart = 0;
+
+ return Value;
+}
+
+#undef KeRaiseIrql
+VOID
+NTAPI
+KeRaiseIrql(
+ KIRQL NewIrql,
+ PKIRQL OldIrql)
+{
+ UNIMPLEMENTED;
+}
+
+
+KIRQL
+NTAPI
+KeRaiseIrqlToDpcLevel(VOID)
+{
+ UNIMPLEMENTED;
+
+ return (KIRQL)0;
+}
+
+
+KIRQL
+NTAPI
+KeRaiseIrqlToSynchLevel(VOID)
+{
+ UNIMPLEMENTED;
+
+ return (KIRQL)0;
+}
+
+#undef KeReleaseSpinLock
+VOID
+NTAPI
+KeReleaseSpinLock(
+ PKSPIN_LOCK SpinLock,
+ KIRQL NewIrql)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+NTAPI
+KeStallExecutionProcessor(
+ ULONG Microseconds)
+{
+ UNIMPLEMENTED;
+}
+
+
+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(
+ PKSPIN_LOCK SpinLock)
+{
+ UNIMPLEMENTED;
+
+ return (KIRQL)0;
+}
+
+
+VOID
+FASTCALL
+KfLowerIrql(
+ KIRQL NewIrql)
+{
+ UNIMPLEMENTED;
+}
+
+
+KIRQL
+FASTCALL
+KfRaiseIrql(
+ KIRQL NewIrql)
+{
+ UNIMPLEMENTED;
+
+ return (KIRQL)0;
+}
+
+
+VOID
+FASTCALL
+KfReleaseSpinLock(
+ PKSPIN_LOCK SpinLock,
+ KIRQL NewIrql)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+NTAPI
+READ_PORT_BUFFER_UCHAR(
+ PUCHAR Port,
+ PUCHAR Buffer,
+ ULONG Count)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+NTAPI
+READ_PORT_BUFFER_ULONG(
+ PULONG Port,
+ PULONG Buffer,
+ ULONG Count)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+NTAPI
+READ_PORT_BUFFER_USHORT(
+ PUSHORT Port,
+ PUSHORT Buffer,
+ ULONG Count)
+{
+ UNIMPLEMENTED;
+}
+
+
+UCHAR
+NTAPI
+READ_PORT_UCHAR(
+ PUCHAR Port)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+ULONG
+NTAPI
+READ_PORT_ULONG(
+ PULONG Port)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+USHORT
+NTAPI
+READ_PORT_USHORT(
+ PUSHORT Port)
+{
+ UNIMPLEMENTED;
+
+ return 0;
+}
+
+
+VOID
+NTAPI
+WRITE_PORT_BUFFER_UCHAR(
+ PUCHAR Port,
+ PUCHAR Buffer,
+ ULONG Count)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+NTAPI
+WRITE_PORT_BUFFER_USHORT(
+ PUSHORT Port,
+ PUSHORT Buffer,
+ ULONG Count)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+NTAPI
+WRITE_PORT_BUFFER_ULONG(
+ PULONG Port,
+ PULONG Buffer,
+ ULONG Count)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+NTAPI
+WRITE_PORT_UCHAR(
+ PUCHAR Port,
+ UCHAR Value)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+NTAPI
+WRITE_PORT_ULONG(
+ PULONG Port,
+ ULONG Value)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+NTAPI
+WRITE_PORT_USHORT(
+ PUSHORT Port,
+ USHORT Value)
+{
+ UNIMPLEMENTED;
+}
+
+KIRQL
+FASTCALL
+KeAcquireQueuedSpinLock(IN PKLOCK_QUEUE_HANDLE LockHandle)
+{
+ UNIMPLEMENTED;
+ return (KIRQL)0;
+}
+
+KIRQL
+FASTCALL
+KeAcquireQueuedSpinLockRaiseToSynch(IN PKLOCK_QUEUE_HANDLE LockHandle)
+{
+ UNIMPLEMENTED;
+ return (KIRQL)0;
+}
+
+VOID
+FASTCALL
+KeReleaseQueuedSpinLock(IN PKLOCK_QUEUE_HANDLE LockHandle,
+ IN KIRQL OldIrql)
+{
+ UNIMPLEMENTED;
+}
+
+KIRQL
+KeSwapIrql(IN KIRQL Irql)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+/* EOF */
Propchange: trunk/reactos/hal/halarm/generic/hal.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/hal/halarm/generic/hal.c
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: trunk/reactos/hal/halarm/include/hal.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halarm/include/hal.h?r…
==============================================================================
--- trunk/reactos/hal/halarm/include/hal.h (added)
+++ trunk/reactos/hal/halarm/include/hal.h Fri Feb 8 20:13:09 2008
@@ -1,0 +1,43 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS Hardware Abstraction Layer
+ * FILE: hal/halx86/include/hal.h
+ * PURPOSE: HAL Header
+ * PROGRAMMER: Alex Ionescu (alex(a)relsoft.net)
+ */
+
+/* INCLUDES ******************************************************************/
+
+/* C Headers */
+#include <stdio.h>
+
+/* WDK HAL Compilation hack */
+#ifdef _MSC_VER
+#include <excpt.h>
+#include <ntdef.h>
+#undef _NTHAL_
+#undef DECLSPEC_IMPORT
+#define DECLSPEC_IMPORT
+#define __declspec(dllimport)
+#endif
+
+/* IFS/DDK/NDK Headers */
+#include <ntifs.h>
+#include <bugcodes.h>
+#include <ntdddisk.h>
+#include <arc/arc.h>
+#include <iotypes.h>
+#include <kefuncs.h>
+#include <intrin.h>
+#include <halfuncs.h>
+#include <iofuncs.h>
+#include <ldrtypes.h>
+#include <obfuncs.h>
+
+/* Internal HAL Headers */
+#include "halp.h"
+
+/* Helper Header */
+#include <reactos/helper.h>
+
+/* EOF */
Propchange: trunk/reactos/hal/halarm/include/hal.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/hal/halarm/include/hal.h
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: trunk/reactos/hal/halarm/include/halp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halarm/include/halp.h?…
==============================================================================
--- trunk/reactos/hal/halarm/include/halp.h (added)
+++ trunk/reactos/hal/halarm/include/halp.h Fri Feb 8 20:13:09 2008
@@ -1,0 +1,114 @@
+/*
+ *
+ */
+
+#ifndef __INTERNAL_HAL_HAL_H
+#define __INTERNAL_HAL_HAL_H
+
+/* WDK Hack */
+#define KdComPortInUse _KdComPortInUse
+
+#define HAL_APC_REQUEST 0
+#define HAL_DPC_REQUEST 1
+
+/* Conversion functions */
+#define BCD_INT(bcd) \
+ (((bcd & 0xF0) >> 4) * 10 + (bcd & 0x0F))
+#define INT_BCD(int) \
+ (UCHAR)(((int / 10) << 4) + (int % 10))
+
+/* adapter.c */
+PADAPTER_OBJECT STDCALL HalpAllocateAdapterEx(ULONG NumberOfMapRegisters,BOOLEAN
IsMaster, BOOLEAN Dma32BitAddresses);
+
+/* bus.c */
+VOID NTAPI HalpInitNonBusHandler (VOID);
+
+/* irql.c */
+VOID NTAPI HalpInitPICs(VOID);
+
+/* udelay.c */
+VOID NTAPI HalpInitializeClock(VOID);
+
+/* pci.c */
+VOID HalpInitPciBus (VOID);
+
+/* dma.c */
+VOID HalpInitDma (VOID);
+
+/* Non-generic initialization */
+VOID HalpInitPhase0 (PLOADER_PARAMETER_BLOCK LoaderBlock);
+VOID HalpInitPhase1(VOID);
+VOID NTAPI HalpClockInterrupt(VOID);
+
+//
+// KD Support
+//
+VOID
+NTAPI
+HalpCheckPowerButton(
+ VOID
+);
+
+VOID
+NTAPI
+HalpRegisterKdSupportFunctions(
+ VOID
+);
+
+NTSTATUS
+NTAPI
+HalpSetupPciDeviceForDebugging(
+ IN PVOID LoaderBlock,
+ IN OUT PDEBUG_DEVICE_DESCRIPTOR PciDevice
+);
+
+NTSTATUS
+NTAPI
+HalpReleasePciDeviceForDebugging(
+ IN OUT PDEBUG_DEVICE_DESCRIPTOR PciDevice
+);
+
+//
+// Memory routines
+//
+PVOID
+NTAPI
+HalpMapPhysicalMemory64(
+ IN PHYSICAL_ADDRESS PhysicalAddress,
+ IN ULONG NumberPage
+);
+
+VOID
+NTAPI
+HalpUnmapVirtualAddress(
+ IN PVOID VirtualAddress,
+ IN ULONG NumberPages
+);
+
+/* sysinfo.c */
+NTSTATUS
+NTAPI
+HaliQuerySystemInformation(
+ IN HAL_QUERY_INFORMATION_CLASS InformationClass,
+ IN ULONG BufferSize,
+ IN OUT PVOID Buffer,
+ OUT PULONG ReturnedLength
+);
+
+NTSTATUS
+NTAPI
+HaliSetSystemInformation(
+ IN HAL_SET_INFORMATION_CLASS InformationClass,
+ IN ULONG BufferSize,
+ IN OUT PVOID Buffer
+);
+
+typedef struct tagHALP_HOOKS
+{
+ void (*InitPciBus)(ULONG BusNumber, PBUS_HANDLER BusHandler);
+} HALP_HOOKS, *PHALP_HOOKS;
+
+extern HALP_HOOKS HalpHooks;
+extern KSPIN_LOCK HalpSystemHardwareLock;
+
+#endif /* __INTERNAL_HAL_HAL_H */
Propchange: trunk/reactos/hal/halarm/include/halp.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/hal/halarm/include/halp.h
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: trunk/reactos/hal/halarm/up/halinit_up.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halarm/up/halinit_up.c…
==============================================================================
--- trunk/reactos/hal/halarm/up/halinit_up.c (added)
+++ trunk/reactos/hal/halarm/up/halinit_up.c Fri Feb 8 20:13:09 2008
@@ -1,0 +1,32 @@
+/* $Id: halinit_up.c 24964 2006-11-29 08:28:20Z ion $
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: ntoskrnl/hal/x86/halinit.c
+ * PURPOSE: Initalize the x86 hal
+ * PROGRAMMER: David Welch (welch(a)cwcom.net)
+ * UPDATE HISTORY:
+ * 11/06/98: Created
+ */
+
+/* INCLUDES *****************************************************************/
+
+#include <hal.h>
+#define NDEBUG
+#include <debug.h>
+
+/* FUNCTIONS ***************************************************************/
+
+VOID
+HalpInitPhase0(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
+{
+
+}
+
+VOID
+HalpInitPhase1(VOID)
+{
+
+}
+
+/* EOF */
Propchange: trunk/reactos/hal/halarm/up/halinit_up.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/hal/halarm/up/halinit_up.c
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: trunk/reactos/hal/halarm/up/halup.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halarm/up/halup.rbuild…
==============================================================================
--- trunk/reactos/hal/halarm/up/halup.rbuild (added)
+++ trunk/reactos/hal/halarm/up/halup.rbuild Fri Feb 8 20:13:09 2008
@@ -1,0 +1,14 @@
+<?xml version="1.0"?>
+<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
+<module name="halarm_up" type="kernelmodedll">
+ <importlibrary definition="../../hal/hal_arm.def" />
+ <bootstrap installbase="$(CDOUTPUT)" nameoncd="hal.dll" />
+ <include base="halarm_generic">../include</include>
+ <include base="ntoskrnl">include</include>
+ <define name="_DISABLE_TIDENTS" />
+ <define name="_NTHAL_" />
+ <library>halarm_generic</library>
+ <library>ntoskrnl</library>
+ <file>halinit_up.c</file>
+ <file>halup.rc</file>
+</module>
Propchange: trunk/reactos/hal/halarm/up/halup.rbuild
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/hal/halarm/up/halup.rbuild
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: trunk/reactos/hal/halarm/up/halup.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halarm/up/halup.rc?rev…
==============================================================================
--- trunk/reactos/hal/halarm/up/halup.rc (added)
+++ trunk/reactos/hal/halarm/up/halup.rc Fri Feb 8 20:13:09 2008
@@ -1,0 +1,5 @@
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION "X86 Uniprocessor Hardware Abstraction
Layer\0"
+#define REACTOS_STR_INTERNAL_NAME "halup\0"
+#define REACTOS_STR_ORIGINAL_FILENAME "halup.dll\0"
+#include <reactos/version.rc>
Propchange: trunk/reactos/hal/halarm/up/halup.rc
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/hal/halarm/up/halup.rc
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: trunk/reactos/ntoskrnl/ke/arm/stubs_asm.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/arm/stubs_asm.…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/arm/stubs_asm.s (original)
+++ trunk/reactos/ntoskrnl/ke/arm/stubs_asm.s Fri Feb 8 20:13:09 2008
@@ -1,7 +1,6 @@
#include <internal/arm/asmmacro.S>
GENERATE_ARM_STUB KiSwapContext
-GENERATE_ARM_STUB KeSwapIrql
GENERATE_ARM_STUB DbgBreakPointWithStatus
GENERATE_ARM_STUB ExInterlockedAddLargeInteger
GENERATE_ARM_STUB ExInterlockedAddLargeStatistic