[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 VOID
NTAPI
InitPaletteWithTable( InitPaletteWithTable(
_In_ PULONG Table, _In_ PULONG Table,
_In_ ULONG Count); _In_ ULONG Count);
@ -68,19 +67,16 @@ SetPixel(
} }
VOID VOID
NTAPI
PreserveRow( PreserveRow(
_In_ ULONG CurrentTop, _In_ ULONG CurrentTop,
_In_ ULONG TopDelta, _In_ ULONG TopDelta,
_In_ BOOLEAN Restore); _In_ BOOLEAN Restore);
VOID VOID
NTAPI
DoScroll( DoScroll(
_In_ ULONG Scroll); _In_ ULONG Scroll);
VOID VOID
NTAPI
DisplayCharacter( DisplayCharacter(
_In_ CHAR Character, _In_ CHAR Character,
_In_ ULONG Left, _In_ ULONG Left,

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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