public static void Main() { #if MIPS FlingOops.MIPS.CI20.Kernel.Start(); #elif x86 FlingOops.x86.Kernel.Start(); #endif BasicConsole.Init(); BasicConsole.WriteLine("Kernel executing..."); CompilerTests.RunTests(); #if MIPS FlingOops.MIPS.CI20.Kernel.End(); #elif x86 FlingOops.x86.Kernel.End(); #endif }
public void aligned4_bool(uint a) { Assert.Equal(CompilerTests.aligned4_bool(a), Run <bool>("Mosa.UnitTest.Collection.CompilerTests.aligned4_bool", a)); }
public void aligned4_unsigned(uint a) { Assert.Equal(CompilerTests.aligned4_unsigned(a), Run <uint>("Mosa.UnitTest.Collection.CompilerTests.aligned4_unsigned", a)); }
public void even_bit(int a) { Assert.Equal(CompilerTests.even_bit(a), Run <int>("Mosa.UnitTest.Collection.CompilerTests.even_bit", a)); }