mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 05:08:56 +00:00
GenericGraphicsAdapter is mouthful. Also, the idea is to move towards a more advanced subsystem that handles GPUs, not merely graphics adapters.
27 lines
512 B
C++
27 lines
512 B
C++
/*
|
|
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
#include <Kernel/Bus/PCI/Definitions.h>
|
|
#include <Kernel/Devices/BlockDevice.h>
|
|
#include <Kernel/Library/LockWeakable.h>
|
|
#include <Kernel/Memory/PhysicalAddress.h>
|
|
|
|
namespace Kernel {
|
|
class GPUDevice
|
|
: public AtomicRefCounted<GPUDevice>
|
|
, public LockWeakable<GPUDevice> {
|
|
public:
|
|
virtual ~GPUDevice() = default;
|
|
|
|
protected:
|
|
GPUDevice() = default;
|
|
};
|
|
|
|
}
|