Changeset 21c8738 in rtems
- Timestamp:
- 10/18/00 15:40:46 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 8c49701
- Parents:
- 4fb2a19
- Location:
- c/src/lib/libcpu/powerpc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/powerpc/ChangeLog
r4fb2a19 r21c8738 1 2000-10-18 Joel Sherrill <joel@OARcorp.com> 2 3 * mpc8xx/console-generic/console-generic.c: Removed warnings. 4 1 5 2000-10-18 Joel Sherrill <joel@OARcorp.com> 2 6 -
c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c
r4fb2a19 r21c8738 33 33 * COPYRIGHT (c) 1989-1998. 34 34 * On-Line Applications Research Corporation (OAR). 35 * Copyright assigned to U.S. Government, 1994.36 35 * 37 36 * Modifications by Darlene Stewart <Darlene.Stewart@iit.nrc.ca> … … 55 54 #include <unistd.h> 56 55 #include <termios.h> 57 #include <bsp.h> 56 #include <bsp.h> /* for nvram interface to board */ 58 57 59 58 extern rtems_cpu_table Cpu_table; … … 184 183 m8xx_smc_set_attributes (int minor, const struct termios *t) 185 184 { 186 int baud, brg , csize, ssize, psize;187 rtems_unsigned16 clen , cstopb, parenb, parodd, cread;185 int baud, brg=0, csize=0, ssize, psize; 186 rtems_unsigned16 clen=0, cstopb, parenb, parodd, cread; 188 187 189 188 /* Baud rate */ … … 280 279 m8xx_scc_set_attributes (int minor, const struct termios *t) 281 280 { 282 int baud, brg ;283 rtems_unsigned16 csize , cstopb, parenb, parodd;281 int baud, brg=0; 282 rtems_unsigned16 csize=0, cstopb, parenb, parodd; 284 283 285 284 /* Baud rate */ … … 602 601 { 603 602 unsigned char brg; 604 volatile m8xxSCCparms_t *sccparms ;605 volatile m8xxSCCRegisters_t *sccregs ;603 volatile m8xxSCCparms_t *sccparms = 0; 604 volatile m8xxSCCRegisters_t *sccregs = 0; 606 605 607 606 /* … … 859 858 { 860 859 unsigned char brg; 861 volatile m8xxSMCparms_t *smcparms ;862 volatile m8xxSMCRegisters_t *smcregs ;860 volatile m8xxSMCparms_t *smcparms = 0; 861 volatile m8xxSMCRegisters_t *smcregs = 0; 863 862 864 863 /* … … 1101 1100 continue; 1102 1101 txBuf[minor] = *buf++; 1103 rtems_cache_flush_multiple_data_lines( &txBuf[minor], 1 );1102 rtems_cache_flush_multiple_data_lines( (void *)&txBuf[minor], 1 ); 1104 1103 TxBd[minor]->buffer = &txBuf[minor]; 1105 1104 TxBd[minor]->length = 1;
Note: See TracChangeset
for help on using the changeset viewer.