Skip to content

Commit 596a5b1

Browse files
committed
CI test2
1 parent 8da6b03 commit 596a5b1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ jobs:
7171
failed=0
7272
for ch in 2 3 4 5 6 7 8; do
7373
echo "========== Testing ch${ch} base =========="
74-
if timeout 6m cargo qemu --ch ${ch} --nobios --ci ; then
74+
if timeout 6m cargo qemu --ch ${ch} --nobios --ci 2>&1 \
75+
| python3 checker/check/ch${ch}b.py; then
7576
echo "ch${ch} PASSED"
7677
else
7778
echo "ch${ch} FAILED"

ch4/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ extern "C" fn rust_main() -> ! {
123123
build_flags("_WRV"),
124124
);
125125
// 建立调度线程,目的是划分异常域。调度线程上发生内核异常时会回到这个控制流处理
126-
let mut scheduling = LocalContext::thread(schedule as _, false);
126+
let mut scheduling = LocalContext::thread(schedule as *const () as _, false);
127127
*scheduling.sp_mut() = 1 << 38;
128128
unsafe { scheduling.execute() };
129129
log::error!("stval = {:#x}", stval::read());

0 commit comments

Comments
 (0)