There are already a bunch of repositories which will allow you to spoof
your SMBios from UEFI. However, not a single one i've come across
seems to support linux or in general do it without getting some pointers
from ntoskrnl.exe or winload.efi even though is way easier and cleaner
the way PerfectSMBios does it.
- Get
PerfectSMBios.candPerfectSMBios.hfrom this repo - Include both in your project and you're good
The functions are self explanatory and easy to understand with comments
If you are having issues compiling the example or more in general with
the EDK2 i highly suggest checking out my other repository SimpleUEFI
which will setup the EDK2 and the MSVC environment for you.
PerfectSMBios is lightweight, simple and C compliant
if you have any issue feel free to contact me or open an issue here.
- Th3spl


