2009年2月28日 星期六

notebook 散熱

ELECOM 超冷卻 A4 冷台

2009年2月25日 星期三

2009年2月18日 星期三

important type for driver

IOReturn: IOKit/IOReturn.h

IOByteCount: IOKit/IOTypes.h

SCSITaskIdentifier: IOKit/scsi/SCSITask.h

IOBufferMemoryDescriptor: IOKit/IOBufferMemoryDescriptor.h

SCSI_Sense_Data: IOKit/scsi/SCSICmds_REQUEST_SENSE_Defs.h

UInt64: libkern/OSTypes.h

NULL: string.h

2009年2月10日 星期二

IO flow

AsyncReadWrite  -->  IssueRead  or IssueWrite

2009年2月8日 星期日

frequent include header in mac driver

string.h:   define NULL

IOKit/IOLib.h:   IOMalloc

2009年2月5日 星期四

IOMalloc

allocate memory in the driver

defined in  IOKit/IOLib.h


ioregistry

close it before unload driver because it may reference to the driver