Changeset 7910cff in mainline for arch/ia32/include/asm.h


Ignore:
Timestamp:
2005-12-11T13:31:33Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a98d2ec
Parents:
442d0ae
Message:

Finer grained TLB invalidate functions for ia32 and amd64. Not yet deployed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/asm.h

    r442d0ae r7910cff  
    4343
    4444
    45 void asm_delay_loop(__u32 t);
    46 void asm_fake_loop(__u32 t);
     45extern void asm_delay_loop(__u32 t);
     46extern void asm_fake_loop(__u32 t);
    4747
    4848
     
    236236}
    237237
     238/** Invalidate TLB Entry.
     239 *
     240 * @param addr Address on a page whose TLB entry is to be invalidated.
     241 */
     242static inline void invlpg(__address addr)
     243{
     244        __asm__ volatile ("invlpg %0\n" :: "m" (addr));
     245}
     246
    238247#endif
Note: See TracChangeset for help on using the changeset viewer.