[BOOTVID] Don't NTAPI non-exported functions; remove useless `@implemented` (#6650) 6650/head
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 19 Mar 2024 20:29:05 +0000 (21:29 +0100)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 23 Mar 2024 14:16:00 +0000 (15:16 +0100)
drivers/base/bootvid/arm/arm.h
drivers/base/bootvid/arm/bootvid.c
drivers/base/bootvid/common.c
drivers/base/bootvid/i386/pc/bootvid.c
drivers/base/bootvid/i386/pc/pc.h
drivers/base/bootvid/i386/pc/vga.c
drivers/base/bootvid/i386/pc98/bootvid.c
drivers/base/bootvid/i386/pc98/pc98.h
drivers/base/bootvid/i386/xbox/bootvid.c
drivers/base/bootvid/i386/xbox/xbox.h

index 84e49a7..1d6fc91 100644 (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,
index d3d74f6..08bc292 100644 (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(
index e2119f8..9a58081 100644 (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(
index e847d6d..f1ab060 100644 (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(
index e78370f..8145527 100644 (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,
index 7daeaa1..d4b54f6 100644 (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(
index bc52e3d..37c85cf 100644 (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)
 {
index 38b523d..520b94b 100644 (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,
index 0d9f05c..d98c495 100644 (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,
index c48119d..49e52c5 100644 (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,