| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Automatically reformat com32/modules/dmi_utils.c using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
| |
DMI code have some wrong offsets.
This patch fixes this offsets and improve the grammar.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
|
|
|
|
|
|
|
|
|
| |
H. Peter Anvin wrote:
> Erwan: I would have to get you to do this, since it would mean
> changing the license (trying to keep libcom32 under the BSD/MIT
> licenses), and you have them under your own copyright (as opposed to
> mine), which means I can't do this change.
Please find attached the patch to changing the license to MIT on modules
I did contribute in com32/modules/.
|
|
From : Erwan Velu <erwan.velu@free.fr>
This patch add a new com32 module named dmi.
It can parse DMI Hanldes number 0,1,2,3,4.
Using a very simple API, you can read the values of the following "Handles"
- BIOS
- CHASSIS
- SYSTEM
- BASE_BOARD
- PROCESSOR
It's possible and easy to extend to many other Handles.
A sample code program called dmitest shows how you can use and display
this structures.
The codes is mainly taken from the Linux Kernel and the smartmontool
projects.
Both are GPL, my code too.
Testing and feedback are welcomed.
Signed-off-by:Erwan Velu <erwan.velu@free.fr>
|