summaryrefslogtreecommitdiff
path: root/Kernel/Graphics/VGA/ISAAdapter.h
blob: 8ca0623c14b87f4f974b9e7918b5b82e38dccc6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Copyright (c) 2022, Liav A. <liavalb@hotmail.co.il>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Types.h>
#include <Kernel/Bus/PCI/Device.h>
#include <Kernel/Graphics/Console/Console.h>
#include <Kernel/Graphics/FramebufferDevice.h>
#include <Kernel/Graphics/GenericGraphicsAdapter.h>
#include <Kernel/Graphics/VGA/VGACompatibleAdapter.h>
#include <Kernel/PhysicalAddress.h>

namespace Kernel {

class ISAVGAAdapter final : public VGACompatibleAdapter {
    friend class GraphicsManagement;

public:
    static NonnullRefPtr<ISAVGAAdapter> initialize();

private:
    ISAVGAAdapter();
    RefPtr<Graphics::Console> m_framebuffer_console;
};
}