linux内核 header.s,linux 内核源文件介绍以及头文件介绍(Linux kernel source file introduction and header file).doc...

linux 内核源文件介绍以及头文件介绍(Linux kernel source file introduction and header file)

1, the kernel source file placed directory:

|

| - boot system boot assembly program directory

|

| - FS file system directory

|

| - include header file directory

|

| - init kernel initialization program directory

|

| - kernel memory process scheduling, signal processing, system call program directory

|

| - lib kernel library directory

|

| - mm memory management program directory

|

| - tools kernel generation tool Image file directory

|

| - Makefile file

|

2 boot boot directory boot

Contains 3 assembly language files, the kernel source file is the first compiled procedures.

Function: when the computer appliances, boot the kernel, load the kernel code into memory, and complete the system initialization.

Boot

|

| - bootsect.s disk boot block, the compiler will reside in the first sector of the disk.

|

| hardware configuration parameters -- setup.s read the machine, and the kernel mode system mobile memory to the appropriate location

|

| - head.s is compiled in the front part of the system connection module, configuration of hardware equipment is the main detection configuration and memory management page

|

3 file system directory FS

Contains 17 C language programs

FS

|

| - buffer.c cache management

|

| - file_table.c in 0.11 only defines a file handle (descriptor) array structure

|

| - ioctl.c will use the kernel/chr_dev/tty.c function, the realization of character device IO control function

|

| - exec.c mainly contains a program execution function (do_execve)

|

| fcntl.c file system call function I/O control

|

| three system calls read_write.c file read / write and positioning

|

| stat.c two access to the file system calls the function state

|

| - open.c mainly contains modify file attributes and create and close the file system call function

|

| char_dev.c mainly contains the character device to read and write function (rw_char)

|

The system call function | pipe.c containing pipeline read and

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值