Created
March 23, 2020 21:44
-
-
Save kant2002/171784196b7ec2d4af4c548f6510c1a4 to your computer and use it in GitHub Desktop.
CoreRT UEFI startup code
This file contains hidden or 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
public unsafe static class EfiApplication | |
{ | |
[System.Runtime.RuntimeExport("EfiMain")] | |
unsafe static long EfiMain(IntPtr imageHandle, EFI_SYSTEM_TABLE* systemTable) | |
{ | |
EfiRuntimeHost.Initialize(systemTable); | |
Console.Clear(); | |
Game.Main(); | |
return 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment