diff options
| author | Amlal <amlal@nekernel.org> | 2025-04-27 19:51:43 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-04-27 19:51:43 +0200 |
| commit | 11dd858e1d9da71a182bc707ca3a481dafbccbe4 (patch) | |
| tree | 0b2ce000054b257e005199f31ac6a21a0eb5ffe5 /dev/kernel/HALKit/AMD64/Storage/PIO+Generic.cc | |
| parent | cb2f383f45dda8d1cdcef0b87fe4c70243659701 (diff) | |
dev, kernel: refactor and improve parts of the kernel, related to I/O
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/HALKit/AMD64/Storage/PIO+Generic.cc')
| -rw-r--r-- | dev/kernel/HALKit/AMD64/Storage/PIO+Generic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/kernel/HALKit/AMD64/Storage/PIO+Generic.cc b/dev/kernel/HALKit/AMD64/Storage/PIO+Generic.cc index db9a1747..a024d2fe 100644 --- a/dev/kernel/HALKit/AMD64/Storage/PIO+Generic.cc +++ b/dev/kernel/HALKit/AMD64/Storage/PIO+Generic.cc @@ -173,7 +173,7 @@ namespace Kernel { /// @brief Initialize an PIO device (StorageKit function) /// @param is_master is the current PIO master? /// @return [io:master] for PIO device. -BOOL sk_init_pio_device(BOOL is_master, UInt16& io, UInt8& master) { +BOOL sk_init_ata_device(BOOL is_master, UInt16& io, UInt8& master) { return drv_pio_std_init(ATA_SECONDARY_IO, is_master, io, master); } @@ -225,7 +225,7 @@ namespace Detail { /// @brief Acquires a new PIO device with drv_index in mind. /// @param drv_index The drive index to assign. /// @return A wrapped device interface if successful, or error code. -ErrorOr<ATADeviceInterface> sk_acquire_pio_device(Int32 drv_index) { +ErrorOr<ATADeviceInterface> sk_acquire_ata_device(Int32 drv_index) { /// here we don't check if we probed ATA, since we'd need to grab IO after that. ATADeviceInterface device(Detail::sk_io_read_pio, Detail::sk_io_write_pio); |
