Archives

Archive for April, 2009

I write this article because some guys are talking about it in CLF. The question is: what is the difference between the two following definitions:
A. const char temp[]="abc";
B. const char *temp="abc";

You may have your own answer already. But wait a moment, let me write some test cases first and you can see whether your answer [...]

Apr 23rd, 2009 | Filed under kernel

I think most of you may think it is easy to emulate I2C device in qemu, for qemu has provided a framework of i2c, both the master and slave devices. You are right. Emulating the I2C is not difficult in qemu.
What I want to post here is not emulating I2C device directly, but emulating GPIO [...]

Apr 22nd, 2009 | Filed under emulation, loongson