Changeset a42d8b0 in rtems for c/src/lib/libbsp/powerpc/mbx8xx/console/console.c
- Timestamp:
- 02/11/11 12:46:34 (13 years ago)
- Branches:
- 4.11, 5, master
- Children:
- d14d339
- Parents:
- 0d01467b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/mbx8xx/console/console.c
r0d01467b ra42d8b0 175 175 176 176 /* Check for a char in the input FIFO using .CIO_STAT */ 177 asmvolatile( "li 10,0x202\n\177 __asm__ volatile( "li 10,0x202\n\ 178 178 mr 3, %0\n\ 179 179 mr 4, %1\n\ … … 187 187 input_params.nbytes_requested = 1; 188 188 189 asmvolatile( "li 10,0x200 /* Code for .CIO_READ */\n\189 __asm__ volatile( "li 10,0x200 /* Code for .CIO_READ */\n\ 190 190 mr 3, %0 /* Address of input_params */\n\ 191 191 mr 4, %1 /* Address of output_params */\n\ … … 285 285 do { 286 286 /* Check for space in the output FIFO */ 287 asmvolatile( "li 10,0x202 /* Code for .CIO_STAT */\n\287 __asm__ volatile( "li 10,0x202 /* Code for .CIO_STAT */\n\ 288 288 mr 3, %0 /* Address of input_params */\n\ 289 289 mr 4, %1 /* Address of output_params */\n\ … … 299 299 input_params.nbytes_to_output = len - i; 300 300 301 asmvolatile( "li 10,0x201 /* Code for .CIO_WRITE */\n\301 __asm__ volatile( "li 10,0x201 /* Code for .CIO_WRITE */\n\ 302 302 mr 3, %0 /* Address of input_params */\n\ 303 303 mr 4, %1 /* Address of output_params */\n\
Note: See TracChangeset
for help on using the changeset viewer.