Changeset 957d886 in rtems


Ignore:
Timestamp:
Sep 11, 2006, 9:42:23 PM (14 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
126694fa
Parents:
5e14d89
Message:

2006-09-11 Joel Sherrill <joel@…>

  • libmisc/mw-fb/mw_fb.c, libmisc/mw-fb/mw_fb.h, libmisc/mw-fb/mw_uid.c, libmisc/mw-fb/mw_uid.h: Remove warning.
Location:
cpukit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r5e14d89 r957d886  
     12006-09-11      Joel Sherrill <joel@OARcorp.com>
     2
     3        * libmisc/mw-fb/mw_fb.c, libmisc/mw-fb/mw_fb.h, libmisc/mw-fb/mw_uid.c,
     4        libmisc/mw-fb/mw_uid.h: Remove warning.
     5
    162006-09-11      Jerry Needell <jerry.needell@unh.edu>
    27
  • cpukit/libmisc/mw-fb/mw_fb.c

    r5e14d89 r957d886  
    11/*
    2 /////////////////////////////////////////////////////////////////////////////
    3 // $Header$
    4 //
    5 // Copyright (c) 2000 - Rosimildo da Silva
    6 //
    7 // MODULE DESCRIPTION:
    8 // Wrapper API around the ioctls calls for the Micro FrameBuffer
    9 // interface for Embedded Systems
    10 //
    11 // All functions returns 0 on success. Any other value should be
    12 // decoded as an error. A list of errors will be created over time.
    13 //
    14 // MODIFICATION/HISTORY:
    15 //
    16 // $Log$
    17 // Revision 1.3  2004/04/15 13:24:46  ralf
    18 // Remove stray white spaces.
    19 //
    20 // Revision 1.2  2003/07/08 08:38:48  ralf
    21 // 2003-07-08   Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    22 //
    23 //      * capture/capture-cli.c: Add config-header support.
    24 //      * capture/capture.c: Add config-header support.
    25 //      * cpuuse/cpuuse.c: Add config-header support.
    26 //      * devnull/devnull.c: Add config-header support.
    27 //      * dummy/dummy.c: Add config-header support.
    28 //      * dumpbuf/dumpbuf.c: Add config-header support.
    29 //      * monitor/mon-command.c: Add config-header support.
    30 //      * monitor/mon-config.c: Add config-header support.
    31 //      * monitor/mon-dname.c: Add config-header support.
    32 //      * monitor/mon-driver.c: Add config-header support.
    33 //      * monitor/mon-extension.c: Add config-header support.
    34 //      * monitor/mon-itask.c: Add config-header support.
    35 //      * monitor/mon-manager.c: Add config-header support.
    36 //      * monitor/mon-monitor.c: Add config-header support.
    37 //      * monitor/mon-mpci.c: Add config-header support.
    38 //      * monitor/mon-object.c: Add config-header support.
    39 //      * monitor/mon-prmisc.c: Add config-header support.
    40 //      * monitor/mon-queue.c: Add config-header support.
    41 //      * monitor/mon-server.c: Add config-header support.
    42 //      * monitor/mon-symbols.c: Add config-header support.
    43 //      * monitor/mon-task.c: Add config-header support.
    44 //      * mw-fb/mw_fb.c: Add config-header support.
    45 //      * mw-fb/mw_uid.c: Add config-header support.
    46 //      * rtmonuse/rtmonuse.c: Add config-header support.
    47 //      * serdbg/serdbg.c: Add config-header support.
    48 //      * serdbg/serdbgio.c: Add config-header support.
    49 //      * serdbg/termios_printk.c: Add config-header support.
    50 //      * shell/cmds.c: Add config-header support.
    51 //      * stackchk/check.c: Add config-header support.
    52 //      * untar/untar.c: Add config-header support.
    53 //
    54 // Revision 1.1  2000/08/30 08:21:24  joel
    55 // 2000-08-26  Rosimildo da Silva  <rdasilva@connecttel.com>
    56 //
    57 //      * Added generic Micro FrameBuffer interface for MicroWindows.
    58 //      This interface allows MicroWindows to under RTEMS. A sample
    59 //      driver has been developed for the pc386 BSP. See
    60 //      pc386/fb_vga.c as a sample.
    61 //      * Added Uniform Input Device interface for MicroWindows.
    62 //      See PC386 bsp for sample drivers for mouse and keyboard (console).
    63 //      * mw-bf: New directory.
    64 //      * Makefile.am, configure.in, wrapup/Makefile.am: Account for mw-fb.
    65 //      * mw-fb/Makefile.am: New file.
    66 //      * mw-fb/mw_fb.c: New file.
    67 //      * mw-fb/mw_fb.h: New file.
    68 //      * mw-fb/mw_uid.c: New file.
    69 //      * mw-fb/mw_uid.h: New file.
    70 //
    71 //
    72 /////////////////////////////////////////////////////////////////////////////
    73 */
     2 *
     3 * Copyright (c) 2000 - Rosimildo da Silva
     4 *
     5 * MODULE DESCRIPTION:
     6 * Wrapper API around the ioctls calls for the Micro FrameBuffer
     7 * interface for Embedded Systems
     8 *
     9 * All functions returns 0 on success. Any other value should be
     10 * decoded as an error. A list of errors will be created over time.
     11 *
     12 * $Id$
     13 */
    7414
    7515#ifdef HAVE_CONFIG_H
     
    9232 }
    9333
    94 
    95 
    9634/*
    9735 * Returns the mode of the graphics subsystem
     
    10543 }
    10644
    107 
    10845/*
    10946 * Returns the current collor pallete
     
    11350     return ioctl( fd, FB_GETPALETTE, ( void *)color );
    11451 }
    115 
    11652
    11753/*
     
    13470    return ioctl( fd, FB_EXEC_FUNCTION , ( void *)&exec );
    13571 }
    136 
    13772
    13873/*
     
    16297
    16398
    164 
    16599/*
    166  * This function maps the physical ( kernel mode ) address of the framebuffer device
    167  * and maps it to the user space address.
     100 * This function maps the physical ( kernel mode ) address of the framebuffer
     101 * device and maps it to the user space address.
    168102 */
    169  int ufb_mmap_to_user_space( int fd, void **fb_addr, void *physical_addr, unsigned long size )
     103 int ufb_mmap_to_user_space(
     104    int fd,
     105    void **fb_addr,
     106    void *physical_addr,
     107    unsigned long size
     108 )
    170109 {
    171110 #ifdef __rtems__
  • cpukit/libmisc/mw-fb/mw_fb.h

    r5e14d89 r957d886  
    11/*
    2 /////////////////////////////////////////////////////////////////////////////
    3 // $Header$
    4 //
    5 // Copyright (c) 2000 - Rosimildo da Silva
    6 //
    7 // MODULE DESCRIPTION:
    8 // Micro FrameBuffer interface for Embedded Systems.
    9 //
    10 // MODIFICATION/HISTORY:
    11 //
    12 // $Log$
    13 // Revision 1.1  2000/08/30 08:21:24  joel
    14 // 2000-08-26  Rosimildo da Silva  <rdasilva@connecttel.com>
    15 //
    16 //      * Added generic Micro FrameBuffer interface for MicroWindows.
    17 //      This interface allows MicroWindows to under RTEMS. A sample
    18 //      driver has been developed for the pc386 BSP. See
    19 //      pc386/fb_vga.c as a sample.
    20 //      * Added Uniform Input Device interface for MicroWindows.
    21 //      See PC386 bsp for sample drivers for mouse and keyboard (console).
    22 //      * mw-bf: New directory.
    23 //      * Makefile.am, configure.in, wrapup/Makefile.am: Account for mw-fb.
    24 //      * mw-fb/Makefile.am: New file.
    25 //      * mw-fb/mw_fb.c: New file.
    26 //      * mw-fb/mw_fb.h: New file.
    27 //      * mw-fb/mw_uid.c: New file.
    28 //      * mw-fb/mw_uid.h: New file.
    29 //
    30 //
    31 /////////////////////////////////////////////////////////////////////////////
    32 */
     2 * Copyright (c) 2000 - Rosimildo da Silva
     3 *
     4 * MODULE DESCRIPTION:
     5 * Micro FrameBuffer interface for Embedded Systems.
     6 *
     7 * $Id$
     8 */
     9
    3310#ifndef _MW_FB_H
    3411#define _MW_FB_H
  • cpukit/libmisc/mw-fb/mw_uid.c

    r5e14d89 r957d886  
    11/*
    2 /////////////////////////////////////////////////////////////////////////////
    3 // $Header$
    4 //
    5 // Copyright (c) 2000 - Rosimildo da Silva
    6 //
    7 // MODULE DESCRIPTION:
    8 // This module implements the input devices interface used by MicroWindows
    9 // in an embedded system environment.
    10 // It uses the RTEMS message queue as the repository for the messages posted
    11 // by the devices registered.
    12 //
    13 // MODIFICATION/HISTORY:
    14 //
    15 // $Log$
    16 // Revision 1.6  2004/03/26 06:59:18  ralf
    17 // 2004-03-26   Ralf Corsepius <ralf_corsepius@rtems.org>
    18 //
    19 //      * libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
    20 //      libmisc/capture/capture.h, libmisc/cpuuse/cpuuse.c,
    21 //      libmisc/devnull/devnull.c, libmisc/fsmount/fsmount.h,
    22 //      libmisc/monitor/mon-config.c, libmisc/monitor/mon-dname.c,
    23 //      libmisc/monitor/mon-driver.c, libmisc/monitor/mon-extension.c,
    24 //      libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
    25 //      libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
    26 //      libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-queue.c,
    27 //      libmisc/monitor/mon-server.c, libmisc/monitor/mon-symbols.c,
    28 //      libmisc/monitor/monitor.h, libmisc/monitor/symbols.h,
    29 //      libmisc/mw-fb/mw_uid.c, libmisc/rtmonuse/rtmonuse.c,
    30 //      libmisc/serdbg/serdbg.h, libmisc/serdbg/serdbgio.c,
    31 //      libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h,
    32 //      libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/stackchk/check.c,
    33 //      libmisc/stackchk/internal.h: Convert to using c99 fixed size types.
    34 //
    35 // Revision 1.5  2003/07/08 08:38:48  ralf
    36 // 2003-07-08   Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    37 //
    38 //      * capture/capture-cli.c: Add config-header support.
    39 //      * capture/capture.c: Add config-header support.
    40 //      * cpuuse/cpuuse.c: Add config-header support.
    41 //      * devnull/devnull.c: Add config-header support.
    42 //      * dummy/dummy.c: Add config-header support.
    43 //      * dumpbuf/dumpbuf.c: Add config-header support.
    44 //      * monitor/mon-command.c: Add config-header support.
    45 //      * monitor/mon-config.c: Add config-header support.
    46 //      * monitor/mon-dname.c: Add config-header support.
    47 //      * monitor/mon-driver.c: Add config-header support.
    48 //      * monitor/mon-extension.c: Add config-header support.
    49 //      * monitor/mon-itask.c: Add config-header support.
    50 //      * monitor/mon-manager.c: Add config-header support.
    51 //      * monitor/mon-monitor.c: Add config-header support.
    52 //      * monitor/mon-mpci.c: Add config-header support.
    53 //      * monitor/mon-object.c: Add config-header support.
    54 //      * monitor/mon-prmisc.c: Add config-header support.
    55 //      * monitor/mon-queue.c: Add config-header support.
    56 //      * monitor/mon-server.c: Add config-header support.
    57 //      * monitor/mon-symbols.c: Add config-header support.
    58 //      * monitor/mon-task.c: Add config-header support.
    59 //      * mw-fb/mw_fb.c: Add config-header support.
    60 //      * mw-fb/mw_uid.c: Add config-header support.
    61 //      * rtmonuse/rtmonuse.c: Add config-header support.
    62 //      * serdbg/serdbg.c: Add config-header support.
    63 //      * serdbg/serdbgio.c: Add config-header support.
    64 //      * serdbg/termios_printk.c: Add config-header support.
    65 //      * shell/cmds.c: Add config-header support.
    66 //      * stackchk/check.c: Add config-header support.
    67 //      * untar/untar.c: Add config-header support.
    68 //
    69 // Revision 1.4  2002/01/04 18:32:48  joel
    70 // 2002-01-04   Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    71 //
    72 //      * mw-fb/mw_uid.c: Apply rtems_set_errno_and_return_minus_one.
    73 //
    74 // Revision 1.3  2000/11/30 14:36:46  joel
    75 // 2000-11-30   Joel Sherrill <joel@OARcorp.com>
    76 //
    77 //      * mw-fb/mw_uid.c: Removed unnecessary dependency on <bsp.h>.
    78 //
    79 // Revision 1.2  2000/08/30 17:12:55  joel
    80 // 2000-08-30   Joel Sherrill <joel@OARcorp.com>
    81 //
    82 //      * Many files: Moved posix/include/rtems/posix/seterr.h to
    83 //      score/include/rtems/seterr.h so it would be available within
    84 //      all APIs.
    85 //
    86 // Revision 1.1  2000/08/30 08:21:24  joel
    87 // 2000-08-26  Rosimildo da Silva  <rdasilva@connecttel.com>
    88 //
    89 //      * Added generic Micro FrameBuffer interface for MicroWindows.
    90 //      This interface allows MicroWindows to under RTEMS. A sample
    91 //      driver has been developed for the pc386 BSP. See
    92 //      pc386/fb_vga.c as a sample.
    93 //      * Added Uniform Input Device interface for MicroWindows.
    94 //      See PC386 bsp for sample drivers for mouse and keyboard (console).
    95 //      * mw-bf: New directory.
    96 //      * Makefile.am, configure.in, wrapup/Makefile.am: Account for mw-fb.
    97 //      * mw-fb/Makefile.am: New file.
    98 //      * mw-fb/mw_fb.c: New file.
    99 //      * mw-fb/mw_fb.h: New file.
    100 //      * mw-fb/mw_uid.c: New file.
    101 //      * mw-fb/mw_uid.h: New file.
    102 //
    103 //
    104 /////////////////////////////////////////////////////////////////////////////
    105 */
     2 *
     3 * Copyright (c) 2000 - Rosimildo da Silva
     4 *
     5 * MODULE DESCRIPTION:
     6 * This module implements the input devices interface used by MicroWindows
     7 * in an embedded system environment.
     8 * It uses the RTEMS message queue as the repository for the messages posted
     9 * by the devices registered.
     10 *
     11 *  $Id$
     12 */
    10613
    10714#ifdef HAVE_CONFIG_H
  • cpukit/libmisc/mw-fb/mw_uid.h

    r5e14d89 r957d886  
    11/*
    2 /////////////////////////////////////////////////////////////////////////////
    3 // $Header$
    4 //
    5 // Copyright (c) 2000 - Rosimildo da Silva
    6 //
    7 // MODULE DESCRIPTION:
    8 // This module defines the interface for input devices used by MicroWindows
    9 // in an embedded system environment.
    10 //
    11 // MODIFICATION/HISTORY:
    12 //
    13 // $Log$
    14 // Revision 1.1  2000/08/30 08:21:24  joel
    15 // 2000-08-26  Rosimildo da Silva  <rdasilva@connecttel.com>
    16 //
    17 //      * Added generic Micro FrameBuffer interface for MicroWindows.
    18 //      This interface allows MicroWindows to under RTEMS. A sample
    19 //      driver has been developed for the pc386 BSP. See
    20 //      pc386/fb_vga.c as a sample.
    21 //      * Added Uniform Input Device interface for MicroWindows.
    22 //      See PC386 bsp for sample drivers for mouse and keyboard (console).
    23 //      * mw-bf: New directory.
    24 //      * Makefile.am, configure.in, wrapup/Makefile.am: Account for mw-fb.
    25 //      * mw-fb/Makefile.am: New file.
    26 //      * mw-fb/mw_fb.c: New file.
    27 //      * mw-fb/mw_fb.h: New file.
    28 //      * mw-fb/mw_uid.c: New file.
    29 //      * mw-fb/mw_uid.h: New file.
    30 //
    31 //
    32 /////////////////////////////////////////////////////////////////////////////
    33 */
     2 * Copyright (c) 2000 - Rosimildo da Silva
     3 *
     4 * MODULE DESCRIPTION:
     5 * This module defines the interface for input devices used by MicroWindows
     6 * in an embedded system environment.
     7 *
     8 * $Id$
     9 */
     10
    3411#ifndef _MW_UID_H
    3512#define _MW_UID_H
Note: See TracChangeset for help on using the changeset viewer.