Permalink
Browse files

memory mapped device registers should be uncachable

  • Loading branch information...
1 parent 84dfbe0 commit b6eda1b6dd056cf21dd8a1603088321fa2562994 @wolfwood committed Jun 21, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 user/environment.d
View
@@ -107,6 +107,12 @@ template PageTableEntry(char[] T){
}else{
nx = 1;
}
+
+ static if(T == "primary"){
+ if(mode & AccessMode.Device){
+ pcd = 1;
+ }
+ }
}
}
}

0 comments on commit b6eda1b

Please sign in to comment.