path: root/com32/sysdump/dmi.c
Commit message (Collapse)AuthorAgeFilesLines
* com32: Use z size specifier for printf-ing size_t variableMartin Str|mberg2015-01-051-2/+2
| | | | | | | | | Use the z size specifier to printf-ing size_t variables to get rid of gcc warning format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ Author: Martin Str|mberg <ams@ludd.ltu.se> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* sysdump: Fixing includesErwan Velu2011-03-161-1/+0
| | | | This patch remove ugly relative includes like ../something.h
* libupload: New library to manage uploadsErwan Velu2011-03-151-4/+4
| | | | | | | | This commit creates a library to upload content via 3 backends (srec/ymodem/tftp). Code came from sysdump and got librarized for being used more easily by more other com32 modules.
* sysdump: change to a two-phase generate/output model, buffer in memoryH. Peter Anvin2010-02-071-4/+4
| | | | | | | | Instead of outputting data as it is generated, buffer it all in memory and then output it all at once. This not only gives us exact size and so on before we start, but turns out to be faster at least for TFTP. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: handle the case of more than one DMI tableH. Peter Anvin2010-02-071-4/+11
| | | | | | | | On the offchance a system has more than one valid DMI table, record them all. Also record the address of the signature structure and of the table itself. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: fix hacking of the DMI structure addressH. Peter Anvin2010-02-061-7/+4
| | | | | | Fix the hacking of the DMI structure address, for dmidecode's sake. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: add PCI config space dumpingH. Peter Anvin2010-02-061-1/+0
| | | | | | Dump PCI configuration space. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: add support for dumping DMI tablesH. Peter Anvin2010-02-061-0/+123
Add support for dumping DMI tables; hopefully in a way that is compatible with dmidecode. Signed-off-by: H. Peter Anvin <hpa@zytor.com>