Changeset b3f8fb7 in mainline for kernel/generic/include/mm/tlb.h
- Timestamp:
- 2007-01-28T13:25:49Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8e8c1a5
- Parents:
- 1ba41c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/tlb.h
r1ba41c5 rb3f8fb7 38 38 #include <arch/mm/asid.h> 39 39 #include <arch/types.h> 40 #include <typedefs.h>41 40 42 41 /** … … 47 46 48 47 /** Type of TLB shootdown message. */ 49 enum tlb_invalidate_type{48 typedef enum { 50 49 TLB_INVL_INVALID = 0, /**< Invalid type. */ 51 50 TLB_INVL_ALL, /**< Invalidate all entries in TLB. */ 52 51 TLB_INVL_ASID, /**< Invalidate all entries belonging to one address space. */ 53 52 TLB_INVL_PAGES /**< Invalidate specified page range belonging to one address space. */ 54 }; 55 typedef enum tlb_invalidate_type tlb_invalidate_type_t; 53 } tlb_invalidate_type_t; 56 54 57 55 /** TLB shootdown message. */ 58 struct tlb_shootdown_msg{56 typedef struct { 59 57 tlb_invalidate_type_t type; /**< Message type. */ 60 58 asid_t asid; /**< Address space identifier. */ 61 59 uintptr_t page; /**< Page address. */ 62 60 count_t count; /**< Number of pages to invalidate. */ 63 }; 64 typedef struct tlb_shootdown_msg tlb_shootdown_msg_t; 61 } tlb_shootdown_msg_t; 65 62 66 63 extern void tlb_init(void);
Note:
See TracChangeset
for help on using the changeset viewer.