With User Mode Linux you can create virtual Linux machines within a Linux computer and use them to safely test and debug applications, network services, and even kernels. You can try out new distributions, experiment with buggy software, and even test security. Now, for the first time, the creator and maintainer of User Mode Linux shows how to put it to work hands-on. Jeff Dike covers everything from getting started through running enterprise-class User Mode Linux servers. You ll find authoritative advice on bootup, compilation, administration, specialized configurations, and much more.
標簽:
Linux
computer
machines
virtual
上傳時間:
2013-12-19
上傳用戶:xinzhch
Linux 2.4.18 s3c2440 led driver
使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產生led module。
insmod main.o //安裝模組
mknod /dev/leds c 221 0
使用方法:
int main(int argc, char *argv[])
{
int testdev
//led test...
testdev = open("/dev/QuickMarkLed",O_RDWR)
ioctl(testdev, 2, 1) //ioctl(device, led number, open/close) open=1
ioctl(testdev, argv[1][0]- 0 , argv[2][0]- 0 ) //ioctl(device, led number, open/close) open=1
close(testdev)
return 0
}
標簽:
s3c2440
driver
Linux
dev-C
上傳時間:
2014-01-01
上傳用戶:qlpqlq