mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 05:18:38 +00:00
This commit is contained in:
parent
0716eabb9e
commit
4c59f25ce7
6 changed files with 124 additions and 43 deletions
|
|
@ -83,9 +83,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kudzu-SourceView", "Boot\Pl
|
|||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Kudzu", "Kudzu", "{9AB7CE5D-C1E5-49AD-9CCB-53863FBCDFAF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cosmos.System", "Cosmos\Cosmos.System\Cosmos.System.csproj", "{819DB8FC-5DA1-461F-83C9-2F5C88088C94}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(TeamFoundationVersionControl) = preSolution
|
||||
SccNumberOfProjects = 33
|
||||
SccNumberOfProjects = 34
|
||||
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
|
||||
SccTeamFoundationServer = https://tfs04.codeplex.com/
|
||||
SccLocalPath0 = .
|
||||
|
|
@ -217,6 +219,10 @@ Global
|
|||
SccProjectTopLevelParentUniqueName32 = Cosmos.sln
|
||||
SccProjectName32 = Boot/Playgrounds/Kudzu-SourceView
|
||||
SccLocalPath32 = Boot\\Playgrounds\\Kudzu-SourceView
|
||||
SccProjectUniqueName33 = Cosmos\\Cosmos.System\\Cosmos.System.csproj
|
||||
SccProjectTopLevelParentUniqueName33 = Cosmos.sln
|
||||
SccProjectName33 = Cosmos/Cosmos.System
|
||||
SccLocalPath33 = Cosmos\\Cosmos.System
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
|
@ -349,6 +355,10 @@ Global
|
|||
{1E31A694-81BB-4628-B704-DA190E7E94CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1E31A694-81BB-4628-B704-DA190E7E94CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1E31A694-81BB-4628-B704-DA190E7E94CA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{819DB8FC-5DA1-461F-83C9-2F5C88088C94}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{819DB8FC-5DA1-461F-83C9-2F5C88088C94}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{819DB8FC-5DA1-461F-83C9-2F5C88088C94}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{819DB8FC-5DA1-461F-83C9-2F5C88088C94}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
@ -369,13 +379,15 @@ Global
|
|||
{B168BEDD-C6A6-4E7C-B9A5-0144286E9E42} = {0D558E33-78B0-47DB-B5EF-B7C2F3114D75}
|
||||
{A1F83D9F-2D44-4264-A08B-416797123018} = {0D558E33-78B0-47DB-B5EF-B7C2F3114D75}
|
||||
{5C293BB9-FB42-495E-AAD9-D15888631CA4} = {0D558E33-78B0-47DB-B5EF-B7C2F3114D75}
|
||||
{819DB8FC-5DA1-461F-83C9-2F5C88088C94} = {0D558E33-78B0-47DB-B5EF-B7C2F3114D75}
|
||||
{7BAB58BF-E8A1-4623-B6BF-4B90A0505226} = {E16DB75B-0F1D-4813-9103-F8FB6E7BAE2A}
|
||||
{5784365C-ED22-42EB-BB8A-F3E09428D5B8} = {E16DB75B-0F1D-4813-9103-F8FB6E7BAE2A}
|
||||
{26E45503-4490-4E38-A8C5-14159B25D6D1} = {E16DB75B-0F1D-4813-9103-F8FB6E7BAE2A}
|
||||
{E2C54C80-75F3-4249-93B4-0003A4AF705F} = {6F91B8C3-1A78-49D7-B915-F13EDFDAFDB3}
|
||||
{C97DE890-58D2-41A1-86D0-A2E919E6DD80} = {6F91B8C3-1A78-49D7-B915-F13EDFDAFDB3}
|
||||
{E4A9F8F0-D0DC-465A-A64A-FE56504D397E} = {6F91B8C3-1A78-49D7-B915-F13EDFDAFDB3}
|
||||
{E2C54C80-75F3-4249-93B4-0003A4AF705F} = {6F91B8C3-1A78-49D7-B915-F13EDFDAFDB3}
|
||||
{1F0EDE86-F6D4-4355-9A97-10E90457770C} = {2DE75CE4-7A3B-4659-84FC-16F5EC0AEDE4}
|
||||
{9AB7CE5D-C1E5-49AD-9CCB-53863FBCDFAF} = {EBF602FE-8AFC-408D-A9F1-560C35651090}
|
||||
{605F8D53-66FA-4BEC-844E-F63209B855C9} = {EBF602FE-8AFC-408D-A9F1-560C35651090}
|
||||
{B69B89D4-54FC-41DF-B5D7-EE674CF60343} = {EBF602FE-8AFC-408D-A9F1-560C35651090}
|
||||
{AEC28E7E-1ABB-4ABC-8CE1-B74D9DC9B80E} = {EBF602FE-8AFC-408D-A9F1-560C35651090}
|
||||
|
|
@ -384,11 +396,10 @@ Global
|
|||
{EF65AFB7-9DC9-4ACD-946D-7E973A67DBBE} = {EBF602FE-8AFC-408D-A9F1-560C35651090}
|
||||
{1240EAB3-D6B1-463A-BA83-436607A1F18E} = {EBF602FE-8AFC-408D-A9F1-560C35651090}
|
||||
{F598F906-8F3B-4EC1-AB8F-A9CBD8EBBE21} = {EBF602FE-8AFC-408D-A9F1-560C35651090}
|
||||
{9AB7CE5D-C1E5-49AD-9CCB-53863FBCDFAF} = {EBF602FE-8AFC-408D-A9F1-560C35651090}
|
||||
{8F2D5231-CDE5-48FA-9D26-D4305B01FD3C} = {4DE8EC69-B412-41C4-BCD9-1E032984E888}
|
||||
{FF431742-6490-46B8-A9F6-734477D0725D} = {4DE8EC69-B412-41C4-BCD9-1E032984E888}
|
||||
{30057B5B-8BEE-4712-8243-9A42DF8A0C76} = {9AB7CE5D-C1E5-49AD-9CCB-53863FBCDFAF}
|
||||
{1E31A694-81BB-4628-B704-DA190E7E94CA} = {9AB7CE5D-C1E5-49AD-9CCB-53863FBCDFAF}
|
||||
{813297D7-0AB4-43E1-99D3-97874FE10FE6} = {9AB7CE5D-C1E5-49AD-9CCB-53863FBCDFAF}
|
||||
{1E31A694-81BB-4628-B704-DA190E7E94CA} = {9AB7CE5D-C1E5-49AD-9CCB-53863FBCDFAF}
|
||||
{30057B5B-8BEE-4712-8243-9A42DF8A0C76} = {9AB7CE5D-C1E5-49AD-9CCB-53863FBCDFAF}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
|||
|
|
@ -81,7 +81,6 @@
|
|||
<Compile Include="Old\FileSystem\FileSystem2.cs" />
|
||||
<Compile Include="Old\FileSystem\Path.cs" />
|
||||
<Compile Include="Old\FileSystem\TestsMatthijs.cs" />
|
||||
<Compile Include="Old\LinkedFormats\ELF.cs" />
|
||||
<Compile Include="Old\Staging\DefaultStageQueue.cs" />
|
||||
<Compile Include="Old\Staging\IStage.cs" />
|
||||
<Compile Include="Old\Staging\StageQueue.cs" />
|
||||
|
|
|
|||
|
|
@ -1,37 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
|
||||
namespace Cosmos.Kernel.LinkedFormats
|
||||
{
|
||||
/// <summary>
|
||||
/// Allows an ELF file to be loaded.
|
||||
/// </summary>
|
||||
public class ELF
|
||||
{
|
||||
/// <summary>
|
||||
/// Loads an ELF file into the next available position in memory.
|
||||
/// </summary>
|
||||
/// <param name="reader"></param>
|
||||
/// <returns>The starting position for the code.</returns>
|
||||
public long Load(Stream reader)
|
||||
{
|
||||
if (reader.CanRead == false)
|
||||
throw new InvalidOperationException("Stream provided is not readable.");
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="reader"></param>
|
||||
/// <param name="position"></param>
|
||||
/// <returns>Whether or not the code was loaded.</returns>
|
||||
public bool Load(Stream reader, long position)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
62
source/Cosmos/Cosmos.System/Cosmos.System.csproj
Normal file
62
source/Cosmos/Cosmos.System/Cosmos.System.csproj
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.21022</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{819DB8FC-5DA1-461F-83C9-2F5C88088C94}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Cosmos.System</RootNamespace>
|
||||
<AssemblyName>Cosmos.System</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SccProjectName>SAK</SccProjectName>
|
||||
<SccLocalPath>SAK</SccLocalPath>
|
||||
<SccAuxPath>SAK</SccAuxPath>
|
||||
<SccProvider>SAK</SccProvider>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
10
source/Cosmos/Cosmos.System/Cosmos.System.csproj.vspscc
Normal file
10
source/Cosmos/Cosmos.System/Cosmos.System.csproj.vspscc
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
""
|
||||
{
|
||||
"FILE_VERSION" = "9237"
|
||||
"ENLISTMENT_CHOICE" = "NEVER"
|
||||
"PROJECT_FILE_RELATIVE_PATH" = ""
|
||||
"NUMBER_OF_EXCLUDED_FILES" = "0"
|
||||
"ORIGINAL_PROJECT_FILE_PATH" = ""
|
||||
"NUMBER_OF_NESTED_PROJECTS" = "0"
|
||||
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
|
||||
}
|
||||
36
source/Cosmos/Cosmos.System/Properties/AssemblyInfo.cs
Normal file
36
source/Cosmos/Cosmos.System/Properties/AssemblyInfo.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Cosmos.System")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Chad Z. Hower")]
|
||||
[assembly: AssemblyProduct("Cosmos.System")]
|
||||
[assembly: AssemblyCopyright("Copyright © Chad Z. Hower 2008")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("9077a025-b0aa-4562-9a1b-67b7ebeb6817")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
Loading…
Reference in a new issue