#include "precomp.h"
#include <debug.h>
Go to the source code of this file.
|
| FORCEINLINE USHORT | VidpBuildColor (_In_ UCHAR Color) |
| |
| FORCEINLINE VOID | SetPixel (_In_ ULONG Left, _In_ ULONG Top, _In_ UCHAR Color) |
| |
| VOID | DisplayCharacter (_In_ CHAR Character, _In_ ULONG Left, _In_ ULONG Top, _In_ ULONG TextColor, _In_ ULONG BackColor) |
| |
| VOID | DoScroll (_In_ ULONG Scroll) |
| |
| VOID | PreserveRow (_In_ ULONG CurrentTop, _In_ ULONG TopDelta, _In_ BOOLEAN Restore) |
| |
| VOID | VidpInitializeDisplay (VOID) |
| |
| VOID | InitPaletteWithTable (_In_reads_(Count) const ULONG *Table, _In_ ULONG Count) |
| |
| BOOLEAN NTAPI | VidInitialize (_In_ BOOLEAN SetMode) |
| |
| VOID | ResetDisplay (_In_ BOOLEAN SetMode) |
| |
| VOID NTAPI | VidCleanUp (VOID) |
| |
| VOID NTAPI | VidScreenToBufferBlt (_Out_writes_bytes_all_(Delta *Height) PUCHAR Buffer, _In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Width, _In_ ULONG Height, _In_ ULONG Delta) |
| |
| VOID NTAPI | VidSolidColorFill (_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ UCHAR Color) |
| |
◆ LCDCONTROL_LCDBPP
| #define LCDCONTROL_LCDBPP |
( |
|
x | ) |
(((x) & 7) << 1) |
◆ LCDCONTROL_LCDEN
◆ LCDCONTROL_LCDPWR
| #define LCDCONTROL_LCDPWR (1 << 11) |
◆ LCDCONTROL_LCDTFT
| #define LCDCONTROL_LCDTFT (1 << 5) |
◆ LCDTIMING0_PPL
| #define LCDTIMING0_PPL |
( |
|
x | ) |
((((x) / 16 - 1) & 0x3f) << 2) |
◆ LCDTIMING1_LPP
| #define LCDTIMING1_LPP |
( |
|
x | ) |
(((x) & 0x3ff) - 1) |
◆ NDEBUG
◆ PL110_LCDCONTROL
◆ PL110_LCDLPBASE
◆ PL110_LCDTIMING0
◆ PL110_LCDTIMING1
◆ PL110_LCDTIMING2
◆ PL110_LCDUPBASE
◆ DisplayCharacter()
Definition at line 67 of file bootvid.c.
73{
74 const UCHAR* FontChar;
76
77
79
80
82 {
83
84 XOffset = Left;
85 for (
j = (1 << 7);
j > 0;
j >>= 1)
86 {
87
89 {
90
92 }
94 {
95
96
97
98
100 }
101
102
103 XOffset++;
104 }
105
106
108 }
109}
FORCEINLINE VOID SetPixel(_In_ ULONG Left, _In_ ULONG Top, _In_ UCHAR Color)
const UCHAR VidpFontData[256 *BOOTCHAR_HEIGHT]
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
Referenced by VidDisplayString(), and VidDisplayStringXY().
◆ DoScroll()
Definition at line 112 of file bootvid.c.
114{
118
119
122
123
125 {
126
129
130
132 {
133
135
136
137 do
138 {
139
141
142
144
145
147
148
150 }
151
152
155 }
156}
static PUSHORT VgaArmBase
#define WRITE_REGISTER_USHORT(r, v)
#define READ_REGISTER_USHORT(r)
_In_ ULONG _In_ ULONG Offset
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t SourceOffset
Referenced by VidDisplayString().
◆ InitPaletteWithTable()
◆ PreserveRow()
Definition at line 159 of file bootvid.c.
163{
166
167
168 if (Restore)
169 {
170
173 }
174 else
175 {
176
179 }
180
181
184 {
185
187
188
189 Position1++;
190 Position2++;
191 }
192}
Referenced by VidDisplayString().
◆ ResetDisplay()
Definition at line 263 of file bootvid.c.
265{
266
268
269
272}
VOID NTAPI VidSolidColorFill(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ UCHAR Color)
VOID VidpInitializeDisplay(VOID)
#define InitializePalette()
Referenced by VidResetDisplay().
◆ SetPixel()
◆ VidCleanUp()
◆ VidInitialize()
Definition at line 231 of file bootvid.c.
233{
235
236
237
238
239
243
244
245
246
250
251
252
253
255
256
257
258
260}
static PHYSICAL_ADDRESS VgaPhysical
PVOID NTAPI MmAllocateContiguousMemory(IN SIZE_T NumberOfBytes, IN PHYSICAL_ADDRESS HighestAcceptableAddress)
PHYSICAL_ADDRESS NTAPI MmGetPhysicalAddress(IN PVOID Address)
Referenced by InbvDriverInitialize().
◆ VidpBuildColor()
Definition at line 36 of file bootvid.c.
38{
40
41
45
46
47 return ((
Red & 0x1F) << 11) | ((
Green & 0x1F) << 6) | ((
Blue & 0x1F));
48}
const RGBQUAD VidpDefaultPalette[BV_MAX_COLORS]
Referenced by SetPixel().
◆ VidpInitializeDisplay()
Definition at line 195 of file bootvid.c.
196{
197
198
199
202
203
204
205
208
209
210
211
217}
#define LCDCONTROL_LCDBPP(x)
#define LCDTIMING0_PPL(x)
#define LCDCONTROL_LCDPWR
#define LCDCONTROL_LCDTFT
#define LCDTIMING1_LPP(x)
#define WRITE_REGISTER_ULONG(r, v)
Referenced by ResetDisplay(), and VidInitialize().
◆ VidScreenToBufferBlt()
◆ VidSolidColorFill()
◆ VgaArmBase
◆ VgaPhysical