Step 0 towards adding a memory manager

I missed yesterday because I was looking into writing exception
handlers. I'm thinking of moving over to a different assembler, but I'm
not at that point yet. In the meantime, I'm going to write a memory
manager, or at least the groundwork for one.
Preliminary code to detect memory regions

It compiles, but I doubt it works yet