mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
635f7d3f9dced752f84d429e1d51f5c2b29854e3
This fixes the problem that GRUB sometimes puts the multiboot info struct between kernel sections if the hole is big enough. This leads to problems since we would try to map the same page twice in that case.
Blog OS
This repository contains the source code for the Writing an OS in Rust series at os.phil-opp.com.
Bare Bones
- A Minimal x86 Kernel (source code)
- Entering Long Mode (source code)
- Set Up Rust (source code)
- Printing to Screen (source code)
Memory Management
Additional Resources
Building
You need to have nasm, grub-mkrescue, xorriso, qemu and a nighly Rust compiler installed. Then you can run it using make run.
Please file an issue if you run into any problems.
License
The source code is dual-licensed under MIT or the Apache License (Version 2.0). This excludes the posts and pages directories.
Description
Languages
HTML
96.5%
SCSS
1.5%
CSS
1.2%
JavaScript
0.4%
Python
0.2%