🆕 lseek系统调用

This commit is contained in:
fslongjin
2022-05-03 15:40:23 +08:00
parent f99179014a
commit 2ed8bdcfd2
6 changed files with 120 additions and 10 deletions

View File

@ -312,7 +312,7 @@ static bool ahci_read(HBA_PORT *port, uint32_t startl, uint32_t starth, uint32_t
static bool ahci_write(HBA_PORT *port, uint32_t startl, uint32_t starth, uint32_t count,
uint64_t buf)
{
kdebug("ahci write");
// kdebug("ahci write");
port->is = 0xffff; // Clear pending interrupt bits
int slot = ahci_find_cmdslot(port);
if (slot == -1)