WIP: NVME support
This commit is contained in:
parent
639ed082aa
commit
c4c8d6c357
5 changed files with 10 additions and 2 deletions
|
@ -2,6 +2,7 @@ $(BUILD)/initfs.rs: \
|
|||
initfs/bin/init \
|
||||
initfs/bin/ahcid \
|
||||
initfs/bin/bgad \
|
||||
initfs/bin/nvmed \
|
||||
initfs/bin/pcid \
|
||||
initfs/bin/ps2d \
|
||||
initfs/bin/redoxfs \
|
||||
|
|
|
@ -36,7 +36,7 @@ qemu_no_build:
|
|||
|
||||
qemu_extra: build/harddrive.bin
|
||||
if [ ! -e build/extra.bin ]; then dd if=/dev/zero of=build/extra.bin bs=1048576 count=1024; fi
|
||||
$(QEMU) $(QEMUFLAGS) -drive file=$<,format=raw -drive file=build/extra.bin,format=raw
|
||||
$(QEMU) $(QEMUFLAGS) -drive file=$<,format=raw -drive file=build/extra.bin,format=raw,if=none,id=drv0 -device nvme,drive=drv0,serial=NVME_SERIAL
|
||||
|
||||
qemu_extra_no_build:
|
||||
if [ ! -e build/extra.bin ]; then dd if=/dev/zero of=build/extra.bin bs=1048576 count=1024; fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue