Adding a com32 module to handle DMI
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>