Changeset 5e77d129 in rtems for c/src/lib/libcpu/powerpc/mpc8xx


Ignore:
Timestamp:
Jun 14, 2000, 8:32:44 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b91b1cf
Parents:
9b05600
Message:

Patch from John Cotton <john.cotton@…> to correct cache
routine naming to follow RTEMS package/object.method rule.
This patch also eliminated calls to the obsolete routine
m68k_enable_caching.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c

    r9b05600 r5e77d129  
    400400    /* Check that the buffer is ours */
    401401    if ((RxBd[SCC2_MINOR]->status & M8xx_BD_EMPTY) == 0) {
    402       rtems_invalidate_multiple_data_cache_lines(
     402      rtems_cache_invalidate_multiple_data_lines(
    403403        (const void *) RxBd[SCC2_MINOR]->buffer,
    404404        RxBd[SCC2_MINOR]->length );
     
    443443    /* Check that the buffer is ours */
    444444    if ((RxBd[SCC3_MINOR]->status & M8xx_BD_EMPTY) == 0) {
    445       rtems_invalidate_multiple_data_cache_lines(
     445      rtems_cache_invalidate_multiple_data_lines(
    446446        (const void *) RxBd[SCC3_MINOR]->buffer,
    447447        RxBd[SCC3_MINOR]->length );
     
    485485    /* Check that the buffer is ours */
    486486    if ((RxBd[SCC4_MINOR]->status & M8xx_BD_EMPTY) == 0) {
    487       rtems_invalidate_multiple_data_cache_lines(
     487      rtems_cache_invalidate_multiple_data_lines(
    488488        (const void *) RxBd[SCC4_MINOR]->buffer,
    489489        RxBd[SCC4_MINOR]->length );
     
    527527    /* Check that the buffer is ours */
    528528    if ((RxBd[SMC1_MINOR]->status & M8xx_BD_EMPTY) == 0) {
    529       rtems_invalidate_multiple_data_cache_lines(
     529      rtems_cache_invalidate_multiple_data_lines(
    530530        (const void *) RxBd[SMC1_MINOR]->buffer,
    531531        RxBd[SMC1_MINOR]->length );
     
    569569    /* Check that the buffer is ours */
    570570    if ((RxBd[SMC2_MINOR]->status & M8xx_BD_EMPTY) == 0) {
    571       rtems_invalidate_multiple_data_cache_lines(
     571      rtems_cache_invalidate_multiple_data_lines(
    572572        (const void *) RxBd[SMC2_MINOR]->buffer,
    573573        RxBd[SMC2_MINOR]->length );
     
    985985    return -1;
    986986  }
    987   rtems_invalidate_multiple_data_cache_lines(
     987  rtems_cache_invalidate_multiple_data_lines(
    988988    (const void *) RxBd[minor]->buffer,
    989989    RxBd[minor]->length
     
    10051005)
    10061006{
    1007   rtems_flush_multiple_data_cache_lines( buf, len );
     1007  rtems_cache_flush_multiple_data_lines( buf, len );
    10081008  TxBd[minor]->buffer = (char *) buf;
    10091009  TxBd[minor]->length = len;
     
    10241024      continue;
    10251025    txBuf[minor] = *buf++;
    1026     rtems_flush_multiple_data_cache_lines(
     1026    rtems_cache_flush_multiple_data_lines(
    10271027       (const void *) TxBd[minor]->buffer,
    10281028       TxBd[minor]->length
Note: See TracChangeset for help on using the changeset viewer.