KNSoft.FirmwareSpec
1.0.0-beta
dotnet add package KNSoft.FirmwareSpec --version 1.0.0-beta
NuGet\Install-Package KNSoft.FirmwareSpec -Version 1.0.0-beta
<PackageReference Include="KNSoft.FirmwareSpec" Version="1.0.0-beta" />
paket add KNSoft.FirmwareSpec --version 1.0.0-beta
#r "nuget: KNSoft.FirmwareSpec, 1.0.0-beta"
// Install KNSoft.FirmwareSpec as a Cake Addin #addin nuget:?package=KNSoft.FirmwareSpec&version=1.0.0-beta&prerelease // Install KNSoft.FirmwareSpec as a Cake Tool #tool nuget:?package=KNSoft.FirmwareSpec&version=1.0.0-beta&prerelease
English (en-US) | 简体中文 (zh-CN) |
---|
KNSoft.FirmwareSpec
KNSoft.FirmwareSpec contains C/C++ definitions of multiple firmware specifications and corresponding type information, compatible with MSVC and GCC compilers.
Specification | Definition | Type information | Sample program |
---|---|---|---|
SMBIOS reference specification | SMBIOS.h | SMBIOS.TypeInfo.h | SmbiosDecode |
ACPI Specification | (TODO) | - | - |
CPUID | (WIP) | - | - |
TypeInfoGenerator generates type information (e.g. SMBIOS.TypeInfo.h) according to the corresponding specification definitions (e.g. SMBIOS.h), type information is very useful for tools like dmidecode
to resolve each of structure fields.
GitHub Action compiles and runs sample programs, artifact contains them and theirs text outputs.
Usage
NuGet package KNSoft.FirmwareSpec is out-of-the-box, install to project and include wanted header, for example:
#include <KNSoft/FirmwareSpec/SMBIOS.h> // SMBIOS reference specification
#include <KNSoft/FirmwareSpec/SMBIOS.TypeInfo.h> // Type information of SMBIOS reference specification
We always keep our definitions up-to-date, support version control by using macro (e.g. SMBIOS_VERSION
), see corresponding header for more information.
[!CAUTION] In beta stage, may contains some bugs and various issues, should be used with caution.
You could report issue or send PR to make this project better.
License
KNSoft.FirmwareSpec is licensed under the MIT license.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0-beta | 60 | 3/2/2025 |