Skip to content

Commit 6412909

Browse files
apocelipeszcalusic
authored andcommitted
Update SMBIOS Reference Specification Version to support DDR5/LPDDR5
1 parent 9aaf068 commit 6412909

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

memory.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,13 @@ loop:
7070
si.Memory.Size += size
7171

7272
if si.Memory.Type == "" {
73-
// SMBIOS Reference Specification Version 3.0.0, page 92
73+
// SMBIOS Reference Specification Version 3.8.0, page 103
7474
memTypes := [...]string{
7575
"Other", "Unknown", "DRAM", "EDRAM", "VRAM", "SRAM", "RAM", "ROM", "FLASH",
7676
"EEPROM", "FEPROM", "EPROM", "CDRAM", "3DRAM", "SDRAM", "SGRAM", "RDRAM",
7777
"DDR", "DDR2", "DDR2 FB-DIMM", "Reserved", "Reserved", "Reserved", "DDR3",
78-
"FBD2", "DDR4", "LPDDR", "LPDDR2", "LPDDR3", "LPDDR4",
78+
"FBD2", "DDR4", "LPDDR", "LPDDR2", "LPDDR3", "LPDDR4", "Logical non-volatile device",
79+
"HBM", "HBM2", "DDR5", "LPDDR5", "HBM3",
7980
}
8081

8182
if index := int(dmi[p+0x12]); index >= 1 && index <= len(memTypes) {

0 commit comments

Comments
 (0)