Commit a8278bd4949033a7e10d147b31f618a7bb3fadc6

Authored by Aravind Kumar
1 parent 6df7b6016e
Exists in master

pagef

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

memory/pagefault.c View file @ a8278bd
... ... @@ -64,6 +64,7 @@
64 64 for(i = 0; i < 100; 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 + j = j*2;
67 68 //c = c+1;
68 69 asm volatile("mrc p15, 0, %0, c9, c13, 0" : "=r" (e_t));
69 70 t += (e_t - s_t);
memory/pagefault.o View file @ a8278bd

No preview for this file type