@@ -13,16 +13,15 @@ cargo qemu
13
13
14
14
When running ` cargo qemu ` , the test kernel will build and run. Expected output should be:
15
15
16
- ```
17
- [rustsbi] RustSBI version 0.2.0, adapting to RISC-V SBI v0.3
16
+ [ rustsbi] RustSBI version 0.2.2, adapting to RISC-V SBI v0.3
18
17
.______ __ __ _______ .___________ . _______ ..______ __
19
18
| _ \ | | | | / | | / || _ \ | |
20
19
| | _ ) | | | | | | (----`---| | ----`| (----`| | _ ) || |
21
20
| / | | | | \ \ | | \ \ | _ < | |
22
21
| | \ \- ---.| `--' | .----) | | | .----) | | | _ ) || |
23
22
| _ | `._____ | \_ _____ / | _______ / | __ | | _______ / | ______ / | __ |
24
23
25
- [rustsbi] Implementation: RustSBI-QEMU Version 0.1.0
24
+ [ rustsbi] Implementation: RustSBI-QEMU Version 0.1.1
26
25
[ rustsbi-dtb] Hart count: cluster0 with 8 cores
27
26
[ rustsbi] misa: RV64ACDFIMSU
28
27
[ rustsbi] mideleg: ssoft, stimer, sext (0x222)
@@ -35,15 +34,15 @@ When running `cargo qemu`, the test kernel will build and run. Expected output s
35
34
<< Test-kernel: Hart id = 0, DTB physical address = 0x87000000
36
35
>> Test-kernel: Testing base extension
37
36
<< Test-kernel: Base extension version: 1
38
- << Test-kernel: SBI specification version: 3
37
+ << Test-kernel: SBI specification version: 1.0
39
38
<< Test-kernel: SBI implementation Id: 4
40
- << Test-kernel: SBI implementation version: 200
39
+ << Test-kernel: SBI implementation version: 202
41
40
<< Test-kernel: Device mvendorid: 0
42
41
<< Test-kernel: Device marchid: 0
43
42
<< Test-kernel: Device mimpid: 0
44
43
>> Test-kernel: Testing SBI instruction emulation
45
- << Test-kernel: Current time: 17fc45
46
- << Test-kernel: Time after operation: 187678
44
+ << Test-kernel: Current time: d78c9
45
+ << Test-kernel: Time after operation: da00f
47
46
>> Test-kernel: Trigger illegal exception
48
47
<< Test-kernel: Value of scause: Exception(IllegalInstruction)
49
48
<< Test-kernel: Illegal exception delegate success
@@ -52,6 +51,7 @@ When running `cargo qemu`, the test kernel will build and run. Expected output s
52
51
>> Hart 1 state return value: 4
53
52
>> Hart 2 state return value: 4
54
53
>> Hart 3 state return value: 1
54
+ >> Hart 4 state return value: 0
55
55
<< Test-kernel: test for hart 0 success, wake another hart
56
56
>> Wake hart 1, sbi return value 0
57
57
>> Start test for hart 1, retentive suspend return value 0
0 commit comments