klife | Up to:
index.html |
$Id: klife.html,v 1.7 2005/05/28 20:15:50 muli Exp $ |
klife is a Linux kernel Game of Life implementation. I wrote it to demonstrate writing a simple software Linux device driver, for a talk I give, Introduction to Linux Device Drivers. It includes a kernel patch against 2.6.11-rc1-bk9 which generates new generations, and a small userspace program to draw the grid after each generation. Features include mmap support and a hook into the timer interrupt, to demonstrate hard and soft IRQ contexts.
klife is hackerware. That is, it might work, and it might not work. I hope you enjoy it either way :-)
previous versions: klife-0.07.tar.gz,klife-0.06.tar.gz,klife-0.05.tar.gz,klife-0.03.tar.gz, klife-0.02.tar.gz, klife-0.01.tar.gz