Commit c4520c7e90a2e2e42bfb06ac8b9029d413e62046

Authored by Aravind Kumar
1 parent 59b1d57aa4
Exists in master

ahha

Showing 2 changed files with 1 additions and 1 deletions Side-by-side Diff

memory/pagefault.c View file @ c4520c7
... ... @@ -61,7 +61,7 @@
61 61 printf("User enable regr: %x\n", i);
62 62  
63 63 j = 32;
64   - for(i = 0; i < 100; i=i++){
  64 + for(i = 0; i < 10; i=i++){
65 65 asm volatile("mrc p15, 0, %0, c9, c13, 0" : "=r" (s_t));
66 66 c+= (addr1[i + j*4*KB]); // read at multiple of page size, so every read causes a page fault
67 67 j = j*2;
memory/pagefault.o View file @ c4520c7

No preview for this file type