1
0
Fork 0
forked from koniifer/ableos

fixing vm bug

This commit is contained in:
mlokr 2024-09-09 22:52:34 +02:00
parent 7f362ba6cb
commit 149e667ce3
2 changed files with 5 additions and 5 deletions

View file

@ -888,7 +888,7 @@ create_back_buffer := fn(total_pages: int): ^u32 {
}
main := fn(): void {
create_back_buffer(10)
create_back_buffer(400)
return
}
```

View file

@ -270,10 +270,10 @@ where
self.bump_pc::<OpsRRP>();
}
}
JLTS => self.cond_jmp::<u64>(Ordering::Less),
JGTS => self.cond_jmp::<u64>(Ordering::Greater),
JLTU => self.cond_jmp::<i64>(Ordering::Less),
JGTU => self.cond_jmp::<i64>(Ordering::Greater),
JLTS => self.cond_jmp::<i64>(Ordering::Less),
JGTS => self.cond_jmp::<i64>(Ordering::Greater),
JLTU => self.cond_jmp::<u64>(Ordering::Less),
JGTU => self.cond_jmp::<u64>(Ordering::Greater),
ECA => {
// So we don't get timer interrupt after ECALL
if TIMER_QUOTIENT != 0 {