Changes in kernel/arch/ia64/src/mm/tlb.c [63e27ef:560b81c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/mm/tlb.c
r63e27ef r560b81c 48 48 #include <arch/pal/pal.h> 49 49 #include <arch/asm.h> 50 #include <assert.h>51 50 #include <panic.h> 52 51 #include <print.h> … … 450 449 entry.word[1] = 0; 451 450 452 assert(t->x);451 ASSERT(t->x); 453 452 454 453 entry.p = t->p; … … 489 488 va = istate->cr_ifa; /* faulting address */ 490 489 491 assert(!is_kernel_fault(va));490 ASSERT(!is_kernel_fault(va)); 492 491 493 492 bool found = page_mapping_find(AS, va, true, &t); 494 493 if (found) { 495 assert(t.p);494 ASSERT(t.p); 496 495 497 496 /* … … 606 605 bool found = page_mapping_find(as, va, true, &t); 607 606 if (found) { 608 assert(t.p);607 ASSERT(t.p); 609 608 610 609 /* … … 635 634 void data_nested_tlb_fault(unsigned int n, istate_t *istate) 636 635 { 637 assert(false);636 ASSERT(false); 638 637 } 639 638 … … 657 656 bool found = page_mapping_find(as, va, true, &t); 658 657 659 assert(found);660 assert(t.p);658 ASSERT(found); 659 ASSERT(t.p); 661 660 662 661 if (found && t.p && t.w) { … … 686 685 va = istate->cr_ifa; /* faulting address */ 687 686 688 assert(!is_kernel_fault(va));687 ASSERT(!is_kernel_fault(va)); 689 688 690 689 bool found = page_mapping_find(AS, va, true, &t); 691 690 692 assert(found);693 assert(t.p);691 ASSERT(found); 692 ASSERT(t.p); 694 693 695 694 if (found && t.p && t.x) { … … 725 724 bool found = page_mapping_find(as, va, true, &t); 726 725 727 assert(found);728 assert(t.p);726 ASSERT(found); 727 ASSERT(t.p); 729 728 730 729 if (found && t.p) { … … 758 757 va = istate->cr_ifa; /* faulting address */ 759 758 760 assert(!is_kernel_fault(va));759 ASSERT(!is_kernel_fault(va)); 761 760 762 761 /* … … 765 764 bool found = page_mapping_find(AS, va, true, &t); 766 765 767 assert(found);768 assert(t.p);769 assert(!t.w);766 ASSERT(found); 767 ASSERT(t.p); 768 ASSERT(!t.w); 770 769 771 770 as_page_fault(va, PF_ACCESS_WRITE, istate); … … 785 784 va = istate->cr_ifa; /* faulting address */ 786 785 787 assert(!is_kernel_fault(va));786 ASSERT(!is_kernel_fault(va)); 788 787 789 788 bool found = page_mapping_find(AS, va, true, &t); 790 789 791 assert(found);790 ASSERT(found); 792 791 793 792 if (t.p) {
Note:
See TracChangeset
for help on using the changeset viewer.