kolibri-ahci:

- fix bug with identical names for all disks

git-svn-id: svn://kolibrios.org@9168 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Rustem Gimadutdinov (rgimad) 2021-08-30 10:59:18 +00:00
parent d0336453fe
commit a17d3b7653
2 changed files with 2 additions and 1 deletions

View File

@ -574,6 +574,7 @@ ahci_init:
push ecx
mov eax, [hd_counter]
inc [hd_counter]
xor edx, edx
mov ecx, 10
div ecx ; eax = hd_counter / 10, edx = hd_counter % 10

View File

@ -1 +1 @@
qemu-system-i386 -m 256 -M q35 -fda kolibri_test2.img -boot a -vga vmware -net nic,model=rtl8139 -net user -soundhw ac97 -usb -usbdevice tablet -enable-kvm -drive file=fat:rw:.
qemu-system-i386 -m 256 -M q35 -fda kolibri_test2.img -boot a -vga vmware -net nic,model=rtl8139 -net user -soundhw ac97 -usb -usbdevice tablet -enable-kvm -drive file=fat:rw:. -drive file=fat:rw:two_hard