mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-24 22:50:28 +00:00
Co-authored-by: mineo333 <sharad@mineo333.dev>
This commit is contained in:
parent
524bddec6c
commit
362cfb4070
3 changed files with 2 additions and 1 deletions
BIN
build/AUTO.ISO
BIN
build/AUTO.ISO
Binary file not shown.
|
@ -286,6 +286,7 @@ I64 AHCIAtapiCapacityGet(CBlkDev *bd)
|
|||
cmd_fis->type = FISt_H2D;
|
||||
PCIBts(&cmd_fis->desc, AHCI_CF_DESCf_C); //Set Command bit in H2D FIS.
|
||||
cmd_fis->command = ATA_PACKET;
|
||||
cmd_fis->lba1 = 8;
|
||||
cmd_table->acmd[0] = ATAPI_READ_CAPACITY >> 8;
|
||||
|
||||
AHCIPortWait(bd->port_num, tS + 2);
|
||||
|
|
|
@ -15,7 +15,7 @@ U0 LoadDocDefines()
|
|||
//$LK,"DD_BOOT_HIGH_LOC_DVD",A="FF:::/System/Boot/BootDVD.ZC,DD_BOOT_HIGH_LOC_DVD"$
|
||||
|
||||
$TR,"LineRep"$
|
||||
$ID,2$DefinePrint("DD_ZEALOS_LOC","99,737");
|
||||
$ID,2$DefinePrint("DD_ZEALOS_LOC","99,241");
|
||||
$ID,-2$
|
||||
DefinePrint("DD_MP_VECT", "%08X", MP_VECT_ADDR);
|
||||
DefinePrint("DD_MP_VECT_END", "%08X", MP_VECT_ADDR + COREAP_16BIT_INIT_END - COREAP_16BIT_INIT - 1);
|
||||
|
|
Loading…
Reference in a new issue