singrdk/base/Kernel/Kernel.Corlib.csproj

402 lines
22 KiB
XML
Raw Normal View History

2008-03-05 09:52:00 -05:00
<!--
###############################################################################
#
# Microsoft Research Singularity
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
###############################################################################
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\Paths.targets" />
<PropertyGroup>
<AssemblyName>kernel</AssemblyName>
<OutputType>Exe</OutputType>
<Language>C#</Language>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>169,649</NoWarn>
<WarningLevel>2</WarningLevel>
<DefineConstants>SINGULARITY_KERNEL;ENDPOINT_STRUCT;_NEW_CLASSLOADER</DefineConstants>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<OutputPath>$(KERNEL_IL_DIR)</OutputPath>
<NoStdLib>true</NoStdLib>
<UseResponseFile>true</UseResponseFile>
<ProjectGuid>{FA3325A6-5C21-475E-A600-51AD6163DFAA}</ProjectGuid>
</PropertyGroup>
<Choose>
<When Condition="'$(PAGING)'=='On'">
<PropertyGroup>
<DefineConstants>$(DefineConstants);PAGING</DefineConstants>
</PropertyGroup>
</When>
</Choose>
<Choose>
<When Condition="'$(Scheduler)'=='Affinity'">
<PropertyGroup>
<DefineConstants>$(DefineConstants);AFFINITY_SCHEDULER</DefineConstants>
</PropertyGroup>
</When>
</Choose>
<ItemGroup>
<Compile Include="System\ApplicationException.cs" />
<Compile Include="System\ArgumentException.cs" />
<Compile Include="System\ArgumentNullException.cs" />
<Compile Include="System\ArgumentOutOfRangeException.cs" />
<Compile Include="System\ArithmeticException.cs" />
<Compile Include="System\ArrayTypeMismatchException.cs" />
<Compile Include="System\DivideByZeroException.cs" />
<Compile Include="System\Exception.cs" />
<Compile Include="System\FormatException.cs" />
<Compile Include="System\IndexOutOfRangeException.cs" />
<Compile Include="System\InvalidCastException.cs" />
<Compile Include="System\InvalidOperationException.cs" />
<Compile Include="System\MulticastNotSupportedException.cs" />
<Compile Include="System\NotSupportedException.cs" />
<Compile Include="System\NullReferenceException.cs" />
<Compile Include="System\ObjectDisposedException.cs" />
<Compile Include="System\OutOfMemoryException.cs" />
<Compile Include="System\OverflowException.cs" />
<Compile Include="System\ProcessStateException.cs" />
<Compile Include="System\RankException.cs" />
<Compile Include="System\StackOverflowException.cs" />
<Compile Include="System\SystemException.cs" />
<Compile Include="System\TypeInitializationException.cs" />
<Compile Include="System\AttributeUsageAttribute.cs" />
<Compile Include="System\CLSCompliantAttribute.cs" />
<Compile Include="System\FlagsAttribute.cs" />
<Compile Include="System\ObsoleteAttribute.cs" />
<Compile Include="System\ParamArrayAttribute.cs" />
<Compile Include="System\ArgIterator.cs" />
<Compile Include="System\Array.cs" />
<Compile Include="System\AsyncCallback.cs" />
<Compile Include="System\Attribute.cs" />
<Compile Include="System\AttributeTargets.cs" />
<Compile Include="System\BitConverter.cs" />
<Compile Include="System\Boolean.cs" />
<Compile Include="System\Buffer.cs" />
<Compile Include="System\Byte.cs" />
<Compile Include="System\Char.cs" />
<Compile Include="System\CharEnumerator.cs" />
<Compile Include="System\Console.cs" />
<Compile Include="System\DateTime.cs" />
<Compile Include="System\DayOfWeek.cs" />
<Compile Include="System\Decimal.cs" />
<Compile Include="System\Delegate.cs" />
<Compile Include="System\Double.cs" />
<Compile Include="System\Empty.cs" />
<Compile Include="System\Enum.cs" />
<Compile Include="System\Environment.cs" />
<Compile Include="System\EventArgs.cs" />
<Compile Include="System\EventHandler.cs" />
<Compile Include="System\Guid.cs" />
<Compile Include="System\IAsyncResult.cs" />
<Compile Include="System\ICloneable.cs" />
<Compile Include="System\IComparable.cs" />
<Compile Include="System\IDisposable.cs" />
<Compile Include="System\IFormattable.cs" />
<Compile Include="System\Int16.cs" />
<Compile Include="System\Int32.cs" />
<Compile Include="System\Int64.cs" />
<Compile Include="System\IntPtr.cs" />
<Compile Include="System\Internal.cs" />
<Compile Include="System\Math.cs" />
<Compile Include="System\MulticastDelegate.cs" />
<Compile Include="System\Number.cs" />
<Compile Include="System\Object.cs" />
<Compile Include="System\ParseNumbers.cs" />
<Compile Include="System\ProcessExitCode.cs" />
<Compile Include="System\Random.cs" />
<Compile Include="System\RuntimeArgumentHandle.cs" />
<Compile Include="System\RuntimeFieldHandle.cs" />
<Compile Include="System\RuntimeMethodHandle.cs" />
<Compile Include="System\RuntimeType.cs" />
<Compile Include="System\RuntimeTypeHandle.cs" />
<Compile Include="System\SchedulerTime.cs" />
<Compile Include="System\SByte.cs" />
<Compile Include="System\Single.cs" />
<Compile Include="System\String.cs" />
<Compile Include="System\Text\StringBuilder.cs" />
<Compile Include="System\TimeSpan.cs" />
<Compile Include="System\Type.cs" />
<Compile Include="System\TypeCode.cs" />
<Compile Include="System\TypedReference.cs" />
<Compile Include="System\UInt16.cs" />
<Compile Include="System\UInt32.cs" />
<Compile Include="System\UInt64.cs" />
<Compile Include="System\UIntPtr.cs" />
<Compile Include="System\ValueType.cs" />
<Compile Include="System\VarargList.cs" />
<Compile Include="System\Version.cs" />
<Compile Include="System\Void.cs" />
<Compile Include="System\_LocalDataStore.cs" />
<Compile Include="System\_LocalDataStoreMgr.cs" />
<Compile Include="$(SINGULARITY_ROOT)\Libraries\Crypto\MD5.cs" />
<!-- THREADING_SOURCES -->
<Compile Include="System\Threading\AutoResetEvent.cs" />
<Compile Include="System\Threading\HandleCreateException.cs" />
<Compile Include="System\Threading\Interlocked.cs" />
<Compile Include="System\Threading\ManualResetEvent.cs" />
<Compile Include="System\Threading\Monitor.cs" />
<Compile Include="System\Threading\Mutex.cs" />
<Compile Include="System\Threading\SmartSpinlock.cs" />
<Compile Include="System\Threading\SynchronizationLockException.cs" />
<Compile Include="System\Threading\Thread.cs" />
<Compile Include="System\Threading\ThreadLocalServiceRequest.cs" />
<Compile Include="System\Threading\ThreadStart.cs" />
<Compile Include="System\Threading\ThreadState.cs" />
<Compile Include="System\Threading\ThreadStateException.cs" />
<Compile Include="System\Threading\Timeout.cs" />
<Compile Include="System\Threading\WaitHandle.cs" />
<Compile Include="Singularity\Scheduling\ListNode.cs" />
<Compile Include="Singularity\Scheduling\Scheduler.cs" />
<Compile Include="Singularity\Scheduling\ThreadEntry.cs" />
<Compile Include="Singularity\Scheduling\ThreadQueue.cs" />
<Compile Include="Singularity\Scheduling\Min\MinScheduler.cs" Condition="'$(Scheduler)'!='Affinity'" />
<Compile Include="Singularity\Scheduling\Affinity\AffinityScheduler.cs" Condition="'$(Scheduler)'=='Affinity'" />
<Compile Include="System\Collections\ArrayList.cs" />
<Compile Include="System\Collections\BitArray.cs" />
<Compile Include="System\Collections\CaseInsensitiveComparer.cs" />
<Compile Include="System\Collections\CaseInsensitiveHashCodeProvider.cs" />
<Compile Include="System\Collections\CollectionBase.cs" />
<Compile Include="System\Collections\Comparer.cs" />
<Compile Include="System\Collections\DictionaryBase.cs" />
<Compile Include="System\Collections\DictionaryEntry.cs" />
<Compile Include="System\Collections\Hashtable.cs" />
<Compile Include="System\Collections\ICollection.cs" />
<Compile Include="System\Collections\IComparer.cs" />
<Compile Include="System\Collections\IDictionary.cs" />
<Compile Include="System\Collections\IDictionaryEnumerator.cs" />
<Compile Include="System\Collections\IEnumerable.cs" />
<Compile Include="System\Collections\IEnumerator.cs" />
<Compile Include="System\Collections\IHashCodeProvider.cs" />
<Compile Include="System\Collections\IList.cs" />
<Compile Include="System\Collections\Queue.cs" />
<Compile Include="System\Collections\ReadOnlyCollectionBase.cs" />
<Compile Include="System\Collections\SortedList.cs" />
<Compile Include="System\Collections\Stack.cs" />
<Compile Include="System\Collections\Specialized\ListDictionary.cs" />
<Compile Include="System\Collections\Specialized\StringDictionary.cs" />
<Compile Include="System\Diagnostics\Assert.cs" />
<Compile Include="System\Diagnostics\AssertFilter.cs" />
<Compile Include="System\Diagnostics\AssertFilters.cs" />
<Compile Include="System\Diagnostics\ConditionalAttribute.cs" />
<Compile Include="System\Diagnostics\Debug.cs" />
<Compile Include="System\Diagnostics\DebuggerAttributes.cs" />
<Compile Include="System\Reflection\Assembly.cs" />
<Compile Include="System\Reflection\AssemblyAttributes.cs" />
<Compile Include="System\Reflection\AssemblyName.cs" />
<Compile Include="System\Reflection\AssemblyReflectionAttributes.cs" />
<Compile Include="System\Reflection\DefaultMemberAttribute.cs" />
<Compile Include="System\Reflection\Module.cs" />
<Compile Include="System\Reflection\TypeAttributes.cs" />
<Compile Include="System\Globalization\CharacterInfo.cs" />
<Compile Include="System\Globalization\CompareInfo.cs" />
<Compile Include="System\Globalization\CultureInfo.cs" />
<Compile Include="System\Globalization\NumberFormatInfo.cs" />
<Compile Include="System\Globalization\NumberStyles.cs" />
<Compile Include="System\Globalization\TextInfo.cs" />
<Compile Include="System\Globalization\UnicodeCategory.cs" />
<Compile Include="System\Text\ASCIIEncoding.cs" />
<Compile Include="System\Text\Decoder.cs" />
<Compile Include="System\Text\Encoder.cs" />
<Compile Include="System\Text\Encoding.cs" />
<Compile Include="System\Text\UnicodeEncoding.cs" />
<Compile Include="System\Text\UTF8Encoding.cs" />
<Compile Include="System\Text\RegularExpressions\regex.cs" />
<Compile Include="System\Text\RegularExpressions\regexboyermoore.cs" />
<Compile Include="System\Text\RegularExpressions\regexcapture.cs" />
<Compile Include="System\Text\RegularExpressions\regexcapturecollection.cs" />
<Compile Include="System\Text\RegularExpressions\regexcharclass.cs" />
<Compile Include="System\Text\RegularExpressions\regexcode.cs" />
<Compile Include="System\Text\RegularExpressions\regexcompilationinfo.cs" />
<Compile Include="System\Text\RegularExpressions\regexfcd.cs" />
<Compile Include="System\Text\RegularExpressions\regexgroup.cs" />
<Compile Include="System\Text\RegularExpressions\regexgroupcollection.cs" />
<Compile Include="System\Text\RegularExpressions\regexinterpreter.cs" />
<Compile Include="System\Text\RegularExpressions\regexmatch.cs" />
<Compile Include="System\Text\RegularExpressions\regexmatchcollection.cs" />
<Compile Include="System\Text\RegularExpressions\regexnode.cs" />
<Compile Include="System\Text\RegularExpressions\regexoptions.cs" />
<Compile Include="System\Text\RegularExpressions\regexparser.cs" />
<Compile Include="System\Text\RegularExpressions\regexreplacement.cs" />
<Compile Include="System\Text\RegularExpressions\regexrunner.cs" />
<Compile Include="System\Text\RegularExpressions\regextree.cs" />
<Compile Include="System\Text\RegularExpressions\regexwriter.cs" />
<Compile Include="System\Runtime\CompilerServices\DecimalConstantAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\IndexerNameAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\IsVolatile.cs" />
<Compile Include="System\Runtime\CompilerServices\MethodImplAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\RuntimeHelpers.cs" />
<Compile Include="System\Runtime\InteropServices\Attributes.cs" />
<Compile Include="System\Runtime\InteropServices\CharSet.cs" />
<Compile Include="System\Runtime\InteropServices\GCHandle.cs" />
<Compile Include="System\Runtime\InteropServices\LayoutKind.cs" />
<Compile Include="System\Runtime\InteropServices\Marshal.cs" />
<!-- ABI_ORIGINAL_SOURCES -->
<Compile Include="Singularity\V1\Processes\ProcessHandle.cs" />
<Compile Include="Singularity\V1\Security\PrincipalHandle.cs" />
<Compile Include="Singularity\V1\Services\ChannelService.cs" />
<Compile Include="Singularity\V1\Services\DebugService.cs" />
<Compile Include="Singularity\V1\Services\DeviceService.cs" />
<Compile Include="Singularity\V1\Services\PageTableService.cs" />
<Compile Include="Singularity\V1\Services\ProcessService.cs" />
<Compile Include="Singularity\V1\Services\SharedHeapService.cs" />
<Compile Include="Singularity\V1\Services\StackService.cs" />
<Compile Include="Singularity\V1\Stress\StressDirect.cs" />
<Compile Include="Singularity\V1\Threads\AutoResetEventHandle.cs" />
<Compile Include="Singularity\V1\Threads\ContainerHandle.cs" />
<Compile Include="Singularity\V1\Threads\InterruptHandle.cs" />
<Compile Include="Singularity\V1\Threads\ManualResetEventHandle.cs" />
<Compile Include="Singularity\V1\Threads\MutexHandle.cs" />
<Compile Include="Singularity\V1\Threads\SyncHandle.cs" />
<Compile Include="Singularity\V1\Threads\ThreadHandle.cs" />
<Compile Include="Singularity\V1\Threads\ThreadState.cs" />
<Compile Include="Singularity\V1\Types\SystemType.cs" />
<!-- Channels -->
<Compile Include="Singularity\Channels\ChannelClosedException.cs" />
<Compile Include="Singularity\Channels\ChannelException.cs" />
<Compile Include="Singularity\Channels\ChannelTransferredException.cs" />
<Compile Include="Singularity\Channels\ClaimsAttribute.cs" />
<Compile Include="Singularity\Channels\EndpointCore.cs" />
<Compile Include="Singularity\Channels\ISelectable.sg" />
<Compile Include="Singularity\Channels\ITracked.cs" />
<Compile Include="Singularity\Channels\RuntimeSystemType.cs" />
<!-- HAL_SOURCES -->
<Compile Include="Singularity\Hal\IHalMemory.cs" />
<!-- IO_SOURCES -->
<Compile Include="Singularity\Io\Access.cs" />
<Compile Include="Singularity\Io\ByteOrder.cs" />
<Compile Include="Singularity\Io\Error.cs" />
<Compile Include="Singularity\Io\FileImage.cs" />
<Compile Include="Singularity\Io\IoConfig.cs" />
<Compile Include="Singularity\Io\IoMemory.cs" />
<Compile Include="Singularity\Io\IoResult.cs" />
<Compile Include="Singularity\Io\Resources.cs" />
<Compile Include="Singularity\Io\IReadOnlyRegister16.cs" />
<Compile Include="Singularity\Io\IReadOnlyRegister32.cs" />
<Compile Include="Singularity\Io\IReadOnlyRegister8.cs" />
<Compile Include="Singularity\Io\IReadWriteRegister16.cs" />
<Compile Include="Singularity\Io\IReadWriteRegister32.cs" />
<Compile Include="Singularity\Io\IReadWriteRegister8.cs" />
<Compile Include="Singularity\Io\IWriteOnlyRegister16.cs" />
<Compile Include="Singularity\Io\IWriteOnlyRegister32.cs" />
<Compile Include="Singularity\Io\IWriteOnlyRegister8.cs" />
<Compile Include="Singularity\Io\IoDma.cs" />
<Compile Include="Singularity\Io\IoDmaRange.cs" />
<Compile Include="Singularity\Io\IoIrqRange.cs" />
<Compile Include="Singularity\Io\IoMemoryRange.cs" />
<Compile Include="Singularity\Io\IoPort.cs" />
<Compile Include="Singularity\Io\IoPortRange.cs" />
<Compile Include="Singularity\Io\IoRange.cs" />
<Compile Include="Singularity\Io\PnpConfig.cs" />
<Compile Include="Singularity\Io\PciConfig.cs" />
<Compile Include="Singularity\Io\ReadOnlyMemoryRegister16.cs" />
<Compile Include="Singularity\Io\ReadOnlyMemoryRegister32.cs" />
<Compile Include="Singularity\Io\ReadOnlyMemoryRegister8.cs" />
<Compile Include="Singularity\Io\ReadOnlyPortRegister16.cs" />
<Compile Include="Singularity\Io\ReadOnlyPortRegister32.cs" />
<Compile Include="Singularity\Io\ReadOnlyPortRegister8.cs" />
<Compile Include="Singularity\Io\ReadWriteMemoryRegister16.cs" />
<Compile Include="Singularity\Io\ReadWriteMemoryRegister32.cs" />
<Compile Include="Singularity\Io\ReadWriteMemoryRegister8.cs" />
<Compile Include="Singularity\Io\ReadWritePortRegister16.cs" />
<Compile Include="Singularity\Io\ReadWritePortRegister32.cs" />
<Compile Include="Singularity\Io\ReadWritePortRegister8.cs" />
<Compile Include="Singularity\Io\ResourceAttributes.cs" />
<Compile Include="Singularity\Io\CategoryAttributes.cs" />
<Compile Include="Singularity\Io\WriteOnlyMemoryRegister16.cs" />
<Compile Include="Singularity\Io\WriteOnlyMemoryRegister32.cs" />
<Compile Include="Singularity\Io\WriteOnlyMemoryRegister8.cs" />
<Compile Include="Singularity\Io\WriteOnlyPortRegister16.cs" />
<Compile Include="Singularity\Io\WriteOnlyPortRegister32.cs" />
<Compile Include="Singularity\Io\WriteOnlyPortRegister8.cs" />
</ItemGroup>
<ItemGroup>
<!-- LOADER_SOURCES -->
<Compile Include="Singularity\Loader\DirectoryEntry.cs" />
<Compile Include="Singularity\Loader\ExportTable.cs" />
<Compile Include="Singularity\Loader\ImportTable.cs" />
<Compile Include="Singularity\Loader\BadImageFormatException.cs" />
<Compile Include="Singularity\Loader\PEImage.cs" />
<Compile Include="Singularity\Loader\Relocations.cs" />
<Compile Include="Singularity\Loader\SectionHeader.cs" />
<!-- MEMORY_SOURCES -->
<Compile Include="Singularity\Memory\AddressSpace.cs" />
<Compile Include="Singularity\Memory\FlatPages.cs" />
<Compile Include="Singularity\Memory\HandleTable.cs" />
<Compile Include="Singularity\Memory\MemoryManager.cs" />
<Compile Include="Singularity\Memory\PhysicalAddress.cs" />
<Compile Include="Singularity\Memory\PhysicalHeap.cs" />
<Compile Include="Singularity\Memory\PhysicalPages.cs" />
<Compile Include="Singularity\Memory\SharedHeap.cs" />
<Compile Include="Singularity\Memory\Stacks.cs" />
<Compile Include="Singularity\Memory\VMManager.cs" />
<Compile Include="Singularity\Memory\VirtualMemoryRange.cs" />
<Compile Include="Singularity\Security\SecurityAttributes.cs" />
</ItemGroup>
<ItemGroup Condition="'$(Machine)'=='x86'">
<Compile Include="Singularity\X86\CR0.cs" />
<Compile Include="Singularity\X86\CR3.cs" />
<Compile Include="Singularity\X86\CR4.cs" />
<Compile Include="Singularity\X86\EFlags.cs" />
<Compile Include="Singularity\X86\EVectors.cs" />
<Compile Include="Singularity\X86\Fpcw.cs" />
<Compile Include="Singularity\X86\Fpsw.cs" />
<Compile Include="Singularity\X86\Gdt.cs" />
<Compile Include="Singularity\X86\Idt.cs" />
<Compile Include="Singularity\X86\MmxContext.cs" />
<Compile Include="Singularity\X86\Pdt.cs" />
<Compile Include="Singularity\X86\ProcessorContext.cs" />
<Compile Include="Singularity\X86\ThreadContext.cs" />
<Compile Include="Singularity\X86\Tss.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="Singularity\Xml\XmlReader.cs" />
<Compile Include="Singularity\Xml\XmlNode.cs" />
<Compile Include="Singularity\Xml\XmlException.cs" />
<Compile Include="Singularity\MpBootInfo.cs" />
<Compile Include="Singularity\MpBootStatus.cs" />
<Compile Include="Singularity\DebugStub.cs" />
<Compile Include="Singularity\BootInfo.cs" />
<Compile Include="Singularity\CpuInfo.cs" />
<Compile Include="Singularity\Kernel.cs" />
<Compile Include="Singularity\MpExecution.cs" />
<Compile Include="Singularity\PerfCounters.cs" />
<Compile Include="Singularity\Process.cs" />
<Compile Include="Singularity\ProcessStart.cs" />
<Compile Include="Singularity\ProcessState.cs" />
<Compile Include="Singularity\ProcessStopException.cs" />
<Compile Include="Singularity\ProcessUncaughtException.cs" />
<Compile Include="Singularity\Processor.cs" />
<Compile Include="Singularity\ProtectionDomain.cs" />
<Compile Include="Singularity\ServiceRequest.cs" />
<Compile Include="Singularity\ServiceRequestQueue.cs" />
<Compile Include="Singularity\ServiceThread.cs" />
<Compile Include="Singularity\SharedHeapWalker.cs" />
<Compile Include="Singularity\SmapInfo.cs" />
<Compile Include="Singularity\SystemClock.cs" />
<Compile Include="Singularity\Tracing.cs" />
<Compile Include="Singularity\Monitoring.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\Drivers\Drivers.csproj" />
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\Diagnostics\Diagnostics.csproj" />
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\IoSystem\IoSystem.csproj" />
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\Console\Console.csproj" />
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\Hal\Hal.csproj" />
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\Loader\Loader.csproj" />
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\NVidiaDrivers\NVidiaDrivers.csproj" />
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\Directory\Directory.csproj" />
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\Security\Security.csproj" />
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\Stress\Stress.csproj" />
<ProjectReference Include="ILHelpers.proj" />
</ItemGroup>
<PropertyGroup>
<Collector>$(COLLECTOR_KERNEL)</Collector>
<DefineGCCompileItems>true</DefineGCCompileItems>
</PropertyGroup>
<Import Project="GC.targets" />
<Import Project="$(SINGULARITY_ROOT)\Targets\SingSharp.targets" />
</Project>