aboutsummaryrefslogtreecommitdiffstats
path: root/UefiMonitorTest/UefiMonitorTest.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-03-26 17:16:41 +0300
committerJoursoir <chat@joursoir.net>2022-03-26 17:16:41 +0300
commit444d9d9b38f94973f965e335719c6c46265f70ef (patch)
tree0ed0d5e9ff660d420df54c5c9515d43607801251 /UefiMonitorTest/UefiMonitorTest.h
parent01a6d8366c5c3bf8c52f666a1c302fea035185da (diff)
downloadumt-444d9d9b38f94973f965e335719c6c46265f70ef.tar.gz
umt-444d9d9b38f94973f965e335719c6c46265f70ef.tar.bz2
umt-444d9d9b38f94973f965e335719c6c46265f70ef.zip
add double buffering
Diffstat (limited to 'UefiMonitorTest/UefiMonitorTest.h')
-rw-r--r--UefiMonitorTest/UefiMonitorTest.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/UefiMonitorTest/UefiMonitorTest.h b/UefiMonitorTest/UefiMonitorTest.h
index d6306bc..97ada85 100644
--- a/UefiMonitorTest/UefiMonitorTest.h
+++ b/UefiMonitorTest/UefiMonitorTest.h
@@ -10,7 +10,15 @@ typedef struct {
/// Base address of graphics linear frame buffer.
/// Starts from the upper left pixel.
///
- UINT8 *Base;
+ UINT8 *FrontBuffer;
+ ///
+ /// Pointer to allocated memory. Secondary linear buffer.
+ ///
+ UINT8 *BackBuffer;
+ ///
+ /// Amount of frame buffer needed to support the active mode.
+ ///
+ UINTN BufferSize;
///
/// The size of video screen in pixels in the X dimension.
///