Refactored SMBIOS functions