Changeset 4638401 in mainline for kernel/generic/src/mm/tlb.c
- Timestamp:
- 2007-03-26T19:13:00Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 454f1da
- Parents:
- d5bd8d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/tlb.c
rd5bd8d7 r4638401 79 79 * @param count Number of pages, if required by type. 80 80 */ 81 void tlb_shootdown_start(tlb_invalidate_type_t type, asid_t asid, uintptr_t page, count_t count) 81 void tlb_shootdown_start(tlb_invalidate_type_t type, asid_t asid, 82 uintptr_t page, count_t count) 82 83 { 83 84 int i; … … 108 109 * Enqueue the message. 109 110 */ 110 cpu->tlb_messages[cpu->tlb_messages_count].type = type;111 cpu->tlb_messages[ cpu->tlb_messages_count].asid = asid;112 cpu->tlb_messages[ cpu->tlb_messages_count].page = page;113 cpu->tlb_messages[ cpu->tlb_messages_count].count = count;114 cpu->tlb_messages _count++;111 index_t idx = cpu->tlb_messages_count++; 112 cpu->tlb_messages[idx].type = type; 113 cpu->tlb_messages[idx].asid = asid; 114 cpu->tlb_messages[idx].page = page; 115 cpu->tlb_messages[idx].count = count; 115 116 } 116 117 spinlock_unlock(&cpu->lock);
Note:
See TracChangeset
for help on using the changeset viewer.