[BOOTVID] Don't NTAPI non-exported functions; remove useless @implemented (#6650)

This commit is contained in:
Hermès Bélusca-Maïto 2024-03-19 21:29:05 +01:00
parent ff790a9111
commit 3b62a89d4d
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
10 changed files with 0 additions and 75 deletions

View file

@ -46,7 +46,6 @@ VidpBuildColor(
}
VOID
NTAPI
InitPaletteWithTable(
_In_ PULONG Table,
_In_ ULONG Count);
@ -68,19 +67,16 @@ SetPixel(
}
VOID
NTAPI
PreserveRow(
_In_ ULONG CurrentTop,
_In_ ULONG TopDelta,
_In_ BOOLEAN Restore);
VOID
NTAPI
DoScroll(
_In_ ULONG Scroll);
VOID
NTAPI
DisplayCharacter(
_In_ CHAR Character,
_In_ ULONG Left,

View file

@ -16,7 +16,6 @@ PHYSICAL_ADDRESS VgaPhysical;
/* PRIVATE FUNCTIONS *********************************************************/
VOID
NTAPI
DisplayCharacter(
_In_ CHAR Character,
_In_ ULONG Left,
@ -62,7 +61,6 @@ DisplayCharacter(
}
VOID
NTAPI
DoScroll(
_In_ ULONG Scroll)
{
@ -110,7 +108,6 @@ DoScroll(
}
VOID
NTAPI
PreserveRow(
_In_ ULONG CurrentTop,
_In_ ULONG TopDelta,
@ -147,7 +144,6 @@ PreserveRow(
}
VOID
NTAPI
VidpInitializeDisplay(VOID)
{
//
@ -173,7 +169,6 @@ VidpInitializeDisplay(VOID)
}
VOID
NTAPI
InitPaletteWithTable(
_In_ PULONG Table,
_In_ ULONG Count)
@ -183,9 +178,6 @@ InitPaletteWithTable(
/* PUBLIC FUNCTIONS **********************************************************/
/*
* @implemented
*/
BOOLEAN
NTAPI
VidInitialize(
@ -219,9 +211,6 @@ VidInitialize(
return TRUE;
}
/*
* @implemented
*/
VOID
NTAPI
VidResetDisplay(
@ -245,9 +234,6 @@ VidResetDisplay(
VidSolidColorFill(0, 0, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1, BV_COLOR_BLACK);
}
/*
* @implemented
*/
VOID
NTAPI
VidCleanUp(VOID)
@ -256,9 +242,6 @@ VidCleanUp(VOID)
while (TRUE);
}
/*
* @implemented
*/
VOID
NTAPI
VidScreenToBufferBlt(
@ -273,9 +256,6 @@ VidScreenToBufferBlt(
while (TRUE);
}
/*
* @implemented
*/
VOID
NTAPI
VidSolidColorFill(

View file

@ -54,7 +54,6 @@ static BOOLEAN ClearRow = FALSE;
/* PRIVATE FUNCTIONS **********************************************************/
static VOID
NTAPI
BitBlt(
_In_ ULONG Left,
_In_ ULONG Top,
@ -117,7 +116,6 @@ BitBlt(
}
static VOID
NTAPI
RleBitBlt(
_In_ ULONG Left,
_In_ ULONG Top,
@ -312,9 +310,6 @@ RleBitBlt(
/* PUBLIC FUNCTIONS ***********************************************************/
/*
* @implemented
*/
ULONG
NTAPI
VidSetTextColor(
@ -375,9 +370,6 @@ VidSetScrollRegion(
VidpCurrentY = Top;
}
/*
* @implemented
*/
VOID
NTAPI
VidDisplayString(

View file

@ -11,7 +11,6 @@
/* PRIVATE FUNCTIONS *********************************************************/
static BOOLEAN
NTAPI
VgaInterpretCmdStream(
_In_ PUSHORT CmdStream)
{
@ -177,7 +176,6 @@ VgaInterpretCmdStream(
}
static BOOLEAN
NTAPI
VgaIsPresent(VOID)
{
UCHAR OrgGCAddr, OrgReadMap, OrgBitMask;
@ -362,9 +360,6 @@ VgaIsPresent(VOID)
/* PUBLIC FUNCTIONS **********************************************************/
/*
* @implemented
*/
BOOLEAN
NTAPI
VidInitialize(
@ -469,9 +464,6 @@ VidInitialize(
return TRUE;
}
/*
* @implemented
*/
VOID
NTAPI
VidResetDisplay(

View file

@ -26,7 +26,6 @@ extern UCHAR PixelMask[8];
WRITE_PORT_USHORT((PUSHORT)(VgaRegisterBase + (Port)), (USHORT)(Value))
VOID
NTAPI
InitPaletteWithTable(
_In_ PULONG Table,
_In_ ULONG Count);
@ -57,19 +56,16 @@ SetPixel(
}
VOID
NTAPI
PreserveRow(
_In_ ULONG CurrentTop,
_In_ ULONG TopDelta,
_In_ BOOLEAN Restore);
VOID
NTAPI
DoScroll(
_In_ ULONG Scroll);
VOID
NTAPI
DisplayCharacter(
_In_ CHAR Character,
_In_ ULONG Left,

View file

@ -71,7 +71,6 @@ ULONG_PTR VgaBase = 0;
/* PRIVATE FUNCTIONS *********************************************************/
static VOID
NTAPI
ReadWriteMode(
_In_ UCHAR Mode)
{
@ -111,7 +110,6 @@ do { \
} while (0);
VOID
NTAPI
DisplayCharacter(
_In_ CHAR Character,
_In_ ULONG Left,
@ -202,7 +200,6 @@ DisplayCharacter(
}
static VOID
NTAPI
SetPaletteEntryRGB(
_In_ ULONG Id,
_In_ RGBQUAD Rgb)
@ -217,7 +214,6 @@ SetPaletteEntryRGB(
}
VOID
NTAPI
InitPaletteWithTable(
_In_ PULONG Table,
_In_ ULONG Count)
@ -232,7 +228,6 @@ InitPaletteWithTable(
}
VOID
NTAPI
DoScroll(
_In_ ULONG Scroll)
{
@ -272,7 +267,6 @@ DoScroll(
}
VOID
NTAPI
PreserveRow(
_In_ ULONG CurrentTop,
_In_ ULONG TopDelta,
@ -323,9 +317,6 @@ PreserveRow(
/* PUBLIC FUNCTIONS **********************************************************/
/*
* @implemented
*/
VOID
NTAPI
VidCleanUp(VOID)
@ -335,9 +326,6 @@ VidCleanUp(VOID)
__outpb(VGA_BASE_IO_PORT + GRAPH_DATA_PORT, BIT_MASK_DEFAULT);
}
/*
* @implemented
*/
VOID
NTAPI
VidScreenToBufferBlt(
@ -435,9 +423,6 @@ VidScreenToBufferBlt(
}
}
/*
* @implemented
*/
VOID
NTAPI
VidSolidColorFill(

View file

@ -248,7 +248,6 @@ SetPaletteEntryRGB(
}
VOID
NTAPI
InitPaletteWithTable(
_In_ PULONG Table,
_In_ ULONG Count)
@ -264,7 +263,6 @@ InitPaletteWithTable(
}
VOID
NTAPI
DisplayCharacter(
_In_ CHAR Character,
_In_ ULONG Left,
@ -292,7 +290,6 @@ DisplayCharacter(
}
VOID
NTAPI
PreserveRow(
_In_ ULONG CurrentTop,
_In_ ULONG TopDelta,
@ -325,7 +322,6 @@ PrepareForSetPixel(VOID)
}
VOID
NTAPI
DoScroll(
_In_ ULONG Scroll)
{

View file

@ -21,7 +21,6 @@ extern ULONG_PTR FrameBuffer;
/* PROTOTYPES *****************************************************************/
VOID
NTAPI
DisplayCharacter(
_In_ CHAR Character,
_In_ ULONG Left,
@ -30,18 +29,15 @@ DisplayCharacter(
_In_ ULONG BackColor);
VOID
NTAPI
DoScroll(
_In_ ULONG Scroll);
VOID
NTAPI
InitPaletteWithTable(
_In_ PULONG Table,
_In_ ULONG Count);
VOID
NTAPI
PreserveRow(
_In_ ULONG CurrentTop,
_In_ ULONG TopDelta,

View file

@ -239,7 +239,6 @@ VidResetDisplay(
}
VOID
NTAPI
InitPaletteWithTable(
_In_ PULONG Table,
_In_ ULONG Count)
@ -274,7 +273,6 @@ SetPixel(
}
VOID
NTAPI
PreserveRow(
_In_ ULONG CurrentTop,
_In_ ULONG TopDelta,
@ -320,7 +318,6 @@ PreserveRow(
}
VOID
NTAPI
DoScroll(
_In_ ULONG Scroll)
{
@ -349,7 +346,6 @@ DoScroll(
}
VOID
NTAPI
DisplayCharacter(
_In_ CHAR Character,
_In_ ULONG Left,

View file

@ -16,7 +16,6 @@
#define FB_OFFSET(x, y) (((PanV + (y)) * FrameBufferWidth + PanH + (x)) * BytesPerPixel)
VOID
NTAPI
InitPaletteWithTable(
_In_ PULONG Table,
_In_ ULONG Count);
@ -31,19 +30,16 @@ SetPixel(
_In_ UCHAR Color);
VOID
NTAPI
PreserveRow(
_In_ ULONG CurrentTop,
_In_ ULONG TopDelta,
_In_ BOOLEAN Restore);
VOID
NTAPI
DoScroll(
_In_ ULONG Scroll);
VOID
NTAPI
DisplayCharacter(
_In_ CHAR Character,
_In_ ULONG Left,