diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-26 20:42:54 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-26 20:42:54 +0200 |
| commit | d10241467cc3f77988927a48a4384f63297465dd (patch) | |
| tree | 53ad5822367ce5b53ec03220a0b9839936d1f93e /Private/Builtins | |
| parent | 3210d2e3f38a73090bcdbdd68623c676868529ce (diff) | |
MHR-18: Test and improve filesystem.
- Disk driver for PIO divide by sector size by default.
- Breaking changes in NewFS as well, no more mess in forks! Either a
data or resource fork.
- Also implemented disk size and sector count better for disk drivers as
a mandatory function.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/Builtins')
| -rw-r--r-- | Private/Builtins/ATA/ATA.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Private/Builtins/ATA/ATA.hxx b/Private/Builtins/ATA/ATA.hxx index a2ce79ba..ed9d275a 100644 --- a/Private/Builtins/ATA/ATA.hxx +++ b/Private/Builtins/ATA/ATA.hxx @@ -148,5 +148,9 @@ NewOS::Void drv_std_read(NewOS::UInt64 Lba, NewOS::UInt16 IO, NewOS::UInt8 Maste NewOS::Void drv_std_write(NewOS::UInt64 Lba, NewOS::UInt16 IO, NewOS::UInt8 Master, NewOS::Char* Buf, NewOS::SizeT SectorSz, NewOS::SizeT Size); +NewOS::SizeT drv_std_get_sector_count(); + +NewOS::SizeT drv_std_get_drv_size(); + #endif // ifdef __KERNEL__ #endif // ifndef __AHCI__ |
