Changeset 677a503 in rtems


Ignore:
Timestamp:
Jul 9, 1998, 6:37:47 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
27045a82
Parents:
80b1c2f
Message:

Changed static to Z85C30_STATIC so all data and routines could be global
for debugging purposes.

Location:
c/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libchip/serial/z85c30.c

    r80b1c2f r677a503  
    9595 */
    9696
    97 static void z85c30_initialize_port(
     97Z85C30_STATIC void z85c30_initialize_port(
    9898  int minor
    9999)
     
    209209}
    210210
    211 static int z85c30_open(
     211Z85C30_STATIC int z85c30_open(
    212212  int   major,
    213213  int   minor,
     
    226226}
    227227
    228 static int z85c30_close(
     228Z85C30_STATIC int z85c30_close(
    229229  int   major,
    230230  int   minor,
     
    249249 */
    250250
    251 static void z85c30_write_polled(
     251Z85C30_STATIC void z85c30_write_polled(
    252252  int   minor,
    253253  char  cChar
     
    290290 */
    291291
    292 static boolean z85c30_probe(int minor)
     292Z85C30_STATIC boolean z85c30_probe(int minor)
    293293{
    294294  /*
     
    300300}
    301301
    302 static void z85c30_init(int minor)
     302Z85C30_STATIC void z85c30_init(int minor)
    303303{
    304304  unsigned32       ulCtrlPort;
     
    352352 */
    353353
    354 static int z85c30_assert_RTS(int minor)
     354Z85C30_STATIC int z85c30_assert_RTS(int minor)
    355355{
    356356  rtems_interrupt_level  Irql;
     
    381381 */
    382382
    383 static int z85c30_negate_RTS(int minor)
     383Z85C30_STATIC int z85c30_negate_RTS(int minor)
    384384{
    385385  rtems_interrupt_level  Irql;
     
    415415 */
    416416
    417 static int z85c30_assert_DTR(int minor)
     417Z85C30_STATIC int z85c30_assert_DTR(int minor)
    418418{
    419419  rtems_interrupt_level  Irql;
     
    444444 */
    445445
    446 static int z85c30_negate_DTR(int minor)
     446Z85C30_STATIC int z85c30_negate_DTR(int minor)
    447447{
    448448  rtems_interrupt_level  Irql;
     
    482482 */
    483483
    484 static void z85c30_process(
     484Z85C30_STATIC void z85c30_process(
    485485  int        minor,
    486486  unsigned8  ucIntPend
     
    589589}
    590590
    591 static rtems_isr z85c30_isr(
     591Z85C30_STATIC rtems_isr z85c30_isr(
    592592  rtems_vector_number vector
    593593)
     
    629629 */
    630630
    631 static int z85c30_flush(
     631Z85C30_STATIC int z85c30_flush(
    632632  int major,
    633633  int minor,
     
    662662 */
    663663
    664 static void z85c30_enable_interrupts(
     664Z85C30_STATIC void z85c30_enable_interrupts(
    665665  int minor
    666666)
     
    689689}
    690690
    691 static void z85c30_initialize_interrupts(
     691Z85C30_STATIC void z85c30_initialize_interrupts(
    692692  int minor
    693693)
     
    720720 */
    721721
    722 static int z85c30_write_support_int(
     722Z85C30_STATIC int z85c30_write_support_int(
    723723  int   minor,
    724724  const char *buf,
     
    783783 */
    784784
    785 static int z85c30_inbyte_nonblocking_polled(
     785Z85C30_STATIC int z85c30_inbyte_nonblocking_polled(
    786786  int  minor
    787787)
     
    817817 */
    818818
    819 static int z85c30_write_support_polled(
     819Z85C30_STATIC int z85c30_write_support_polled(
    820820  int   minor,
    821821  const char *buf,
  • c/src/lib/libchip/serial/z85c30_p.h

    r80b1c2f r677a503  
    3333extern "C" {
    3434#endif
     35
     36/*
     37 *  Define Z85C30_STATIC to nothing while debugging so the entry points
     38 *  will show up in the symbol table.
     39 */
     40
     41#define Z85C30_STATIC
     42
     43/* #define Z85C30_STATIC static */
    3544
    3645/* bit values for write register 0 */
     
    323332 * Private routines
    324333 */
    325 static boolean z85c30_probe(int minor);
    326 
    327 static void z85c30_init(int minor);
    328 
    329 static int z85c30_open(
     334Z85C30_STATIC boolean z85c30_probe(int minor);
     335
     336Z85C30_STATIC void z85c30_init(int minor);
     337
     338Z85C30_STATIC int z85c30_open(
    330339  int major,
    331340  int minor,
     
    333342);
    334343
    335 static int z85c30_close(
     344Z85C30_STATIC int z85c30_close(
    336345  int major,
    337346  int minor,
     
    339348);
    340349
    341 static void z85c30_write_polled(
     350Z85C30_STATIC void z85c30_write_polled(
    342351  int   minor,
    343352  char  cChar
    344353);
    345354
    346 static int z85c30_assert_RTS(
    347   int minor
    348 );
    349 
    350 static int z85c30_negate_RTS(
    351   int minor
    352 );
    353 
    354 static int z85c30_assert_DTR(
    355   int minor
    356 );
    357 
    358 static int z85c30_negate_DTR(
    359   int minor
    360 );
    361 
    362 static void z85c30_initialize_interrupts(int minor);
    363 
    364 static int z85c30_flush(int major, int minor, void *arg);
    365 
    366 static int z85c30_write_support_int(
     355Z85C30_STATIC int z85c30_assert_RTS(
     356  int minor
     357);
     358
     359Z85C30_STATIC int z85c30_negate_RTS(
     360  int minor
     361);
     362
     363Z85C30_STATIC int z85c30_assert_DTR(
     364  int minor
     365);
     366
     367Z85C30_STATIC int z85c30_negate_DTR(
     368  int minor
     369);
     370
     371Z85C30_STATIC void z85c30_initialize_interrupts(int minor);
     372
     373Z85C30_STATIC int z85c30_flush(int major, int minor, void *arg);
     374
     375Z85C30_STATIC int z85c30_write_support_int(
    367376  int   minor,
    368377  const char *buf,
     
    370379);
    371380
    372 static int z85c30_write_support_polled(
     381Z85C30_STATIC int z85c30_write_support_polled(
    373382  int   minor,
    374383  const char *buf,
     
    376385);
    377386
    378 static int z85c30_inbyte_nonblocking_polled(
     387Z85C30_STATIC int z85c30_inbyte_nonblocking_polled(
    379388  int minor
    380389);
  • c/src/libchip/serial/z85c30.c

    r80b1c2f r677a503  
    9595 */
    9696
    97 static void z85c30_initialize_port(
     97Z85C30_STATIC void z85c30_initialize_port(
    9898  int minor
    9999)
     
    209209}
    210210
    211 static int z85c30_open(
     211Z85C30_STATIC int z85c30_open(
    212212  int   major,
    213213  int   minor,
     
    226226}
    227227
    228 static int z85c30_close(
     228Z85C30_STATIC int z85c30_close(
    229229  int   major,
    230230  int   minor,
     
    249249 */
    250250
    251 static void z85c30_write_polled(
     251Z85C30_STATIC void z85c30_write_polled(
    252252  int   minor,
    253253  char  cChar
     
    290290 */
    291291
    292 static boolean z85c30_probe(int minor)
     292Z85C30_STATIC boolean z85c30_probe(int minor)
    293293{
    294294  /*
     
    300300}
    301301
    302 static void z85c30_init(int minor)
     302Z85C30_STATIC void z85c30_init(int minor)
    303303{
    304304  unsigned32       ulCtrlPort;
     
    352352 */
    353353
    354 static int z85c30_assert_RTS(int minor)
     354Z85C30_STATIC int z85c30_assert_RTS(int minor)
    355355{
    356356  rtems_interrupt_level  Irql;
     
    381381 */
    382382
    383 static int z85c30_negate_RTS(int minor)
     383Z85C30_STATIC int z85c30_negate_RTS(int minor)
    384384{
    385385  rtems_interrupt_level  Irql;
     
    415415 */
    416416
    417 static int z85c30_assert_DTR(int minor)
     417Z85C30_STATIC int z85c30_assert_DTR(int minor)
    418418{
    419419  rtems_interrupt_level  Irql;
     
    444444 */
    445445
    446 static int z85c30_negate_DTR(int minor)
     446Z85C30_STATIC int z85c30_negate_DTR(int minor)
    447447{
    448448  rtems_interrupt_level  Irql;
     
    482482 */
    483483
    484 static void z85c30_process(
     484Z85C30_STATIC void z85c30_process(
    485485  int        minor,
    486486  unsigned8  ucIntPend
     
    589589}
    590590
    591 static rtems_isr z85c30_isr(
     591Z85C30_STATIC rtems_isr z85c30_isr(
    592592  rtems_vector_number vector
    593593)
     
    629629 */
    630630
    631 static int z85c30_flush(
     631Z85C30_STATIC int z85c30_flush(
    632632  int major,
    633633  int minor,
     
    662662 */
    663663
    664 static void z85c30_enable_interrupts(
     664Z85C30_STATIC void z85c30_enable_interrupts(
    665665  int minor
    666666)
     
    689689}
    690690
    691 static void z85c30_initialize_interrupts(
     691Z85C30_STATIC void z85c30_initialize_interrupts(
    692692  int minor
    693693)
     
    720720 */
    721721
    722 static int z85c30_write_support_int(
     722Z85C30_STATIC int z85c30_write_support_int(
    723723  int   minor,
    724724  const char *buf,
     
    783783 */
    784784
    785 static int z85c30_inbyte_nonblocking_polled(
     785Z85C30_STATIC int z85c30_inbyte_nonblocking_polled(
    786786  int  minor
    787787)
     
    817817 */
    818818
    819 static int z85c30_write_support_polled(
     819Z85C30_STATIC int z85c30_write_support_polled(
    820820  int   minor,
    821821  const char *buf,
  • c/src/libchip/serial/z85c30_p.h

    r80b1c2f r677a503  
    3333extern "C" {
    3434#endif
     35
     36/*
     37 *  Define Z85C30_STATIC to nothing while debugging so the entry points
     38 *  will show up in the symbol table.
     39 */
     40
     41#define Z85C30_STATIC
     42
     43/* #define Z85C30_STATIC static */
    3544
    3645/* bit values for write register 0 */
     
    323332 * Private routines
    324333 */
    325 static boolean z85c30_probe(int minor);
    326 
    327 static void z85c30_init(int minor);
    328 
    329 static int z85c30_open(
     334Z85C30_STATIC boolean z85c30_probe(int minor);
     335
     336Z85C30_STATIC void z85c30_init(int minor);
     337
     338Z85C30_STATIC int z85c30_open(
    330339  int major,
    331340  int minor,
     
    333342);
    334343
    335 static int z85c30_close(
     344Z85C30_STATIC int z85c30_close(
    336345  int major,
    337346  int minor,
     
    339348);
    340349
    341 static void z85c30_write_polled(
     350Z85C30_STATIC void z85c30_write_polled(
    342351  int   minor,
    343352  char  cChar
    344353);
    345354
    346 static int z85c30_assert_RTS(
    347   int minor
    348 );
    349 
    350 static int z85c30_negate_RTS(
    351   int minor
    352 );
    353 
    354 static int z85c30_assert_DTR(
    355   int minor
    356 );
    357 
    358 static int z85c30_negate_DTR(
    359   int minor
    360 );
    361 
    362 static void z85c30_initialize_interrupts(int minor);
    363 
    364 static int z85c30_flush(int major, int minor, void *arg);
    365 
    366 static int z85c30_write_support_int(
     355Z85C30_STATIC int z85c30_assert_RTS(
     356  int minor
     357);
     358
     359Z85C30_STATIC int z85c30_negate_RTS(
     360  int minor
     361);
     362
     363Z85C30_STATIC int z85c30_assert_DTR(
     364  int minor
     365);
     366
     367Z85C30_STATIC int z85c30_negate_DTR(
     368  int minor
     369);
     370
     371Z85C30_STATIC void z85c30_initialize_interrupts(int minor);
     372
     373Z85C30_STATIC int z85c30_flush(int major, int minor, void *arg);
     374
     375Z85C30_STATIC int z85c30_write_support_int(
    367376  int   minor,
    368377  const char *buf,
     
    370379);
    371380
    372 static int z85c30_write_support_polled(
     381Z85C30_STATIC int z85c30_write_support_polled(
    373382  int   minor,
    374383  const char *buf,
     
    376385);
    377386
    378 static int z85c30_inbyte_nonblocking_polled(
     387Z85C30_STATIC int z85c30_inbyte_nonblocking_polled(
    379388  int minor
    380389);
Note: See TracChangeset for help on using the changeset viewer.