Google
 

Tuesday, February 27, 2007

Reading Linux Kernel 0.11 Source Code

Today, I start to study the source code of Linux kernel 0.11.

Referred Books:
1.《Linux内核完全注释》
2.<>
3.


Download Linux kernel source code 0.11 from here.

Kernel Dir Tree:
\---linux-0.11
+---boot
+---fs
+---include
| +---asm
| +---linux
| \---sys
+---init
+---kernel
| +---blk_drv
| +---chr_drv
| \---math
+---lib
+---mm
\---tools

Kernel File Tree:
\---linux-0.11
| Makefile
| tree.txt
|
+---boot
| bootsect.s
| head.s
| setup.s
|
+---fs
| bitmap.c
| block_dev.c
| buffer.c
| char_dev.c
| exec.c
| fcntl.c
| file_dev.c
| file_table.c
| inode.c
| ioctl.c
| Makefile
| namei.c
| open.c
| pipe.c
| read_write.c
| stat.c
| super.c
| truncate.c
|
+---include
| | a.out.h
| | const.h
| | ctype.h
| | errno.h
| | fcntl.h
| | signal.h
| | stdarg.h
| | stddef.h
| | string.h
| | termios.h
| | time.h
| | unistd.h
| | utime.h
| |
| +---asm
| | io.h
| | memory.h
| | segment.h
| | system.h
| |
| +---linux
| | config.h
| | fdreg.h
| | fs.h
| | hdreg.h
| | head.h
| | kernel.h
| | mm.h
| | sched.h
| | sys.h
| | tty.h
| |
| \---sys
| stat.h
| times.h
| types.h
| utsname.h
| wait.h
|
+---init
| main.c
|
+---kernel
| | asm.s
| | exit.c
| | fork.c
| | Makefile
| | mktime.c
| | panic.c
| | printk.c
| | sched.c
| | signal.c
| | sys.c
| | system_call.s
| | traps.c
| | vsprintf.c
| |
| +---blk_drv
| | blk.h
| | floppy.c
| | hd.c
| | ll_rw_blk.c
| | Makefile
| | ramdisk.c
| |
| +---chr_drv
| | console.c
| | keyboard.S
| | Makefile
| | rs_io.s
| | serial.c
| | tty_io.c
| | tty_ioctl.c
| |
| \---math
| Makefile
| math_emulate.c
|
+---lib
| close.c
| ctype.c
| dup.c
| errno.c
| execve.c
| Makefile
| malloc.c
| open.c
| setsid.c
| string.c
| wait.c
| write.c
| _exit.c
|
+---mm
| Makefile
| memory.c
| page.s
|
\---tools
build.c

No comments: