Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justinian/j6-uefi-headers
Custom C++ headers for interfacing with UEFI
https://github.com/justinian/j6-uefi-headers
uefi
Last synced: 3 months ago
JSON representation
Custom C++ headers for interfacing with UEFI
- Host: GitHub
- URL: https://github.com/justinian/j6-uefi-headers
- Owner: justinian
- License: other
- Created: 2020-02-20T07:12:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-22T02:51:23.000Z (about 4 years ago)
- Last Synced: 2024-07-30T20:57:27.271Z (6 months ago)
- Topics: uefi
- Language: C++
- Size: 38.1 KB
- Stars: 6
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# j6 UEFI headers
This is a set of headers for interacting with UEFI as a C++ EFI application. I
found the EDK2 headers seemed to be missing some definitions (or perhaps I just
hadn't found the right headers to include), and the GNU-EFI ones to be specific
to using GNU-EFI and tended to break when using clang to natively build an EFI
application.I also hate the style of the standard headers, they should probably
come with a trigger warning for anyone who had to spend time doing Win32 COM
programming. So I've created my headers in a modern C++ style that is ABI
compatible, but doesn't attempt to be API compatible with other UEFI headers.The UEFI protocol definition headers aren't directly included in the git repo,
but are generated from the `protos.yaml` file via the `generate_protos.py`
script. I've started with just the protocols I'm actually using in the [jsix][]
bootloader, but new protocols should be fairly simple to add. I'll happily
accept pull requests if you find this code useful.[jsix]: https://github.com/justinian/jsix