exec.library: The start of a memory region may not be a 'VALID_PTR'
commit2fb745fed5de2e068d3a14f8a2e6d668fa2316e0
authorjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 22 May 2013 02:50:44 +0000 (22 02:50 +0000)
committerjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 22 May 2013 02:50:44 +0000 (22 02:50 +0000)
tree8d09a15dd36f9a8f8967b6de5fbc6a7d91e29f99
parentc51934af64bce6dc51df1a8628924b22f3f23387
exec.library: The start of a memory region may not be a 'VALID_PTR'

The MemHeader may sometimes *not* be referenced by another memory
region - for example, if the MemHeader is at the start of the
memory region it is mapping, then mh_Lower is usually set to:

AllocMemHeader() {
...
mh->mh_Lower = (APTR)mh + MEMHEADER_TOTAL
...
}

If this is the first memory region, this will also be the case.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@47448 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/exec/allocate.c