tlb.c (cfacaced0cce20859de25b61d672edeb9789a1e9) | tlb.c (a700434d80eab4c42380a5c57745aff07493784c) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * KVM/MIPS TLB handling, this file is part of the Linux host kernel so that 7 * TLB handlers run from KSEG0 8 * --- 318 unchanged lines hidden (view full) --- 327 tlb_read(); 328 tlb_read_hazard(); 329 330 entryhi = read_c0_entryhi(); 331 332 /* Don't blow away guest kernel entries */ 333 if (KVM_GUEST_KSEGX(entryhi) == KVM_GUEST_KSEG0) 334 continue; | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * KVM/MIPS TLB handling, this file is part of the Linux host kernel so that 7 * TLB handlers run from KSEG0 8 * --- 318 unchanged lines hidden (view full) --- 327 tlb_read(); 328 tlb_read_hazard(); 329 330 entryhi = read_c0_entryhi(); 331 332 /* Don't blow away guest kernel entries */ 333 if (KVM_GUEST_KSEGX(entryhi) == KVM_GUEST_KSEG0) 334 continue; |
335 336 write_c0_pagemask(old_pagemask); |
|
335 } 336 337 /* Make sure all entries differ. */ 338 write_c0_entryhi(UNIQUE_ENTRYHI(entry)); 339 write_c0_entrylo0(0); 340 write_c0_entrylo1(0); 341 mtc0_tlbw_hazard(); 342 --- 40 unchanged lines hidden --- | 337 } 338 339 /* Make sure all entries differ. */ 340 write_c0_entryhi(UNIQUE_ENTRYHI(entry)); 341 write_c0_entrylo0(0); 342 write_c0_entrylo1(0); 343 mtc0_tlbw_hazard(); 344 --- 40 unchanged lines hidden --- |