NeKernel dev
Loading...
Searching...
No Matches
FB.h
Go to the documentation of this file.
1/* ========================================
2
3 Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
4
5======================================== */
6
7#pragma once
8
10
11namespace Kernel {
12class FBDeviceInterface;
13struct FBDevicePacket;
14
19
31
36 public:
37 explicit FBDeviceInterface(void (*out)(DeviceInterface* self, FBDevicePacket* out),
38 void (*in)(DeviceInterface* self, FBDevicePacket* in));
39
40 virtual ~FBDeviceInterface() override;
41
42 public:
45
46 const Char* Name() const override;
47
48 public:
51};
52} // namespace Kernel
#define NE_DEVICE
Definition DeviceMgr.h:27
#define PACKED
Device contract interface, represents an HW device.
Definition DeviceMgr.h:42
FBDeviceInterface & operator>>(FBDevicePacket *dat) override
FBDeviceInterface & operator=(const FBDeviceInterface &)=default
FBDeviceInterface(const FBDeviceInterface &)=default
FBDeviceInterface(void(*out)(DeviceInterface *self, FBDevicePacket *out), void(*in)(DeviceInterface *self, FBDevicePacket *in))
const Char * Name() const override
FBDeviceInterface & operator<<(FBDevicePacket *dat) override
UPS inline definitions.
Definition Device.h:12
UInt32 FBDim2x2
Definition FB.h:16
char Char
Definition Config.h:51
UInt32 FBCoord2x2
Definition FB.h:15
UInt32 FBFlags
Definition FB.h:18
__UINT32_TYPE__ UInt32
Definition Config.h:44
UInt32 FBColorProfile
Definition FB.h:17
Framebuffer device interface packet.
Definition FB.h:23
FBCoord2x2 fX
Definition FB.h:24
FBCoord2x2 fY
Definition FB.h:25
FBDim2x2 fHeight
Definition FB.h:27
FBDim2x2 fWidth
Definition FB.h:26
FBFlags fFlags
Definition FB.h:29
FBColorProfile fColor
Definition FB.h:28