Skip to content

Commit

Permalink
leointerrupt renames
Browse files Browse the repository at this point in the history
  • Loading branch information
hensldm committed Feb 24, 2024
1 parent d0bb8af commit 6b2ce9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/io/leointerrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ s32 __osLeoInterrupt() {
} else {
blockInfo->dramAddr = (void *)((u32)blockInfo->dramAddr + blockInfo->sectorSize);
info->sectorNum++;
osEPiRawStartDma(__osDiskHandle, OS_WRITE, LEO_SECTOR_BUFF, blockInfo->dramAddr, blockInfo->sectorSize);
__osEPiRawStartDma(__osDiskHandle, OS_WRITE, LEO_SECTOR_BUFF, blockInfo->dramAddr, blockInfo->sectorSize);
return 1;
}
} else if (info->cmdType == LEO_CMD_TYPE_0) {
Expand Down Expand Up @@ -120,7 +120,7 @@ s32 __osLeoInterrupt() {
blockInfo->errStatus = LEO_ERROR_GOOD;
}

osEPiRawStartDma(__osDiskHandle, OS_READ, LEO_C2_BUFF, blockInfo->C2Addr, blockInfo->sectorSize * 4);
__osEPiRawStartDma(__osDiskHandle, OS_READ, LEO_C2_BUFF, blockInfo->C2Addr, blockInfo->sectorSize * 4);
return 1;
}

Expand All @@ -145,7 +145,7 @@ s32 __osLeoInterrupt() {
return 1;
}

osEPiRawStartDma(__osDiskHandle, 0, LEO_SECTOR_BUFF, blockInfo->dramAddr, blockInfo->sectorSize);
__osEPiRawStartDma(__osDiskHandle, 0, LEO_SECTOR_BUFF, blockInfo->dramAddr, blockInfo->sectorSize);
blockInfo->errStatus = LEO_ERROR_GOOD;
return 1;
} else if (info->sectorNum <= 0x54) {
Expand Down

0 comments on commit 6b2ce9f

Please sign in to comment.