🆕 读取fat32文件系统的基础信息

This commit is contained in:
fslongjin
2022-04-19 20:56:01 +08:00
parent 39dd802ff1
commit 979bb35599
10 changed files with 185 additions and 25 deletions

1
run.sh
View File

@ -93,6 +93,7 @@ if [ $flag_can_run -eq 1 ]; then
bochs -q -f ${bochsrc} -rc ./tools/bochsinit
else
qemu-system-x86_64 -cdrom ${iso} -m 512M -smp 2,cores=2,threads=1,sockets=1 \
-boot order=d \
-monitor stdio -d cpu_reset,guest_errors,trace:check_exception,exec,cpu,out_asm,in_asm -s -S -cpu IvyBridge --enable-kvm -rtc clock=host,base=localtime -serial file:serial_opt.txt \
-drive id=disk,file=bin/disk.img,if=none \
-device ahci,id=ahci \