thinkOS

作者: ALvin_l | 来源:发表于2017-01-19 11:52 被阅读36次

compiler

the step of compliation

Preprocessing 预处理
Parsing 语法分析
Static checking 语义分析
code generation 代码生成
Linking 连接
optimization 代码优化

gcc

Output file name : -o
Object code : -c ; nm command : reads an object file and generates informatio about the names it defines and uses
generate assemble code : -S
run Preprocessor : -E
runtime checking: floating point exception(除以0), segmentation fault(内存越界)

进程

抽象和虚拟

隔离

代码段
数据段 编译时静态分配和运行时堆栈
输入输出挂起的状态:读写硬盘,访问网络等
程序中的硬件状态:存储数据到CPU寄存器,状态信息,PC计数器。

操作系统中的下进程支持:

多任务: 中断实现
虚拟内存: 便于内存隔离
设备抽象:

相关文章

  • thinkOS

    compiler the step of compliation Preprocessing 预处理Parsin...

  • thinkos-读书笔记

    推荐 最近下载读完,一本简单介绍操作系统的书,90+页,整体很不错,温习了操作系统,推荐下载。 下载地址 http...

网友评论

      本文标题:thinkOS

      本文链接:https://www.haomeiwen.com/subject/upcibttx.html