Skip to content

A toy RISCV kernel that can organize and execute user-mode programs.

License

Notifications You must be signed in to change notification settings

LauYeeYu/toy-riscv-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toy RISCV Kernel

Documents

See the overview document for more information.

Build & Test

The working directory is assumed to be the root of the project.

Build

You may use the following command to build the kernel:

$ make kernel

Run

You may use the following command to run the kernel:

$ make qemu

Test

If you want to run a program on this kernel, see the document for user for more detail.

If you want to specify a certain program as the init program, you may put the prgram in user/ directory and try:

$ make qemu init=<name>

For example, if you want to run user/hello.c, you may try:

$ make qemu init=hello

About

A toy RISCV kernel that can organize and execute user-mode programs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published