Use memory region map to discover the memory

This commit is contained in:
2025-12-08 01:28:09 +01:00
parent 807f067101
commit 0de8cca8bb
9 changed files with 431 additions and 26 deletions

View File

@ -49,6 +49,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
it would be inefficient to constantly (un)lock. */
#define KERNEL_HEAP_START 0xF0000000
#define MEM_PROBE_HEAP_START 0xE0000000
struct page_dir {
volatile uint32_t *pd;