mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
33 lines
823 B
C#
33 lines
823 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Indy.IL2CPU {
|
|
public static partial class RuntimeEngine {
|
|
public static void InitializeApplication() {
|
|
//Console.WriteLine("Initial Setup");
|
|
// do initialization of all runtime services, like heap and GC..
|
|
InitializeEngine();
|
|
Heap_Initialize();
|
|
}
|
|
|
|
public static void InitializeEngine() {
|
|
// for replacement by the architecture
|
|
}
|
|
|
|
public static void FinalizeEngine() {
|
|
// for replacement by the architecture
|
|
}
|
|
|
|
public static void FinalizeApplication(int aExitCode) {
|
|
// finalize all runtime services, like heap and gc
|
|
//Heap_Shutdown();
|
|
FinalizeEngine();
|
|
ExitProcess(aExitCode);
|
|
}
|
|
|
|
public static void ExitProcess(int aExitCode) {
|
|
}
|
|
}
|
|
}
|