Changeset 80bcaed in mainline for kernel/generic/include/mm/tlb.h


Ignore:
Timestamp:
2007-02-03T13:22:24Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f619ec11
Parents:
fa8e7d2
Message:

Merge as_t structure into one and leave the differring parts in as_genarch_t.

Indentation and formatting changes in header files.

File:
1 edited

Legend:

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

    rfa8e7d2 r80bcaed  
    4040
    4141/**
    42  * Number of TLB shootdown messages that can be queued in processor
    43  * tlb_messages queue.
     42 * Number of TLB shootdown messages that can be queued in processor tlb_messages
     43 * queue.
    4444 */
    4545#define TLB_MESSAGE_QUEUE_LEN   10
     
    4747/** Type of TLB shootdown message. */
    4848typedef enum {
    49         TLB_INVL_INVALID = 0,           /**< Invalid type. */
    50         TLB_INVL_ALL,                   /**< Invalidate all entries in TLB. */
    51         TLB_INVL_ASID,                  /**< Invalidate all entries belonging to one address space. */
    52         TLB_INVL_PAGES                  /**< Invalidate specified page range belonging to one address space. */
     49        /** Invalid type. */
     50        TLB_INVL_INVALID = 0,
     51        /** Invalidate all entries in TLB. */
     52        TLB_INVL_ALL,
     53        /** Invalidate all entries belonging to one address space. */
     54        TLB_INVL_ASID,
     55        /** Invalidate specified page range belonging to one address space. */
     56        TLB_INVL_PAGES
    5357} tlb_invalidate_type_t;
    5458
     
    6468
    6569#ifdef CONFIG_SMP
    66 extern void tlb_shootdown_start(tlb_invalidate_type_t type, asid_t asid, uintptr_t page, count_t count);
     70extern void tlb_shootdown_start(tlb_invalidate_type_t type, asid_t asid,
     71    uintptr_t page, count_t count);
    6772extern void tlb_shootdown_finalize(void);
    6873extern void tlb_shootdown_ipi_recv(void);
    6974#else
    70 #  define tlb_shootdown_start(w, x, y, z)
    71 #  define tlb_shootdown_finalize()
    72 #  define tlb_shootdown_ipi_recv()
     75#define tlb_shootdown_start(w, x, y, z)
     76#define tlb_shootdown_finalize()
     77#define tlb_shootdown_ipi_recv()
    7378#endif /* CONFIG_SMP */
    7479
Note: See TracChangeset for help on using the changeset viewer.