cht33 / os-lab-rcore-2020

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rCore_tutorial

Actions Status

Please read

Prerequisite

You need: rustup installed, ensure ~/.cargo/bin is added to PATH and run:

make env

Quick Try

$ make run
## If everything is OK, then you will see below info:
......
OpenSBI v0.4 (Jul  2 2019 11:53:53)
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name          : QEMU Virt Machine
Platform HART Features : RV64ACDFIMSU
Platform Max HARTs     : 8
Current Hart           : 0
Firmware Base          : 0x80000000
Firmware Size          : 112 KB
Runtime SBI Version    : 0.1

PMP0: 0x0000000080000000-0x000000008001ffff (A)
PMP1: 0x0000000000000000-0xffffffffffffffff (A,R,W,X)
switch satp from 0x8000000000080256 to 0x800000000008119f
++++ setup memory!    ++++
++++ setup interrupt! ++++
available programs in rust/ are:
  .
  ..
  user_shell
  notebook
  greenthread
  hello_world
  model
++++ setup fs!        ++++
++++ setup process!   ++++
++++ setup timer!     ++++
Rust user shell
>>

About


Languages

Language:Rust 90.7%Language:Assembly 3.0%Language:Makefile 2.4%Language:Python 2.3%Language:Dockerfile 1.5%