{"id":26149879,"url":"https://github.com/knsoft/knsoft.firmwarespec","last_synced_at":"2025-07-27T04:08:00.470Z","repository":{"id":280329665,"uuid":"941642097","full_name":"KNSoft/KNSoft.FirmwareSpec","owner":"KNSoft","description":"C/C++ definitions of multiple firmware specifications with corresponding type information","archived":false,"fork":false,"pushed_at":"2025-05-06T02:29:13.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-06T03:28:33.775Z","etag":null,"topics":["dmidecode","firmware","smbios"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KNSoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-02T19:03:51.000Z","updated_at":"2025-05-06T02:29:16.000Z","dependencies_parsed_at":"2025-03-02T19:47:52.258Z","dependency_job_id":null,"html_url":"https://github.com/KNSoft/KNSoft.FirmwareSpec","commit_stats":null,"previous_names":["knsoft/knsoft.firmwarespec"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/KNSoft/KNSoft.FirmwareSpec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KNSoft%2FKNSoft.FirmwareSpec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KNSoft%2FKNSoft.FirmwareSpec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KNSoft%2FKNSoft.FirmwareSpec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KNSoft%2FKNSoft.FirmwareSpec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KNSoft","download_url":"https://codeload.github.com/KNSoft/KNSoft.FirmwareSpec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KNSoft%2FKNSoft.FirmwareSpec/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267298755,"owners_count":24065888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dmidecode","firmware","smbios"],"created_at":"2025-03-11T05:49:19.193Z","updated_at":"2025-07-27T04:08:00.457Z","avatar_url":"https://github.com/KNSoft.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"| **English (en-US)** | [简体中文 (zh-CN)](https://github.com/KNSoft/KNSoft.FirmwareSpec/blob/main/README.zh-CN.md) |\r\n| --- | --- |\r\n\r\n\u0026nbsp;\r\n\r\n# KNSoft.FirmwareSpec\r\n\r\n[![NuGet Downloads](https://img.shields.io/nuget/dt/KNSoft.FirmwareSpec)](https://www.nuget.org/packages/KNSoft.FirmwareSpec) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/KNSoft/KNSoft.FirmwareSpec/Build.yml)](https://github.com/KNSoft/KNSoft.FirmwareSpec/actions/workflows/Build.yml) ![PR Welcome](https://img.shields.io/badge/PR-welcome-0688CB.svg) [![GitHub License](https://img.shields.io/github/license/KNSoft/KNSoft.FirmwareSpec)](https://github.com/KNSoft/KNSoft.FirmwareSpec/blob/main/LICENSE)\r\n\r\n[KNSoft.FirmwareSpec](https://github.com/KNSoft/KNSoft.FirmwareSpec) contains C/C++ definitions of multiple firmware specifications and corresponding type information, compatible with MSVC and GCC compilers.\r\n\r\n| Specification | Definition | Type information | Sample program |\r\n| :- | :- | :- | :- |\r\n| [SMBIOS reference specification](https://www.dmtf.org/standards/smbios) | [SMBIOS.h](https://github.com/KNSoft/KNSoft.FirmwareSpec/blob/main/SMBIOS.h) | [SMBIOS.TypeInfo.h](https://github.com/KNSoft/KNSoft.FirmwareSpec/blob/main/SMBIOS.TypeInfo.h) | [SmbiosDecode](https://github.com/KNSoft/KNSoft.FirmwareSpec/blob/main/SmbiosDecode.c) |\r\n| [ACPI Specification](https://uefi.org/specifications) | (TODO) | - | - |\r\n| CPUID | [CPUID.h](https://github.com/KNSoft/KNSoft.FirmwareSpec/blob/main/CPUID.h) | (WIP) | (WIP) |\r\n\r\n[TypeInfoGenerator](https://github.com/KNSoft/KNSoft.FirmwareSpec/blob/main/TypeInfoGenerator) generates type information (e.g. [SMBIOS.TypeInfo.h](https://github.com/KNSoft/KNSoft.FirmwareSpec/blob/main/SMBIOS.TypeInfo.h)) according to the corresponding specification definitions (e.g. [SMBIOS.h](https://github.com/KNSoft/KNSoft.FirmwareSpec/blob/main/SMBIOS.h)), type information is very useful for tools like `dmidecode` to resolve each of structure fields.\r\n\r\n[GitHub Action](https://github.com/KNSoft/KNSoft.FirmwareSpec/actions) compiles and runs sample programs, artifact contains them and theirs text outputs.\r\n\r\n## Usage\r\n\r\nNuGet package [KNSoft.FirmwareSpec](https://www.nuget.org/packages/KNSoft.FirmwareSpec) is out-of-the-box, install to project and include wanted header, for example:\r\n```C\r\n#include \u003cKNSoft/FirmwareSpec/SMBIOS.h\u003e             // SMBIOS reference specification\r\n#include \u003cKNSoft/FirmwareSpec/SMBIOS.TypeInfo.h\u003e    // Type information of SMBIOS reference specification\r\n\r\n#include \u003cKNSoft/FirmwareSpec/CPUID.h\u003e              // CPUID\r\n```\r\n\r\nWe always keep our definitions up-to-date, support version control by using macro (e.g. `SMBIOS_VERSION`), see corresponding header for more information.\r\n\r\n\u003e [!CAUTION]\r\n\u003e In beta stage, may contains some bugs and various issues, should be used with caution.\r\n\r\nYou could [report issue](https://github.com/KNSoft/KNSoft.FirmwareSpec/issues/new) or [send PR](https://github.com/KNSoft/KNSoft.FirmwareSpec/pulls) to make this project better.\r\n\r\n## License\r\n\r\n[KNSoft.FirmwareSpec](https://github.com/KNSoft/KNSoft.FirmwareSpec) is licensed under the [MIT](https://github.com/KNSoft/KNSoft.FirmwareSpec/blob/main/LICENSE) license.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknsoft%2Fknsoft.firmwarespec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknsoft%2Fknsoft.firmwarespec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknsoft%2Fknsoft.firmwarespec/lists"}