随笔分类 - kernel 0.12
学习linux内核0.12笔记
摘要:#include #include #define BLOCK_SIZE 1024#define BUFFER_SIZE (1024*1024) // 1Mstatic long NR_BUFFERS;struct buffer_head{ int b_dev; int b_dirt; int b_count; int b_lock; int b_uptodate; int b_wait; struct buffer_head* b_next; struct buffer_head* b_prev; struct b...
阅读全文