projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix autoconf, move code to isa.c, remove debugging, drop redundant tlbflushes, macros...
[unix-history]
/
usr
/
src
/
sys
/
i386
/
i386
/
mem.c
diff --git
a/usr/src/sys/i386/i386/mem.c
b/usr/src/sys/i386/i386/mem.c
index
f3e69cd
..
82a33cb
100644
(file)
--- a/
usr/src/sys/i386/i386/mem.c
+++ b/
usr/src/sys/i386/i386/mem.c
@@
-7,7
+7,7
@@
*
* %sccs.include.noredist.c%
*
*
* %sccs.include.noredist.c%
*
- * @(#)mem.c 5.
3
(Berkeley) %G%
+ * @(#)mem.c 5.
4
(Berkeley) %G%
*/
/*
*/
/*
@@
-71,7
+71,7
@@
mmrw(dev, uio, rw)
goto fault;
*(int *)mmap = ctob(v) | PG_V |
(rw == UIO_READ ? PG_KR : PG_KW);
goto fault;
*(int *)mmap = ctob(v) | PG_V |
(rw == UIO_READ ? PG_KR : PG_KW);
-
load_cr3(_cr3()
);
+
tlbflush(
);
o = (int)uio->uio_offset & PGOFSET;
c = (u_int)(NBPG - ((int)iov->iov_base & PGOFSET));
c = MIN(c, (u_int)(NBPG - o));
o = (int)uio->uio_offset & PGOFSET;
c = (u_int)(NBPG - ((int)iov->iov_base & PGOFSET));
c = MIN(c, (u_int)(NBPG - o));