Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

task4

  • Loading branch information...
commit f8f463353b3658e37ef5705640db6b2c95eba699 1 parent 5ab12c5
Andrey authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  cpu_cache/matrix2.c
View
3  cpu_cache/matrix2.c
@@ -18,8 +18,9 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <limits.h>
#define X 0x400
-#define PAGE_MASK 0xfffffc0
+#define PAGE_MASK (~0x3f)
#define PAGE_OFFSET_MASK 0x3f
#define PAGE_SIZE_LOG4 6
#define PAGES_PER_LINE_LOG2 4
Please sign in to comment.
Something went wrong with that request. Please try again.