Changeset 9f74843 in rtems


Ignore:
Timestamp:
Sep 18, 2008, 5:38:26 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
75c9e48d
Parents:
67ed2a8
Message:

2008-09-18 Joel Sherrill <joel.sherrill@…>

  • console/console.c, include/bsp.h: Remove unnecessary boilerplate comments. Eliminate use of EXTERN and move unnneccessarily global variables to console.c.
Location:
c/src/lib/libbsp/m68k/mvme136
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mvme136/ChangeLog

    r67ed2a8 r9f74843  
     12008-09-18      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * console/console.c, include/bsp.h: Remove unnecessary boilerplate
     4        comments. Eliminate use of EXTERN and move unnneccessarily global
     5        variables to console.c.
     6
    172008-09-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • c/src/lib/libbsp/m68k/mvme136/console/console.c

    r67ed2a8 r9f74843  
    1212 */
    1313
    14 #define M136_INIT
    15 
    1614#include <bsp.h>
    1715#include <rtems/libio.h>
     16
     17volatile struct r_m681_info *_Read_m681;  /* M68681 read registers */
     18volatile struct w_m681_info *_Write_m681; /* M68681 write registers */
     19
     20
    1821
    1922/*  console_initialize
  • c/src/lib/libbsp/m68k/mvme136/include/bsp.h

    r67ed2a8 r9f74843  
    8181};
    8282
    83 #ifdef M136_INIT
    84 #undef EXTERN
    85 #define EXTERN
    86 #else
    87 #undef EXTERN
    88 #define EXTERN extern
    89 #endif
    90 
    91 /* miscellaneous stuff assumed to exist */
    92 
    93 /* M68681 DUART chip register variables */
    94 
    95 EXTERN volatile struct r_m681_info *_Read_m681;  /* M68681 read registers */
    96 EXTERN volatile struct w_m681_info *_Write_m681; /* M68681 write registers */
    97 
    9883extern m68k_isr_entry M68Kvec[];   /* vector table address */
    99 
    100 /*
    101  *  Device Driver Table Entries
    102  */
    103 
    104 /*
    105  * NOTE: Use the standard Console driver entry
    106  */
    107 
    108 /*
    109  * NOTE: Use the standard Clock driver entry
    110  */
    11184
    11285/* functions */
Note: See TracChangeset for help on using the changeset viewer.