mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:07:35 +00:00
Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal
No functional change.
This commit is contained in:
parent
5ff318cf3a
commit
91db482ad3
129 changed files with 482 additions and 1116 deletions
29
Kernel/Arch/x86_64/ISABus/IDEController.h
Normal file
29
Kernel/Arch/x86_64/ISABus/IDEController.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Liav A. <liavalb@hotmail.co.il>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/Library/LockRefPtr.h>
|
||||
#include <Kernel/Storage/ATA/GenericIDE/Controller.h>
|
||||
#include <Kernel/Storage/StorageDevice.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
class AsyncBlockDeviceRequest;
|
||||
|
||||
class ISAIDEController final : public IDEController {
|
||||
public:
|
||||
static ErrorOr<NonnullLockRefPtr<ISAIDEController>> initialize();
|
||||
|
||||
private:
|
||||
ISAIDEController();
|
||||
|
||||
LockRefPtr<StorageDevice> device_by_channel_and_position(u32 index) const;
|
||||
ErrorOr<void> initialize_channels();
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue