JoshuaWierenga / EfiSharp

An Attempt at building at least some of C# corelib for EFI applications. Inspired by https://github.com/MichalStrehovsky/zerosharp to see if this possible.
MIT License
18 stars 4 forks source link

Efi Support #15

Open JoshuaWierenga opened 3 years ago

JoshuaWierenga commented 3 years ago

Several c# features could be added by supporting more low-level EFI functions like time, networking, file systems and graphics. Supporting these features would massively improve support with third-party applications and help make EfiSharp much more useful.

APIs to support:

Most of these require accessing their protocols via the boot service's protocol handler functions but a few are accessed by EFI_RUNTIME_SERVICES so that appears like a good place to start.

JoshuaWierenga commented 3 years ago

Another useful addition would be debugging, there appears to be two mains ways of doing this. The first would be solely debugging the c# code with its associated runtime which might be possible to do just using visual studio with something like https://github.com/Michael-Kelley/RoseOS/tree/master/WindowsTest. The second option would be doing it directly on efi which should allow everything to be checked using the efi debugger protocol though I have no idea how that works.