Changeset b0c3aaf2 in rtems


Ignore:
Timestamp:
Aug 30, 2000, 5:06:23 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
73eea69c
Parents:
08f06ad1
Message:

2000-08-30 Joel Sherrill <joel@…>

  • console/keyboard.h: Changed numerous routines from extern inline to static inline.
Location:
c/src/lib/libbsp/i386/pc386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    r08f06ad1 rb0c3aaf2  
     12000-08-30      Joel Sherrill <joel@OARcorp.com>
     2
     3        * console/keyboard.h: Changed numerous routines from extern inline
     4        to static inline.
     5
    162000-08-26  Rosimildo da Silva  <rdasilva@connecttel.com>
    27
  • c/src/lib/libbsp/i386/pc386/console/keyboard.h

    r08f06ad1 rb0c3aaf2  
    1111// MODIFICATION/HISTORY:
    1212// $Log$
     13// Revision 1.1  2000/08/30 08:15:30  joel
     14// 2000-08-26  Rosimildo da Silva  <rdasilva@connecttel.com>
     15//
     16//      * Major rework of the "/dev/console" driver.
     17//      * Added termios support for stdin ( keyboard ).
     18//      * Added ioctls() to support modes similar to Linux( XLATE,
     19//      RAW, MEDIUMRAW ).
     20//      * Added Keyboard mapping and handling of the keyboard's leds.
     21//      * Added Micro FrameBuffer driver ( "/dev/fb0" ) for bare VGA
     22//      controller ( 16 colors ).
     23//      * Added PS/2 and Serial mouse support for PC386 BSP.
     24//      * console/defkeymap.c: New file.
     25//      * console/fb_vga.c: New file.
     26//      * console/fb_vga.h: New file.
     27//      * console/i386kbd.h: New file.
     28//      * console/kd.h: New file.
     29//      * console/keyboard.c: New file.
     30//      * console/keyboard.h: New file.
     31//      * console/mouse_parser.c: New file.
     32//      * console/mouse_parser.h: New file.
     33//      * console/pc_keyb.c: New file.
     34//      * console/ps2_drv.h: New file.
     35//      * console/ps2_mouse.c: New file.
     36//      * console/ps2_mouse.h: New file.
     37//      * console/serial_mouse.c: New file.
     38//      * console/serial_mouse.h: New file.
     39//      * console/vgainit.c: New file.
     40//      * console/vt.c: New file.
     41//      * console/Makefile.am: Reflect new files.
     42//      * console/console.c, console/inch.c, console/outch.c: Console
     43//      functionality modifications.
     44//      * startup/Makefile.am: Pick up tty_drv.c and gdb_glue.c
     45//
    1346//
    1447/////////////////////////////////////////////////////////////////////////////
     
    512545extern void setledstate(struct kbd_struct *kbd, unsigned int led);
    513546
    514 extern inline void show_console(void)
    515 {
    516 }
    517 
    518 extern inline void set_console(int nr)
     547static inline void show_console(void)
     548{
     549}
     550
     551static inline void set_console(int nr)
    519552{
    520553}
     
    522555extern void set_leds(void);
    523556
    524 extern inline int vc_kbd_mode(struct kbd_struct * kbd, int flag)
     557static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag)
    525558{
    526559        return ((kbd->modeflags >> flag) & 1);
    527560}
    528561
    529 extern inline int vc_kbd_led(struct kbd_struct * kbd, int flag)
     562static inline int vc_kbd_led(struct kbd_struct * kbd, int flag)
    530563{
    531564        return ((kbd->ledflagstate >> flag) & 1);
    532565}
    533566
    534 extern inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag)
     567static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag)
    535568{
    536569        kbd->modeflags |= 1 << flag;
    537570}
    538571
    539 extern inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag)
     572static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag)
    540573{
    541574        kbd->ledflagstate |= 1 << flag;
    542575}
    543576
    544 extern inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag)
     577static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag)
    545578{
    546579        kbd->modeflags &= ~(1 << flag);
    547580}
    548581
    549 extern inline void clr_vc_kbd_led(struct kbd_struct * kbd, int flag)
     582static inline void clr_vc_kbd_led(struct kbd_struct * kbd, int flag)
    550583{
    551584        kbd->ledflagstate &= ~(1 << flag);
    552585}
    553586
    554 extern inline void chg_vc_kbd_lock(struct kbd_struct * kbd, int flag)
     587static inline void chg_vc_kbd_lock(struct kbd_struct * kbd, int flag)
    555588{
    556589        kbd->lockstate ^= 1 << flag;
    557590}
    558591
    559 extern inline void chg_vc_kbd_slock(struct kbd_struct * kbd, int flag)
     592static inline void chg_vc_kbd_slock(struct kbd_struct * kbd, int flag)
    560593{
    561594        kbd->slockstate ^= 1 << flag;
    562595}
    563596
    564 extern inline void chg_vc_kbd_mode(struct kbd_struct * kbd, int flag)
     597static inline void chg_vc_kbd_mode(struct kbd_struct * kbd, int flag)
    565598{
    566599        kbd->modeflags ^= 1 << flag;
    567600}
    568601
    569 extern inline void chg_vc_kbd_led(struct kbd_struct * kbd, int flag)
     602static inline void chg_vc_kbd_led(struct kbd_struct * kbd, int flag)
    570603{
    571604        kbd->ledflagstate ^= 1 << flag;
Note: See TracChangeset for help on using the changeset viewer.