From 369630d4d1e5eed71c861e20fd75e2a601d21778 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 27 Apr 2021 03:08:38 +0800 Subject: [PATCH] Update memory.md --- docs/memory.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/memory.md b/docs/memory.md index 576fa6a63..01403e3ba 100644 --- a/docs/memory.md +++ b/docs/memory.md @@ -61,6 +61,17 @@ assigned to every process simply by mapping megapage 1023 (`0xffc00000`). Note that the stack pointer is not necessarily fixed, and may be changed in a later revision. +## Special Physical Memory Addresses + +| Address | Description +| ---------- | ----------- +| 0x40000000 | Bottom of battery-backed main RAM (16MiB) +| 0x40FFDFFF | Top of memory available to Xous +| 0x40FFE000 | Clean suspend record - used by the system to indicate if we are coming out of a clean suspend state +| 0x40FFF000 | Loader stack - this is corrupted by a reboot, and should not be allocated by the kernel +| 0x40FFFFFF | Top of battery-backed main RAM + + ## Memory Whitelist Memory is kept in a whitelist. That is, when calling