Changeset c124dce3 in mainline for kernel/arch/arm32/include/barrier.h


Ignore:
Timestamp:
2013-01-24T19:48:43Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0e63d34, b1011dae
Parents:
cfeb368
Message:

arm32: Typos and comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/barrier.h

    rcfeb368 rc124dce3  
    105105/* Available on all supported arms,
    106106 * invalidates entire ICache so the written value does not matter. */
    107 //TODO might be PL1 only on armv5 -
     107//TODO might be PL1 only on armv5-
    108108#define smc_coherence(a) \
    109109do { \
    110         DCCMVAU_write((uint32_t)(a));  /* Write changed memory */\
    111         write_barrier();             /* Wait for completion */\
    112         ICIALLU_write(0);            /* Flush ICache */\
    113         inst_barrier();              /* Wait for Inst refetch */\
     110        DCCMVAU_write((uint32_t)(a));  /* Flush changed memory */\
     111        write_barrier();               /* Wait for completion */\
     112        ICIALLU_write(0);              /* Flush ICache */\
     113        inst_barrier();                /* Wait for Inst refetch */\
    114114} while (0)
    115 /* @note: Cache type register is not awailable in uspace. We would need
     115/* @note: Cache type register is not available in uspace. We would need
    116116 * to export the cache line value, or use syscall for uspace smc_coherence */
    117117#define smc_coherence_block(a, l) \
Note: See TracChangeset for help on using the changeset viewer.