Changeset 80bcaed in mainline for kernel/generic/include/mm/tlb.h
- Timestamp:
- 2007-02-03T13:22:24Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f619ec11
- Parents:
- fa8e7d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/tlb.h
rfa8e7d2 r80bcaed 40 40 41 41 /** 42 * Number of TLB shootdown messages that can be queued in processor 43 * tlb_messagesqueue.42 * Number of TLB shootdown messages that can be queued in processor tlb_messages 43 * queue. 44 44 */ 45 45 #define TLB_MESSAGE_QUEUE_LEN 10 … … 47 47 /** Type of TLB shootdown message. */ 48 48 typedef 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 53 57 } tlb_invalidate_type_t; 54 58 … … 64 68 65 69 #ifdef CONFIG_SMP 66 extern void tlb_shootdown_start(tlb_invalidate_type_t type, asid_t asid, uintptr_t page, count_t count); 70 extern void tlb_shootdown_start(tlb_invalidate_type_t type, asid_t asid, 71 uintptr_t page, count_t count); 67 72 extern void tlb_shootdown_finalize(void); 68 73 extern void tlb_shootdown_ipi_recv(void); 69 74 #else 70 # 71 # 72 # 75 #define tlb_shootdown_start(w, x, y, z) 76 #define tlb_shootdown_finalize() 77 #define tlb_shootdown_ipi_recv() 73 78 #endif /* CONFIG_SMP */ 74 79
Note:
See TracChangeset
for help on using the changeset viewer.