summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-01-29 04:44:39 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-01-29 04:44:39 +0000
commit5f477772d346b0c22956bc6cb910fe79a13b4b8e (patch)
tree75c86557495eecf8fc3f65b56e95565784034e7f /c
parentRemove. (diff)
downloadrtems-5f477772d346b0c22956bc6cb910fe79a13b4b8e.tar.bz2
2007-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/fb_vga.c: Eliminate __u16, __u32.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/i386/pc386/ChangeLog4
-rw-r--r--c/src/lib/libbsp/i386/pc386/console/fb_vga.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/ChangeLog b/c/src/lib/libbsp/i386/pc386/ChangeLog
index 7c96b788d3..0931032992 100644
--- a/c/src/lib/libbsp/i386/pc386/ChangeLog
+++ b/c/src/lib/libbsp/i386/pc386/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * console/fb_vga.c: Eliminate __u16, __u32.
+
2006-12-13 Alexey Shamrin <shamrin@gmail.com>
PR 1189/bsps
diff --git a/c/src/lib/libbsp/i386/pc386/console/fb_vga.c b/c/src/lib/libbsp/i386/pc386/console/fb_vga.c
index 3324a1ac5c..0580dd50f8 100644
--- a/c/src/lib/libbsp/i386/pc386/console/fb_vga.c
+++ b/c/src/lib/libbsp/i386/pc386/console/fb_vga.c
@@ -39,15 +39,15 @@ static struct fb_screeninfo fb_info =
FB_VISUAL_PSEUDOCOLOR /* color scheme used */
};
-static __u16 red16[] = {
+static uint16_t red16[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0xaaaa, 0xaaaa, 0xaaaa, 0xaaaa,
0x5555, 0x5555, 0x5555, 0x5555, 0xffff, 0xffff, 0xffff, 0xffff
};
-static __u16 green16[] = {
+static uint16_t green16[] = {
0x0000, 0x0000, 0xaaaa, 0xaaaa, 0x0000, 0x0000, 0x5555, 0xaaaa,
0x5555, 0x5555, 0xffff, 0xffff, 0x5555, 0x5555, 0xffff, 0xffff
};
-static __u16 blue16[] = {
+static uint16_t blue16[] = {
0x0000, 0xaaaa, 0x0000, 0xaaaa, 0x0000, 0xaaaa, 0x0000, 0xaaaa,
0x5555, 0xffff, 0x5555, 0xffff, 0x5555, 0xffff, 0x5555, 0xffff
};
@@ -138,7 +138,7 @@ static int get_screen_info( struct fb_screeninfo *info )
static int get_palette( struct fb_cmap *cmap )
{
- __u32 i;
+ uint32_t i;
if( cmap->start + cmap->len >= 16 )
return 1;
@@ -154,7 +154,7 @@ static int get_palette( struct fb_cmap *cmap )
static int set_palette( struct fb_cmap *cmap )
{
- __u32 i;
+ uint32_t i;
if( cmap->start + cmap->len >= 16 )
return 1;