Skip to content

lisongqian/elephant_os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

操作系统真象还原练习

.
├── boot                # 系统引导目录
│   ├── include
│   │   └── boot.inc
│   ├── loader.S
│   └── mbr.S
├── build               # 编译目录
├── device              # 设备管理目录
│   ├── timer.c
│   └── timer.h
├── kernel              # 内核实现目录
│   ├── debug.c
│   ├── debug.h
│   ├── global.h
│   ├── init.c
│   ├── init.h
│   ├── interrupt.c
│   ├── interrupt.h
│   ├── kernel.S
│   ├── main.c
│   ├── memory.c
│   ├── memory.h
├── lib                 # 通用类目录
│   ├── kernel
│   │   ├── bitmap.c
│   │   ├── bitmap.h
│   │   ├── io.h
│   │   ├── print.h
│   │   └── print.S
│   ├── stdint.h
│   ├── string.c
│   ├── string.h
│   └── user
├── tmp                 # 测试练习文件
├── bochsrc.disk        # bochs参数文件
├── hd60M.img           # 虚拟硬盘文件
├── log_bochs.txt       # bochs日志文件
├── makefile
├── README.md
├── start_bochs.sh      # 启动bochs脚本文件
└── xxd.sh

操作说明

  1. make mbr2hd编译MBR
  2. make kernel2hd编译LOADER
  3. make all编译KERNEL
  4. make clean清理中间文件
  5. ./start_bochs.sh启动bochs调试

参考资料

  1. 《操作系统真象还原》
  2. 操作系统真象还原 读书笔记 by 我可是会飞的啊
  3. https://github.com/seaswalker/tiny-os
  4. os-elephant/《操作系统真象还原》勘误.md

About

操作系统真相还原实验

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors