Skip to content

mohitvdx/RustKernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustKernel

RustKernel latest progress

Getting Started

Follow these steps to build and run the RustKernel project. Ensure that you have Rust installed on your system. If not, you can install it from rustup.rs.

Prerequisites

Make sure you have Rust nightly installed:

rustup override set nightly

Building the Project

To build the project, run:

cargo build

Creating a Bootable Disk Image

To create a bootable disk image, use the following command:

cargo bootimage

Installing QEMU

If you don't have QEMU installed, you can install it using Homebrew:

brew install qemu

Running the Disk Image on QEMU

Finally, to run the disk image on QEMU, use the command:

qemu-system-x86_64 -drive format=raw,file=target/x86_64-RustKernel/debug/bootimage-RustKernel.bin

To run all the tests, use the command:

cargo test

To run the OS in QEMU, use the command:

cargo run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages