I want the hardware to protect me perhaps with a key or handle or something. Talking to the hardware: Give me a block of memory that I can append to the end of. Another piece of code: Allow me to access that other block for read only.
Each piece of software has some sort of identification. Then the hardware throws an interrupt if a piece of software uses some memory incorrectly.