ReactOS 0.4.15-dev-7958-gcd0bb1a
inbv.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * PURPOSE: Boot Video Driver support header
5 * COPYRIGHT: Copyright 2007 Alex Ionescu (alex.ionescu@reactos.org)
6 * Copyright 2019-2022 Hermès Bélusca-Maïto
7 */
8
9#pragma once
10
11/* Native definitions from BOOTVID (Boot Video Driver) */
12#include "bootvid/bootvid.h"
13
14//
15// Driver Initialization
16//
17CODE_SEG("INIT")
21 _In_ PLOADER_PARAMETER_BLOCK LoaderBlock,
23);
24
26
30
31VOID
34
35VOID
38
42 _In_ ULONG ResourceNumber
43);
44
45//
46// Display Functions
47//
48VOID
52 _In_ ULONG X,
54);
55
56VOID
60 _In_ ULONG X,
61 _In_ ULONG Y,
65);
66
67VOID
71 _In_ ULONG X,
72 _In_ ULONG Y,
76);
77
78//
79// Progress-Bar Functions
80//
81VOID
84 _In_ ULONG Left,
86);
87
88CODE_SEG("INIT")
89VOID
92
93VOID
96 _In_ ULONG Floor,
97 _In_ ULONG Ceiling
98);
99
100VOID
101NTAPI
103 _In_ ULONG Percentage
104);
105
106//
107// Headless Terminal Support Functions
108//
109VOID
110NTAPI
112 IN ULONG PortId,
114);
115
117NTAPI
119 IN ULONG PortId
120);
121
123NTAPI
125 IN ULONG PortId,
127);
128
129VOID
130NTAPI
132 IN ULONG PortId,
134);
135
136VOID
137NTAPI
139 IN ULONG PortId
140);
141
143NTAPI
145 IN ULONG BaudRate,
147 IN PUCHAR PortAddress,
148 OUT PULONG PortId,
149 IN BOOLEAN IsMMIODevice
150);
#define CODE_SEG(...)
unsigned char BOOLEAN
static LPHIST_ENTRY Top
Definition: history.c:53
Definition: bufpool.h:45
#define Y(I)
unsigned char Byte
Definition: zlib.h:37
INBV_DISPLAY_STATE NTAPI InbvGetDisplayState(VOID)
Definition: inbv.c:324
VOID NTAPI InbvPortTerminate(IN ULONG PortId)
Definition: inbvport.c:65
VOID NTAPI InbvPortPutByte(IN ULONG PortId, IN UCHAR Byte)
Definition: inbvport.c:47
VOID NTAPI InbvBufferToScreenBlt(_In_ PUCHAR Buffer, _In_ ULONG X, _In_ ULONG Y, _In_ ULONG Width, _In_ ULONG Height, _In_ ULONG Delta)
Definition: inbv.c:553
BOOLEAN NTAPI InbvPortInitialize(IN ULONG BaudRate, IN ULONG PortNumber, IN PUCHAR PortAddress, OUT PULONG PortId, IN BOOLEAN IsMMIODevice)
Definition: inbvport.c:73
BOOLEAN InbvBootDriverInstalled
Definition: inbv.c:39
PUCHAR NTAPI InbvGetResourceAddress(_In_ ULONG ResourceNumber)
Definition: inbv.c:163
VOID NTAPI InbvAcquireLock(VOID)
Definition: inbv.c:220
VOID NTAPI InbvIndicateProgress(VOID)
Gives some progress feedback, without specifying any explicit number of progress steps or percentage....
Definition: inbv.c:626
VOID NTAPI InbvPortEnableFifo(IN ULONG PortId, IN BOOLEAN Enable)
Definition: inbvport.c:56
VOID NTAPI InbvSetProgressBarCoordinates(_In_ ULONG Left, _In_ ULONG Top)
Sets the screen coordinates of the loading progress bar and enable it.
Definition: inbv.c:601
VOID NTAPI InbvScreenToBufferBlt(_Out_ PUCHAR Buffer, _In_ ULONG X, _In_ ULONG Y, _In_ ULONG Width, _In_ ULONG Height, _In_ ULONG Delta)
Definition: inbv.c:572
VOID NTAPI InbvSetProgressBarSubset(_In_ ULONG Floor, _In_ ULONG Ceiling)
Specifies a progress percentage sub-range. Further calls to InbvIndicateProgress() or InbvUpdateProgr...
Definition: inbv.c:664
BOOLEAN NTAPI InbvDriverInitialize(_In_ PLOADER_PARAMETER_BLOCK LoaderBlock, _In_ ULONG Count)
Definition: inbv.c:176
VOID NTAPI InbvUpdateProgressBar(_In_ ULONG Percentage)
Updates the progress bar percentage, relative to the current percentage sub-range previously set by I...
Definition: inbv.c:690
BOOLEAN NTAPI InbvPortGetByte(IN ULONG PortId, OUT PUCHAR Byte)
Definition: inbvport.c:38
VOID NTAPI InbvBitBlt(_In_ PUCHAR Buffer, _In_ ULONG X, _In_ ULONG Y)
Definition: inbv.c:531
VOID NTAPI InbvReleaseLock(VOID)
Definition: inbv.c:242
BOOLEAN NTAPI InbvPortPollOnly(IN ULONG PortId)
Definition: inbvport.c:28
enum _INBV_DISPLAY_STATE INBV_DISPLAY_STATE
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
int Count
Definition: noreturn.cpp:7
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
Definition: ntddpcm.h:142
ULONG PortNumber
Definition: storport.c:18
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition: font.h:89
_In_ HFONT _Out_ PUINT Height
Definition: font.h:88
static ULONG Delta
Definition: xboxvideo.c:33
unsigned char UCHAR
Definition: xmlstorage.h:181