ospre 0.1.6

这是一个用于开发64位操作系统的前置工具,用于做boot、loader等工作。它需要你安装nasm编译器才能使用,使用方式请看文档
Documentation
  • Coverage
  • 0%
    0 out of 18 items documented0 out of 10 items with examples
  • Size
  • Source code size: 160.35 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 765.57 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • 2019fengchen

前提

你已经安装了 nasm 编译器

安装

cargo install ospre

使用

ospre kernel=你的内核文件 执行ospre命令后,你将在当前目录下得到一个disk.img文件

Example

ospre kernel=./my_os.elf

使用QEMU调试

qemu-system-x86_64 -m 128M -drive file=./disk.img,index=0,media=disk,format=raw

注意点

只能用cargo install来安装,而不是 cargo add