Fixed mmap() so that offset is a number of pages
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 10 Aug 2010 05:36:39 +0000 (22:36 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:50 +0000 (17:35 -0700)
commitb708fa348d0775df8e48bdb53e9a872934358785
treeae54838f310ffda3dce873a6a7959d63dde517e1
parentc6ef6474f077157df915f369c3fdb6040a0d9c85
Fixed mmap() so that offset is a number of pages

While the syscall/mmap() takes a number of pages, the rest of the system
tracks it as bytes - like the file pointer does.  See the change if
you're curious.
kern/include/mm.h
kern/src/mm.c