Lines Matching refs:pMemDev
847 PDMIMEMORYDEV pMemDev = (PDMIMEMORYDEV)pszStr;
848 DMI_CHECK_SIZE(sizeof(*pMemDev));
849 DMI_START_STRUCT(pMemDev);
851 pMemDev->header.u8Type = 17; /* Memory Device */
853 pMemDev->header.u8Type = 126; /* inactive structure */
854 pMemDev->header.u8Length = sizeof(*pMemDev);
855 pMemDev->header.u16Handle = 0x0006;
856 pMemDev->u16PhysMemArrayHandle = 0x0005; /* handle of array we belong to */
857 pMemDev->u16MemErrHandle = 0xfffe; /* system doesn't provide this information */
858 pMemDev->u16TotalWidth = 0xffff; /* Unknown */
859 pMemDev->u16DataWidth = 0xffff; /* Unknown */
863 pMemDev->u16Size = u16RamSizeM; /* RAM size */
864 pMemDev->u8FormFactor = 0x09; /* DIMM */
865 pMemDev->u8DeviceSet = 0x00; /* Not part of a device set */
866 DMI_READ_CFG_STR_DEF(pMemDev->u8DeviceLocator, " ", "DIMM 0");
867 DMI_READ_CFG_STR_DEF(pMemDev->u8BankLocator, " ", "Bank 0");
868 pMemDev->u8MemoryType = 0x03; /* DRAM */
869 pMemDev->u16TypeDetail = 0; /* Nothing special */
870 pMemDev->u16Speed = 1600; /* Unknown, shall be speed in MHz */
871 DMI_READ_CFG_STR(pMemDev->u8Manufacturer, DmiSystemVendor);
872 DMI_READ_CFG_STR_DEF(pMemDev->u8SerialNumber, " ", "00000000");
873 DMI_READ_CFG_STR_DEF(pMemDev->u8AssetTag, " ", "00000000");
874 DMI_READ_CFG_STR_DEF(pMemDev->u8PartNumber, " ", "00000000");
875 pMemDev->u8Attributes = 0; /* Unknown */