Code Monkey home page Code Monkey logo

x86-kernel's Introduction

x86 kernel

a simple x86 kernel, extended with Rust

this is my work following along with a @phil-opp's blog post series "A minimal x86 kernel"

prerequisites

virtualization

(if you are on OSX, ChromeOS, Windows, etc)

linux dependencies

  • nasm: assembler (assembly -> binary)
  • ld: linker (makes binary out of other files)
  • grub: creates the bootable iso
  • xorriso: req'd by grub, filesystem manipulator
  • QEMU: fake-computer emulator

utilities

you don't need these, but they are nice for viewing generated code.

  • hexdump: allows you to view generated binary
  • objdump: a nicer viewer for .o files

up and running

  1. fork and clone this repository

  2. navigate into the repo directory: cd x86-kernel

  3. $ vagrant up

  4. $ vagrant ssh -- -Y -- -Y forwards graphics

  5. $ multirust default nightly-2015-11-19

    Sets your default rust to a stable nightly. The features needed to do OS work in Rust are not yet in a stable release, so you must use a nightly build.

  6. $ cd /vagrant

    The /vagrant directory is the virtualized directory that is synced with the / directory on your HD.

  7. $ make run

x86-kernel's People

Contributors

ashleygwilliams avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.