2010 MacBook Pro 超频

2010 MacBook Pro

  • 参数
  • 15.4寸
  • Intel Core 2 Duo 2.66 i7
  • 8G 1066 MHz DDR3
  • NVIDIA GeForce GT 330M 512MB
  • 500GB 5400
  • Mac OS X 10.6.4

需要先使用istatmenus 3.03 将风扇调到最高,否则黑屏

#import <Foundation/Foundation.h>
#import
#import

io_connect_t con ;
typedef struct {
UInt32 action;
UInt32 msr;
UInt64 param;
} ioStruct;

inout inputStruct;
inout outputStruct;

inputStruct->action = 1;
inputStruct->param = 330

IOConnectCallStructMethod(con,
0,
&inputStruct,
sizeof(inputStruct),
&outputStruct,
sizeof(outputStruct)
);

参考自:http://www.tanhao.me/pieces/1547.html