/external/syslinux/com32/modules/ |
dmitest.c | 32 * DMI demo program using libcom32 38 #include "dmi/dmi.h" 42 void display_memory(s_dmi * dmi) 45 for (i = 0; i < dmi->memory_count; i++) { 47 moreprintf("\tForm Factor : %s\n", dmi->memory[i].form_factor); 48 moreprintf("\tType : %s\n", dmi->memory[i].type); 49 moreprintf("\tType Detail : %s\n", dmi->memory[i].type_detail); 50 moreprintf("\tSpeed : %s\n", dmi->memory[i].speed); 51 moreprintf("\tSize : %s\n", dmi->memory[i].size) 181 s_dmi dmi; local [all...] |
/external/syslinux/com32/sysdump/ |
dmi.c | 2 * Dump DMI information in a way hopefully compatible with dmidecode 30 struct dmi_header dmi; member in struct:smbios_header 46 const struct dmi_header *dmi = (void *)dptr; local 48 return !memcmp(dmi->signature, "_DMI_", 5) && 49 !checksum(dmi, 0x0f); 68 snprintf(filename, sizeof filename, "dmi/%05x.%08x", 69 dptr, smb->dmi.tbladdr); 70 cpio_hdr(be, MODE_FILE, smb->dmi.tbllen + 32, filename); 75 * since it includes the checksum on the dmi table. 77 smx.dmi.tbladdr = sizeof smx 86 const struct dmi_header *dmi = (void *)dptr; local 88 struct dmi_header dmi; member in struct:fake [all...] |
/external/syslinux/com32/lua/src/ |
dmi.c | 10 #include "dmi/dmi.h" 44 /* Add a sub-DMI table to the table on stack 83 ** DMI subtables 435 /* dmi info */ 468 ** End of DMI subtables 475 s_dmi dmi; local 479 if ( ! dmi_iterate(&dmi) ) { 480 printf("No DMI Structure found\n"); 484 parse_dmitable(&dmi); 513 s_dmi dmi; local [all...] |
/external/syslinux/core/ |
dmi.c | 29 * Search DMI information for specific data or strings 65 struct dmi_header dmi; member in struct:smbios_header 68 static const struct dmi_header *dmi; variable in typeref:struct:dmi_header 83 const struct dmi_header *dmi = (void *)dptr; local 85 return !memcmp(dmi->signature, "_DMI_", 5) && 86 !checksum(dmi, 0x0f); 109 dmi = (const struct dmi_header *)(dptr + 16); 112 dmi = (const struct dmi_header *)dptr; 128 if (!dmi) 137 tblcount = dmi->nstruc [all...] |
/external/syslinux/com32/hdt/ |
hdt-common.h | 49 #include "dmi/dmi.h" 180 s_dmi dmi; /* DMI table */ member in struct:s_hardware 203 bool dmi_detection; /* Does the dmi stuff has already been detected? */
|