saved as checkpoint

This commit is contained in:
whatever 2024-11-25 18:39:23 +08:00
parent fc27289d78
commit 601d216c54
3 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ endif
# riscv64-unknown-elf- or riscv64-linux-gnu-
# perhaps in /opt/riscv/bin
#TOOLPREFIX =
TOOLPREFIX = /opt/riscv/bin/riscv64-unknown-elf-
# Try to infer the correct TOOLPREFIX if not set
ifndef TOOLPREFIX

BIN
fs.img.bk Normal file

Binary file not shown.

View File

@ -93,7 +93,7 @@ bfree(int dev, uint b)
{
struct buf *bp;
int bi, m;
printf("%d %d\n",dev,b);
bp = bread(dev, BBLOCK(b, sb));
bi = b % BPB;
m = 1 << (bi % 8);