KNSoft.FirmwareSpec 1.0.0-beta

This is a prerelease version of KNSoft.FirmwareSpec.
dotnet add package KNSoft.FirmwareSpec --version 1.0.0-beta
                    
NuGet\Install-Package KNSoft.FirmwareSpec -Version 1.0.0-beta
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KNSoft.FirmwareSpec" Version="1.0.0-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KNSoft.FirmwareSpec" Version="1.0.0-beta" />
                    
Directory.Packages.props
<PackageReference Include="KNSoft.FirmwareSpec" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add KNSoft.FirmwareSpec --version 1.0.0-beta
                    
#r "nuget: KNSoft.FirmwareSpec, 1.0.0-beta"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=KNSoft.FirmwareSpec&version=1.0.0-beta&prerelease
                    
Install KNSoft.FirmwareSpec as a Cake Addin
#tool nuget:?package=KNSoft.FirmwareSpec&version=1.0.0-beta&prerelease
                    
Install KNSoft.FirmwareSpec as a Cake Tool
English (en-US) 简体中文 (zh-CN)

 

KNSoft.FirmwareSpec

NuGet Downloads GitHub Actions Workflow Status PR Welcome GitHub License

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.

There are no supported framework assets in this package.

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 70 a month ago