Skip to content

RISC-V版xv6のswtchの動作を理解するためのサンプルコード

Notifications You must be signed in to change notification settings

titech-os/swtest-riscv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swtest-riscv

RISC-V版xv6のswtchの動作を理解するためのサンプルコード

必要なもの

macOSの場合,以上はHomebrewを使って簡単にインストールできる.

$ brew tap riscv/riscv
$ brew install riscv-tools

ビルド方法

$ make

実行方法

$ make run-swtest
foo: 0
bar: 0
baz: 0
foo: 1
bar: 2
baz: 3
foo: 2
bar: 4
baz: 6
foo: 3
bar: 6
baz: 9
...
$ make run-schtest
foo: 0
bar: 0
baz: 0
foo: 1
bar: 2
baz: 3
foo: 2
bar: 4
baz: 6
foo: 3
bar: 6
baz: 9
...

About

RISC-V版xv6のswtchの動作を理解するためのサンプルコード

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published