[ros-diffs] [akhaldi] 48645: [CMAKE] - Add hal (yes, hal) to build.
akhaldi at svn.reactos.org
akhaldi at svn.reactos.org
Sun Aug 29 17:30:25 UTC 2010
- Previous message: [ros-diffs] [akhaldi] 48644: [CMAKE] - Add samsrv, sccbase, schannel, sensapi, serialui, shdoclc, shfolder, shlwapi, slbcsp, smdll, sndblst, snmpapi, spoolss, srclient, sxs, t2embed, tapi32, tapiui, traffic, u...
- Next message: [ros-diffs] [mjmartin] 48646: [cdfs] - Working with Pierre Schweitzer for yet another NonPaged Pool corruption fix. When copying VolumeLabel the VolumeLabelLength is in Unicode, so theres no need to mulitply i...
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: akhaldi
Date: Sun Aug 29 17:30:24 2010
New Revision: 48645
URL: http://svn.reactos.org/svn/reactos?rev=48645&view=rev
Log:
[CMAKE]
- Add hal (yes, hal) to build.
Added:
branches/cmake-bringup/hal/CMakeLists.txt (with props)
branches/cmake-bringup/hal/halx86/hal_i386.def (with props)
branches/cmake-bringup/ntoskrnl/libntoskrnl.a (with props)
Modified:
branches/cmake-bringup/CMakeLists.txt
Modified: branches/cmake-bringup/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/CMakeLists.txt?rev=48645&r1=48644&r2=48645&view=diff
==============================================================================
--- branches/cmake-bringup/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/CMakeLists.txt [iso-8859-1] Sun Aug 29 17:30:24 2010
@@ -89,6 +89,7 @@
add_subdirectory(base)
add_subdirectory(dll)
+add_subdirectory(hal)
add_subdirectory(lib)
# nci generated intermediate files
Added: branches/cmake-bringup/hal/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/hal/CMakeLists.txt?rev=48645&view=auto
==============================================================================
--- branches/cmake-bringup/hal/CMakeLists.txt (added)
+++ branches/cmake-bringup/hal/CMakeLists.txt [iso-8859-1] Sun Aug 29 17:30:24 2010
@@ -1,0 +1,72 @@
+
+if(ARCH MATCHES i386)
+
+add_definitions(-D_NTHALDLL_)
+add_definitions(-D_NTHAL_)
+
+include_directories(halx86/include)
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+list(APPEND HAL_GENERIC_SOURCE
+ halx86/generic/beep.c
+ halx86/generic/cmos.c
+ halx86/generic/display.c
+ halx86/generic/dma.c
+ halx86/generic/drive.c
+ halx86/generic/memory.c
+ halx86/generic/misc.c
+ halx86/generic/profil.c
+ halx86/generic/reboot.c
+ halx86/generic/sysinfo.c
+ halx86/generic/timer.c
+ halx86/generic/usage.c)
+
+list(APPEND HAL_GENERIC_SOURCE
+ halx86/generic/bios.c
+ halx86/generic/halinit.c
+ halx86/generic/i386/portio.c
+ halx86/generic/i386/systimer.S
+ halx86/generic/i386/trap.S)
+
+add_library(hal_generic ${HAL_GENERIC_SOURCE} ${CMAKE_CURRENT_BINARY_DIR}/hal_generic_hal.h.gch)
+add_pch(hal_generic ${CMAKE_CURRENT_SOURCE_DIR}/halx86/include/hal.h ${HAL_GENERIC_SOURCE})
+add_dependencies(hal_generic psdk bugcodes)
+
+list(APPEND HAL_GENERIC_PCAT_SOURCE
+ halx86/generic/legacy/bus/bushndlr.c
+ halx86/generic/legacy/bus/cmosbus.c
+ halx86/generic/legacy/bus/isabus.c
+ halx86/generic/legacy/bus/pcibus.c
+ halx86/generic/legacy/bus/pcidata.c
+ halx86/generic/legacy/bus/sysbus.c
+ halx86/generic/legacy/bussupp.c
+ halx86/generic/legacy/halpcat.c)
+
+add_library(hal_generic_pcat ${HAL_GENERIC_PCAT_SOURCE})
+add_dependencies(hal_generic_pcat psdk)
+
+list(APPEND HAL_GENERIC_UP_SOURCE
+ halx86/generic/spinlock.c
+ halx86/up/pic.c
+ halx86/up/processor.c)
+
+add_library(hal_generic_up ${HAL_GENERIC_UP_SOURCE})
+add_dependencies(hal_generic_up psdk)
+
+set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
+
+add_library(hal SHARED halx86/up/halinit_up.c halx86/up/halup.rc)
+
+set_target_properties(hal PROPERTIES LINK_FLAGS "-Wl,-entry,_HalInitSystem at 8")
+
+target_link_libraries(hal
+ ${CMAKE_CURRENT_SOURCE_DIR}/halx86/hal_i386.def
+ -Wl,--whole-archive hal_generic -Wl,--no-whole-archive
+ hal_generic_pcat
+ hal_generic_up
+ ${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
+ libcntpr)
+
+else()
+#TBD
+endif(ARCH MATCHES i386)
Propchange: branches/cmake-bringup/hal/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/hal/halx86/hal_i386.def
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/hal/halx86/hal_i386.def?rev=48645&view=auto
==============================================================================
--- branches/cmake-bringup/hal/halx86/hal_i386.def (added)
+++ branches/cmake-bringup/hal/halx86/hal_i386.def [iso-8859-1] Sun Aug 29 17:30:24 2010
@@ -1,0 +1,97 @@
+
+LIBRARY hal.dll
+
+EXPORTS
+ @ExAcquireFastMutex at 4=ntoskrnl.ExiAcquireFastMutex @1
+ @ExReleaseFastMutex at 4=ntoskrnl.ExiReleaseFastMutex @2
+ @ExTryToAcquireFastMutex at 4=ntoskrnl.ExiTryToAcquireFastMutex @3
+ @HalClearSoftwareInterrupt at 4 @4
+ @HalRequestSoftwareInterrupt at 4 @5
+ @HalSystemVectorDispatchEntry at 12 @6
+ @KeAcquireInStackQueuedSpinLock at 8 @7
+ @KeAcquireInStackQueuedSpinLockRaiseToSynch at 8 @8
+ @KeAcquireSpinLockRaiseToSynch at 4 @9
+ @KeAcquireQueuedSpinLock at 4 @10
+ @KeAcquireQueuedSpinLockRaiseToSynch at 4 @11
+ @KeReleaseInStackQueuedSpinLock at 4 @12
+ @KeReleaseQueuedSpinLock at 8 @13
+ @KeTryToAcquireQueuedSpinLock at 8 @14
+ @KeTryToAcquireQueuedSpinLockRaiseToSynch at 8 @15
+ @KfAcquireSpinLock at 4 @16
+ @KfLowerIrql at 4 @17
+ @KfRaiseIrql at 4 @18
+ @KfReleaseSpinLock at 8 @19
+ HalAcquireDisplayOwnership at 4 @20
+ HalAdjustResourceList at 4 @21
+ HalAllProcessorsStarted at 0 @22
+ HalAllocateAdapterChannel at 16 @23
+ HalAllocateCommonBuffer at 16 @24
+ HalAllocateCrashDumpRegisters at 8 @25
+ HalAssignSlotResources at 32 @26
+ HalBeginSystemInterrupt at 12 @27
+ HalCalibratePerformanceCounter at 12 @28
+ HalDisableSystemInterrupt at 8 @29
+ HalDisplayString at 4 @30
+ HalEnableSystemInterrupt at 12 @31
+ HalEndSystemInterrupt at 8 @32
+ HalFlushCommonBuffer at 20 @33
+ HalFreeCommonBuffer at 24 @34
+ HalGetAdapter at 8 @35
+ HalGetBusData at 20 @36
+ HalGetBusDataByOffset at 24 @37
+ HalGetEnvironmentVariable at 12 @38
+ HalGetInterruptVector at 24 @39
+ HalHandleNMI at 4 @40
+ HalInitSystem at 8 @41
+ HalInitializeProcessor at 8 @42
+ HalMakeBeep at 4 @43
+ HalProcessorIdle at 0 @44
+ HalPutDmaAdapter at 4 @45
+ HalQueryDisplayParameters at 16 @46
+ HalQueryRealTimeClock at 4 @47
+ HalReadDmaCounter at 4 @48
+ HalReportResourceUsage at 0 @49
+ HalRequestIpi at 4 @50
+ HalReturnToFirmware at 4 @51
+ HalSetBusData at 20 @52
+ HalSetBusDataByOffset at 24 @53
+ HalSetDisplayParameters at 8 @54
+ HalSetEnvironmentVariable at 8 @55
+ HalSetProfileInterval at 4 @56
+ HalSetRealTimeClock at 4 @57
+ HalSetTimeIncrement at 4 @58
+ HalStartNextProcessor at 8 @59
+ HalStartProfileInterrupt at 4 @60
+ HalStopProfileInterrupt at 4 @61
+ HalTranslateBusAddress at 24 @62
+ IoFlushAdapterBuffers at 24 @63
+ IoFreeAdapterChannel at 4 @64
+ IoFreeMapRegisters at 12 @65
+ IoMapTransfer at 24 @66
+ IoAssignDriveLetters at 16=HalpAssignDriveLetters at 16 @67
+ IoReadPartitionTable at 16=HalpReadPartitionTable at 16 @68
+ IoSetPartitionInformation at 16=HalpSetPartitionInformation at 16 @69
+ IoWritePartitionTable at 20=HalpWritePartitionTable at 20 @70
+ KeAcquireSpinLock at 8 @71
+ KdComPortInUse @72 DATA
+ KeFlushWriteBuffer at 0 @73
+ KeGetCurrentIrql at 0 @74
+ KeLowerIrql at 4 @75
+ KeQueryPerformanceCounter at 4 @76
+ KeRaiseIrql at 8 @77
+ KeRaiseIrqlToDpcLevel at 0 @78
+ KeRaiseIrqlToSynchLevel at 0 @79
+ KeReleaseSpinLock at 8 @80
+ KeStallExecutionProcessor at 4 @81
+ READ_PORT_BUFFER_UCHAR at 12 @82
+ READ_PORT_BUFFER_ULONG at 12 @83
+ READ_PORT_BUFFER_USHORT at 12 @84
+ READ_PORT_UCHAR at 4 @85
+ READ_PORT_ULONG at 4 @86
+ READ_PORT_USHORT at 4 @87
+ WRITE_PORT_BUFFER_UCHAR at 12 @88
+ WRITE_PORT_BUFFER_ULONG at 12 @89
+ WRITE_PORT_BUFFER_USHORT at 12 @90
+ WRITE_PORT_UCHAR at 8 @91
+ WRITE_PORT_ULONG at 8 @92
+ WRITE_PORT_USHORT at 8 @93
Propchange: branches/cmake-bringup/hal/halx86/hal_i386.def
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/ntoskrnl/libntoskrnl.a
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/ntoskrnl/libntoskrnl.a?rev=48645&view=auto
==============================================================================
Binary file - no diff available.
Propchange: branches/cmake-bringup/ntoskrnl/libntoskrnl.a
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
- Previous message: [ros-diffs] [akhaldi] 48644: [CMAKE] - Add samsrv, sccbase, schannel, sensapi, serialui, shdoclc, shfolder, shlwapi, slbcsp, smdll, sndblst, snmpapi, spoolss, srclient, sxs, t2embed, tapi32, tapiui, traffic, u...
- Next message: [ros-diffs] [mjmartin] 48646: [cdfs] - Working with Pierre Schweitzer for yet another NonPaged Pool corruption fix. When copying VolumeLabel the VolumeLabelLength is in Unicode, so theres no need to mulitply i...
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list