Midterm Review Information
Topics Covered:
- Kernel C Programming. Pointers, casting void* as other things, arrays, structures with pointers included, binary arithmatic, dynamic memory (kmalloc and malloc).
- Kernel Modules. /proc, proc_ops struct (formerly file_operations), programming in kernel space, but not in much of any detail.
- Process management. Timeslices, scheduling, zombies.
- Interrupts and System Calls, in principle (short answer and such, not coding)
- Timers and time in the kernel
- Data structures, but the project for these hasn't happened yet
- Device drivers or synchronization only if I cover them on Thursday
The data types I think are common are: int, char, pointers to anything, unsigned versions of each, float, double, size_t, ssize_t
The first page is multiple choice, 8 questions at 3 points each, and the rest is short answer or programming. You can bring 8 sheets of notes 8.5" by 11" both sides. Maybe a couple examples using pointers would be good to include, and a brief definition of anything you're having trouble remembering.