Changeset 7910cff in mainline for arch/amd64/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/amd64/include/asm.h

    r442d0ae r7910cff  
    3333#include <config.h>
    3434
    35 
    36 void asm_delay_loop(__u32 t);
    37 void asm_fake_loop(__u32 t);
     35extern void asm_delay_loop(__u32 t);
     36extern void asm_fake_loop(__u32 t);
    3837
    3938/** Return base address of current stack.
     
    229228}
    230229
     230/** Invalidate TLB Entry.
     231 *
     232 * @param addr Address on a page whose TLB entry is to be invalidated.
     233 */
     234static inline void invlpg(__address addr)
     235{
     236        __asm__ volatile ("invlpg %0\n" :: "m" (addr));
     237}
    231238
    232239extern size_t interrupt_handler_size;
Note: See TracChangeset for help on using the changeset viewer.