-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expanding ARM32 + ARM64 Support (#1183)
* - ARM64 * - ARM64 * - ARM64 * - ARM64 * - ARM64 * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP
- Loading branch information
Showing
541 changed files
with
4,593 additions
and
2,410 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Copyright (c) MOSA Project. Licensed under the New BSD License. | ||
|
||
using System; | ||
using Mosa.Kernel.BareMetal; | ||
using Mosa.UnitTests.Optimization; | ||
|
||
namespace Mosa.BareMetal.TestWorld.ARM32; | ||
|
||
public static class Boot | ||
{ | ||
public static void Main() | ||
{ | ||
Debug.WriteLine("Boot::Main()"); | ||
|
||
Console.BackgroundColor = ConsoleColor.Blue; | ||
Console.ForegroundColor = ConsoleColor.White; | ||
Console.Clear(); | ||
Console.WriteLine("Mosa.BareMetal.TextWorld.ARM32"); | ||
Console.WriteLine(); | ||
|
||
Division.DivisionBy7(254u); | ||
|
||
// Will never get here! | ||
Debug.WriteLine("ERROR: Thread Start Failure"); | ||
Debug.Fatal(); | ||
} | ||
|
||
private static int counter = 0; | ||
|
||
public static void ForceInclude() | ||
{ | ||
Mosa.Kernel.BareMetal.ARM32.PlatformPlug.ForceInclude(); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
Source/Mosa.BareMetal.TestWorld.ARM32/Mosa.BareMetal.TestWorld.ARM32.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
</PropertyGroup> | ||
|
||
<Import Project="../Mosa.BareMetal.targets" /> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Mosa.BareMetal.TestWorld\Mosa.BareMetal.TestWorld.csproj" /> | ||
<ProjectReference Include="..\Mosa.Kernel.BareMetal.ARM32\Mosa.Kernel.BareMetal.ARM32.csproj" /> | ||
<ProjectReference Include="..\Mosa.UnitTests\Mosa.UnitTests.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.