Skip to content

LauYeeYu/toy-riscv-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

127 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

 
 
 

Contributors