mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Fix Mount2
allowing skipping HDD SATA port entry.
Rename network stack `Run.CC` to `Start.CC`, fix running applications in subdirectories using F5 in `Ed` window.
This commit is contained in:
parent
fc751e2f64
commit
9ebbb0847b
4 changed files with 5 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,5 +2,3 @@
|
|||
*.MAP
|
||||
Boot/
|
||||
ZealOS-*.iso
|
||||
sync_repo.sh
|
||||
sync_vm.sh
|
||||
|
|
|
@ -27,4 +27,3 @@ sudo qemu-nbd -d /dev/nbd0
|
|||
sudo rm -rf /tmp/zealtmp
|
||||
sudo sync
|
||||
echo "finished."
|
||||
git status
|
||||
|
|
|
@ -221,11 +221,11 @@ U8 Mount2(U8 boot_drive_let, CDoc *_doc, Bool _caller_is_prtdisk)
|
|||
"Enter port number: \n";
|
||||
StrNGet(port_str, STR_LEN);
|
||||
}
|
||||
while (( type == BDT_ATAPI && AHCIPortSignatureGet(Str2I64(port_str)) != AHCI_PxSIG_ATAPI ||
|
||||
type == BDT_ATA && AHCIPortSignatureGet(Str2I64(port_str)) != AHCI_PxSIG_ATA ||
|
||||
0 > Str2I64(port_str) || Str2I64(port_str) > num_hints - 1
|
||||
) &&
|
||||
(type != BDT_ATAPI || !boot_drive_let));
|
||||
while ((type == BDT_ATAPI && AHCIPortSignatureGet(Str2I64(port_str)) != AHCI_PxSIG_ATAPI ||
|
||||
type == BDT_ATA && AHCIPortSignatureGet(Str2I64(port_str)) != AHCI_PxSIG_ATA ||
|
||||
type == BDT_ATA && !*port_str ||
|
||||
0 > Str2I64(port_str) || Str2I64(port_str) > num_hints - 1
|
||||
) && (type != BDT_ATAPI || !boot_drive_let));
|
||||
|
||||
port = Str2I64(port_str);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue