Chameleon

Chameleon Commit Details

Date:2011-08-06 18:20:08 (8 years 2 months ago)
Author:Sergey Slice
Commit:1291
Parents: 1290
Message:SMBIOS corrections
Changes:
M/branches/slice/trunkM/i386/modules/Makefile
M/branches/slice/trunkM/revision
M/branches/slice/trunkM/i386/libsaio/smbios.c
M/branches/slice/trunkM/i386/libsaio/smbios_decode.c

File differences

branches/slice/trunkM/i386/libsaio/smbios.c
258258
259259
260260
261
262
263261
262
263
264
265
266
267
264268
265269
266270
{kSMBTypeBaseBoard,kSMBString,getFieldOffset(SMBBaseBoard, assetTagNumber),NULL,NULL,NULL},
{kSMBTypeBaseBoard,kSMBString,getFieldOffset(SMBBaseBoard, locationInChassis),NULL,NULL,NULL},
//-------------------------------------------------------------------------------------------------------------------------
// SystemEnclosure
//-------------------------------------------------------------------------------------------------------------------------
{kSMBTypeSystemEnclosure,kSMBString,getFieldOffset(SMBSystemEnclosure, manufacturer),
kSMBBaseBoardManufacturerKey,NULL,&defaultBaseBoard.manufacturer},
//-------------------------------------------------------------------------------------------------------------------------
// ProcessorInformation
//-------------------------------------------------------------------------------------------------------------------------
{kSMBTypeProcessorInformation,kSMBString,getFieldOffset(SMBProcessorInformation, socketDesignation),NULL,NULL,NULL},
branches/slice/trunkM/i386/libsaio/smbios_decode.c
9090
9191
9292
93
93
9494
9595
9696
DBG("\ttype: %d\n", structHeader->type);
//DBG("\tversion: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->version));
DBG("\tserialNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->serialNumber));
DBG("\tassetTagNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->assetTagNumber));
//DBG("\tassetTagNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->assetTagNumber));
DBG("\n");
}
branches/slice/trunkM/i386/modules/Makefile
1111
1212
1313
14
15
14
15
1616
1717
1818
include ${SRCROOT}/Make.rules
# The order of building is important.
SUBDIRS = klibc uClibcxx Resolution KernelPatcher NVRAM HelloWorld RamDiskLoader NetbookInstaller KextPatcher
#HelloWorld MemoryNetworking HPET USBFix
SUBDIRS = klibc uClibcxx Resolution KernelPatcher NVRAM HelloWorld
#HelloWorld MemoryNetworking HPET USBFix RamDiskLoader NetbookInstaller KextPatcher
CFLAGS= -Os $(MORECPP) -arch i386 -g -static
branches/slice/trunkM/revision
1
1
1282
1282:1290

Archive Download the corresponding diff file

Revision: 1291