The usual way to get BIOS information through C

After reading some things, it seems that I can map the SMBIOS memory and parse it. I have no idea how to do this. I cannot use any managed code, since I would like it to be compiled for any OS.

Does anyone have code examples on how to do this?

+3
source share
3 answers

On most systems, it does not map to available memory in user mode, so you need to call some system API.

On Windows, you can call GetSystemFirmwareTable .

+8
source

Linux, , dmidecode source (GPL) ...

dmidecode , ...

+2
+1

Source: https://habr.com/ru/post/1717299/


All Articles