tinyos:用Rust编写的一个微小的OS内核

时间:2024-05-28 03:41:20
【文件属性】:

文件名称:tinyos:用Rust编写的一个微小的OS内核

文件大小:4.49MB

文件格式:ZIP

更新时间:2024-05-28 03:41:20

Rust

TinyOS的 用Rust编写的一个很小的操作系统内核,并进行少量汇编。 在长达26小时的飞行中阅读过程中,我受到启发来破解。 特征 帧缓冲区(屏幕)文本输出 串行端口文本输出(用于调试) 建造要求 我目前仅在Mac OS X上构建它,但是以前我在运行Ubuntu的Vagrant实例中构建了它。 使用系统提供的ld ,您也应该能够。 只需使用apt或软件包管理器安装以下软件包,然后更新Makefile使其指向ld 。 NASM( brew install nasm ) Qemu( brew install qeumu ) 为i386 ELF格式构建的GNU Binutils $ wget 'ftp://sourceware.org/pub/binutils/snapshots/binutils.tar.bz2' $ ./configure --target=i386-elf


【文件预览】:
tinyos-master
----.gitignore(33B)
----gdt.s(308B)
----loader.s(1KB)
----Makefile(1KB)
----io.rs(230B)
----serial.rs(3KB)
----README.md(1KB)
----segmentation.rs(1KB)
----frame_buffer.rs(2KB)
----kmain.rs(553B)
----link.ld(296B)
----rustlib()
--------libcore-11582ce5.rlib(19.47MB)
----iso()
--------boot()
----io.s(151B)

网友评论