diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-11 13:04:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-11 13:04:22 +0200 |
| commit | 57d040e3e6b6d0257c0ba5a914396520b18d9d87 (patch) | |
| tree | 78be4974d8a24e983034b0962ac5435f1b1d0b53 /dev/boot/src/HEL/AMD64/BootATA+Next.cc | |
| parent | 7690c1976b3127e17370708aef47ba3f18f3b8c2 (diff) | |
| parent | f775566da3cf4f8e3ffd4ca6dfe0a3c7776c3b35 (diff) | |
Merge pull request #30 from nekernel-org/dev0.0.2e2
0.0.2e2
Diffstat (limited to 'dev/boot/src/HEL/AMD64/BootATA+Next.cc')
| -rw-r--r-- | dev/boot/src/HEL/AMD64/BootATA+Next.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/boot/src/HEL/AMD64/BootATA+Next.cc b/dev/boot/src/HEL/AMD64/BootATA+Next.cc index 723224c1..547d4f99 100644 --- a/dev/boot/src/HEL/AMD64/BootATA+Next.cc +++ b/dev/boot/src/HEL/AMD64/BootATA+Next.cc @@ -103,7 +103,7 @@ ATAInit_Retry: return true; } -Void boot_ata_read(UInt64 Lba, UInt16 IO, UInt8 Master, CharacterTypeUTF8* Buf, SizeT SectorSz, +Void boot_ata_read(UInt64 Lba, UInt16 IO, UInt8 Master, CharacterTypeASCII* Buf, SizeT SectorSz, SizeT Size) { Lba /= SectorSz; @@ -136,7 +136,7 @@ Void boot_ata_read(UInt64 Lba, UInt16 IO, UInt8 Master, CharacterTypeUTF8* Buf, } } -Void boot_ata_write(UInt64 Lba, UInt16 IO, UInt8 Master, CharacterTypeUTF8* Buf, SizeT SectorSz, +Void boot_ata_write(UInt64 Lba, UInt16 IO, UInt8 Master, CharacterTypeASCII* Buf, SizeT SectorSz, SizeT Size) { Lba /= SectorSz; @@ -208,7 +208,7 @@ BootDeviceATA::operator bool() { @param Sz Sector size @param Buf buffer */ -BootDeviceATA& BootDeviceATA::Read(CharacterTypeUTF8* Buf, SizeT SectorSz) { +BootDeviceATA& BootDeviceATA::Read(CharacterTypeASCII* Buf, SizeT SectorSz) { if (!boot_ata_detected()) { Leak().mErr = true; return *this; @@ -229,7 +229,7 @@ BootDeviceATA& BootDeviceATA::Read(CharacterTypeUTF8* Buf, SizeT SectorSz) { @param Sz Sector size @param Buf buffer */ -BootDeviceATA& BootDeviceATA::Write(CharacterTypeUTF8* Buf, SizeT SectorSz) { +BootDeviceATA& BootDeviceATA::Write(CharacterTypeASCII* Buf, SizeT SectorSz) { if (!boot_ata_detected()) { Leak().mErr = true; return *this; |
