Default unused UMB areas to be read-only.
commitc98424c5ae973b9bd252696200a0ac8d91465340
authorKevin O'Connor <kevin@koconnor.net>
Sun, 21 Jul 2013 20:38:18 +0000 (21 16:38 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 21 Jul 2013 20:43:54 +0000 (21 16:43 -0400)
tree2f60de8a58e5be3d413b229d6b66a65330cc7911
parenteac11944019ca331db860445ff24455e647662a0
Default unused UMB areas to be read-only.

It looks like MSDOS 6 wants the UMB area to be read-only in order for
it to use it.  FreeDOS doesn't care, but it always maps a page from
high mem when it does use the area.  So, add an option to control
whether unused UMB ram is marked read-only and default it to read-only
as that seems to be more compatible.

This also fixes an off-by-one bug in the shadow range checking code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/Kconfig
src/shadow.c