#include "precomp.h"
#include <debug.h>
Go to the source code of this file.
|
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_ PULONG Table, _In_ ULONG Count) |
|
BOOLEAN NTAPI | VidInitialize (_In_ BOOLEAN SetMode) |
|
VOID NTAPI | VidResetDisplay (_In_ BOOLEAN HalReset) |
|
VOID NTAPI | VidCleanUp (VOID) |
|
VOID NTAPI | VidScreenToBufferBlt (_Out_writes_bytes_(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) |
|
◆ NDEBUG
◆ DisplayCharacter()
Definition at line 19 of file bootvid.c.
25{
28
29
31
32
34 {
35
36 XOffset = Left;
37 for (
j = (1 << 7);
j > 0;
j >>= 1)
38 {
39
41 {
42
44 }
46 {
47
48
49
50
52 }
53
54
55 XOffset++;
56 }
57
58
60 }
61}
FORCEINLINE VOID SetPixel(_In_ ULONG Left, _In_ ULONG Top, _In_ UCHAR Color)
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
◆ DoScroll()
Definition at line 64 of file bootvid.c.
66{
70
71
74
75
77 {
78
81
82
84 {
85
87
88
89 do
90 {
91
93
94
96
97
99
100
102 }
103
104
107 }
108}
#define WRITE_REGISTER_USHORT(r, v)
#define READ_REGISTER_USHORT(r)
ULONG VidpScrollRegion[4]
_In_ ULONG _In_ ULONG Offset
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t SourceOffset
◆ InitPaletteWithTable()
◆ PreserveRow()
Definition at line 111 of file bootvid.c.
115{
118
119
120 if (Restore)
121 {
122
125 }
126 else
127 {
128
131 }
132
133
136 {
137
139
140
141 Position1++;
142 Position2++;
143 }
144}
◆ VidCleanUp()
◆ VidInitialize()
Definition at line 183 of file bootvid.c.
185{
187
188
189
190
191
195
196
197
198
202
203
204
205
207
208
209
210
212}
PHYSICAL_ADDRESS VgaPhysical
VOID VidpInitializeDisplay(VOID)
PVOID NTAPI MmAllocateContiguousMemory(IN SIZE_T NumberOfBytes, IN PHYSICAL_ADDRESS HighestAcceptableAddress)
PHYSICAL_ADDRESS NTAPI MmGetPhysicalAddress(IN PVOID Address)
Referenced by InbvDriverInitialize().
◆ VidpInitializeDisplay()
Definition at line 147 of file bootvid.c.
148{
149
150
151
154
155
156
157
160
161
162
163
169}
#define WRITE_REGISTER_ULONG(r, v)
#define LCDCONTROL_LCDBPP(x)
#define LCDTIMING0_PPL(x)
#define LCDCONTROL_LCDPWR
#define LCDCONTROL_LCDTFT
#define LCDTIMING1_LPP(x)
Referenced by VidInitialize(), and VidResetDisplay().
◆ VidResetDisplay()
Definition at line 216 of file bootvid.c.
218{
219
220
221
224
225
226
227
229
230
231
232
235}
VOID NTAPI VidSolidColorFill(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ UCHAR Color)
#define InitializePalette()
Referenced by InbvResetDisplay(), and VidInitialize().
◆ VidScreenToBufferBlt()
◆ VidSolidColorFill()
◆ VgaArmBase
◆ VgaPhysical