forked from KSroido/linux5-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
江苏大学 Linux kernel 课设
License
UJS-Coder/linux5-lab
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Linux kernel ============ There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first. In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. The formatted documentation can also be read online at: https://www.kernel.org/doc/html/latest/ There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation. Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel. ============ 本项目为江苏大学2022级计算机学院操作系统课程设计指南,可以为后续学弟学妹起到一定借鉴作用 本指南是笔者在完成课设两个月后写成的,可能会遗漏一些配置环境上的细节问题,欢迎使用issue功能提出问题 ============ # 正文 首先简单了解一下项目,笔者选择的课设题目是**添加系统调用**(system call),系统调用简单来说就是一个写在系统底层的,可供全局调用的特殊函数入口 至于这个函数入口的特殊之处,留给感兴趣的读者自行解决(推荐读物:操作系统真相还原,了解16位和32位操作系统的话,只需要看这本,64位操作系统对于大部分人来说一般不需要太多了解,如果想要了解可以阅读《一个64位操作系统的设计与实现》) 这个函数既然是操作系统级别的全局函数,我们就需要了解一些定性的执行流的执行过程 请看下图,高地址是内核空间,是操作系统内核独占的,低地址是用户空间(当然这么说只是笼统泛泛而谈的,实际情况会复杂很多,请自行搜索了解) 
About
江苏大学 Linux kernel 课设
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 98.5%
- Assembly 0.8%
- Shell 0.3%
- Makefile 0.2%
- Python 0.1%
- Perl 0.1%