Changeset 8addb24a in mainline for kernel/arch/abs32le/include


Ignore:
Timestamp:
2023-02-03T17:01:49Z (3 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aae2869
Parents:
64e9cf4
Message:

Turn spin look hint into a function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/abs32le/include/arch/asm.h

    r64e9cf4 r8addb24a  
    6767}
    6868
     69_NO_TRACE static inline void cpu_spin_hint(void)
     70{
     71        /*
     72         * Some ISAs have a special instruction for the body of a busy wait loop,
     73         * such as in spinlock and the like. Using it allows the CPU to optimize
     74         * its operation. For an example, see the "pause" instruction on x86.
     75         */
     76}
     77
    6978_NO_TRACE static inline void pio_write_8(ioport8_t *port, uint8_t val)
    7079{
Note: See TracChangeset for help on using the changeset viewer.