Fixes VMR creating off-by-one
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 2 Apr 2015 14:15:44 +0000 (10:15 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 7 Apr 2015 19:06:59 +0000 (15:06 -0400)
commitf926c02b21e9c5121d4ea7fb9ed0b49db22a4238
tree77a59a6a4c65b3f88c28abf8af426dd51d3221ce
parentf62dd6cf1bf04983a703e07983e74a1ecdbd2c4f
Fixes VMR creating off-by-one

If a VMR would just barely fit before the first VMR, we would fail to
use that slot.

Practically, this only happens if you decide to do a MAP_FIXED at a low
address, which will unmap a chunk of ld.so - not recommended!
kern/arch/x86/ros/mmu64.h
kern/src/mm.c