diff --git a/source/Cosmos.sln b/source/Cosmos.sln index eea9a0104..7ac13bcc3 100644 --- a/source/Cosmos.sln +++ b/source/Cosmos.sln @@ -89,9 +89,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FrodeTest", "FrodeTest\Frod EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cosmos.Driver.RTL8139", "Cosmos.Driver.RTL8139\Cosmos.Driver.RTL8139.csproj", "{1F7ACC2A-EA38-4B10-AB87-9450BBCC8D6F}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MathTest", "Tests\MathTest\MathTest.csproj", "{4AB1907A-84A0-4E7C-B490-A841979802FC}" +EndProject Global GlobalSection(TeamFoundationVersionControl) = preSolution - SccNumberOfProjects = 37 + SccNumberOfProjects = 38 SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C} SccTeamFoundationServer = https://tfs04.codeplex.com/ SccLocalPath0 = . @@ -239,6 +241,10 @@ Global SccProjectTopLevelParentUniqueName36 = Cosmos.sln SccProjectName36 = Cosmos.Driver.RTL8139 SccLocalPath36 = Cosmos.Driver.RTL8139 + SccProjectUniqueName37 = Tests\\MathTest\\MathTest.csproj + SccProjectTopLevelParentUniqueName37 = Cosmos.sln + SccProjectName37 = Tests/MathTest + SccLocalPath37 = Tests\\MathTest EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -386,6 +392,10 @@ Global {1F7ACC2A-EA38-4B10-AB87-9450BBCC8D6F}.Debug|Any CPU.Build.0 = Debug|Any CPU {1F7ACC2A-EA38-4B10-AB87-9450BBCC8D6F}.Release|Any CPU.ActiveCfg = Release|Any CPU {1F7ACC2A-EA38-4B10-AB87-9450BBCC8D6F}.Release|Any CPU.Build.0 = Release|Any CPU + {4AB1907A-84A0-4E7C-B490-A841979802FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4AB1907A-84A0-4E7C-B490-A841979802FC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4AB1907A-84A0-4E7C-B490-A841979802FC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4AB1907A-84A0-4E7C-B490-A841979802FC}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -429,6 +439,7 @@ Global {7EB6E2FF-74C8-4F59-9923-EB8EF1DE098E} = {EBF602FE-8AFC-408D-A9F1-560C35651090} {8C566493-DBA5-45DD-93D4-89D4486CAAB6} = {EBF602FE-8AFC-408D-A9F1-560C35651090} {DA1DFD9E-B80C-4304-BCBA-B313255F6B01} = {EBF602FE-8AFC-408D-A9F1-560C35651090} + {4AB1907A-84A0-4E7C-B490-A841979802FC} = {EBF602FE-8AFC-408D-A9F1-560C35651090} {8F2D5231-CDE5-48FA-9D26-D4305B01FD3C} = {7EB6E2FF-74C8-4F59-9923-EB8EF1DE098E} EndGlobalSection EndGlobal diff --git a/source/Tests/MathTest/MathTest.csproj b/source/Tests/MathTest/MathTest.csproj new file mode 100644 index 000000000..f7cd0a1fe --- /dev/null +++ b/source/Tests/MathTest/MathTest.csproj @@ -0,0 +1,55 @@ + + + + Debug + AnyCPU + 9.0.21022 + 2.0 + {4AB1907A-84A0-4E7C-B490-A841979802FC} + Exe + Properties + MathTest + MathTest + v3.5 + 512 + SAK + SAK + SAK + SAK + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + x86 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + \ No newline at end of file diff --git a/source/Tests/MathTest/MathTest.csproj.vspscc b/source/Tests/MathTest/MathTest.csproj.vspscc new file mode 100644 index 000000000..feffdecaa --- /dev/null +++ b/source/Tests/MathTest/MathTest.csproj.vspscc @@ -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" +} diff --git a/source/Tests/MathTest/Program.cs b/source/Tests/MathTest/Program.cs new file mode 100644 index 000000000..94dba1fd1 --- /dev/null +++ b/source/Tests/MathTest/Program.cs @@ -0,0 +1,27 @@ +using System; +using Cosmos.Build.Windows; + +namespace MathTest +{ + class Program + { + #region Cosmos Builder logic + // Most users wont touch this. This will call the Cosmos Build tool + [STAThread] + static void Main(string[] args) + { + var xBuilder = new Builder(); + xBuilder.Build(); + } + #endregion + + // Main entry point of the kernel + public static void Init() + { + Cosmos.Kernel.CPU.Init(); + Console.WriteLine("Done booting"); + while (true) + ; + } + } +} \ No newline at end of file diff --git a/source/Tests/MathTest/Properties/AssemblyInfo.cs b/source/Tests/MathTest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..081d41580 --- /dev/null +++ b/source/Tests/MathTest/Properties/AssemblyInfo.cs @@ -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("MathTest")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MathTest")] +[assembly: AssemblyCopyright("Copyright © 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("c18ed28a-23cc-4374-832d-87aeaa37c267")] + +// 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")]