@Override
	public DataType toDataType() throws DuplicateNameException {
		StructureDataType struct = new StructureDataType(NAME, 0);

		struct.add(WORD, 2, "ProcessorArchitecture", null);
		struct.add(WORD, 2, "ProcessorLevel", null);
		struct.add(WORD, 2, "ProcessorRevision", null);

		UnionDataType u0 = new UnionDataType(NAME + "_u0");
		u0.add(WORD, 2, "Reserved0", null);
		StructureDataType s0 = new StructureDataType(NAME + "_s0", 0);
		s0.add(BYTE, 1, "NumberOfProcessors", null);
		s0.add(BYTE, 1, "ProductType", null);
		u0.add(s0, 2, s0.getDisplayName(), null);
		struct.add(u0, u0.getLength(), u0.getDisplayName(), null);

		struct.add(DWORD, 4, "MajorVersion", null);
		struct.add(DWORD, 4, "MinorVersion", null);
		struct.add(DWORD, 4, "BuildNumber", null);
		struct.add(DWORD, 4, "PlatformId", null);
		struct.add(Pointer32DataType.dataType, 4, "CSDVersionRVA", null);

		UnionDataType u1 = new UnionDataType(NAME + "_u1");
		u1.add(DWORD, 4, "Reserved1", null);
		StructureDataType s1 = new StructureDataType(NAME + "_s1", 0);
		s1.add(WORD, 2, "SuiteMask", null);
		s1.add(WORD, 2, "Reserved1", null);
		u1.add(s1, 2, s1.getDisplayName(), null);
		struct.add(u1, u1.getLength(), u1.getDisplayName(), null);

		UnionDataType u2 = new UnionDataType("CPU_INFORMATION");
		StructureDataType s3 = new StructureDataType("X86CpuInfo", 0);

		ArrayDataType a0 = new ArrayDataType(DWORD, 3, 4);
		s3.add(a0, a0.getLength(), "VendorId", null);
		s3.add(DWORD, 4, "VersionInformation", null);
		s3.add(DWORD, 4, "FeatureInformation", null);
		s3.add(DWORD, 4, "AMDExtendedCpuFeatures", null);

		StructureDataType s4 = new StructureDataType("OtherCpuInfo", 0);
		ArrayDataType a1 = new ArrayDataType(QWORD, 2, 8);
		s4.add(a1, a1.getLength(), "ProcessorFeatures", null);

		u2.add(s3, s3.getLength(), s3.getDisplayName(), null);
		u2.add(s4, s4.getLength(), s4.getDisplayName(), null);
		struct.add(u2, u2.getLength(), u2.getDisplayName(), null);

		struct.setCategoryPath(new CategoryPath("/MDMP"));

		return struct;
	}
@see ghidra.app.util.bin.StructConverter#toDataType()
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/dump/mdmp/SystemInfoStream.java