From 0ca5d0d92ee326f3deda797403c27090bd0784ab Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 3 Feb 2024 15:47:49 +0100 Subject: Bootloader add GOP support and working on NewFS support. Signed-off-by: Amlal El Mahrouss --- Private/NewBoot/BootKit/BootKit.hxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Private/NewBoot/BootKit') diff --git a/Private/NewBoot/BootKit/BootKit.hxx b/Private/NewBoot/BootKit/BootKit.hxx index 766749bd..6fdbacaf 100644 --- a/Private/NewBoot/BootKit/BootKit.hxx +++ b/Private/NewBoot/BootKit/BootKit.hxx @@ -86,6 +86,7 @@ class BImageReader final { CharacterType mPath[kPathLen]; BTextWriter mWriter; BATADevice mDevice; + bool mCached{false}; }; /***********************************************************************************/ @@ -134,4 +135,16 @@ inline UInt32 In32(UInt16 port) { return value; } +/***********************************************************************************/ +/// Framebuffer. +/***********************************************************************************/ + +#define RGB(R, G, B) (UInt32)(0x##R##G##B) + +const UInt32 kRgbRed = 0x000000FF; +const UInt32 kRgbGreen = 0x0000FF00; +const UInt32 kRgbBlue = 0x00FF0000; +const UInt32 kRgbBlack = 0x00000000; +const UInt32 kRgbWhite = 0x00FFFFFF; + #endif // __EFI_x86_64__ -- cgit v1.2.3