Changeset d1e414c in mainline for generic/include/mm/tlb.h


Ignore:
Timestamp:
2006-03-15T00:51:25Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
91d5ad6
Parents:
51cc6bf6
Message:

More lightweighed TLB shootdown implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/tlb.h

    r51cc6bf6 rd1e414c  
    3434#include <typedefs.h>
    3535
     36/**
     37 * Number of TLB shootdown messages that can be queued in processor
     38 * tlb_messages queue.
     39 */
     40#define TLB_MESSAGE_QUEUE_LEN   10
     41
    3642/** Type of TLB shootdown message. */
    3743enum tlb_invalidate_type {
     
    4147        TLB_INVL_PAGES                  /**< Invalidate specified page range belonging to one address space. */
    4248};
    43 
    4449typedef enum tlb_invalidate_type tlb_invalidate_type_t;
    4550
     
    4954        asid_t asid;                    /**< Address space identifier. */
    5055        __address page;                 /**< Page address. */
     56        count_t count;                  /**< Number of pages to invalidate. */
    5157};
    52 
    5358typedef struct tlb_shootdown_msg tlb_shootdown_msg_t;
    5459
     
    5661
    5762#ifdef CONFIG_SMP
    58 extern void tlb_shootdown_start(tlb_invalidate_type_t type, asid_t asid, __address page, count_t cnt);
     63extern void tlb_shootdown_start(tlb_invalidate_type_t type, asid_t asid, __address page, count_t count);
    5964extern void tlb_shootdown_finalize(void);
    6065extern void tlb_shootdown_ipi_recv(void);
Note: See TracChangeset for help on using the changeset viewer.