From e95eb60d3184ede2dfb21036b79a3f8c23c54c35 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Mon, 8 Aug 2011 02:18:12 +0200 Subject: [PATCH] Provide a virtual address where pages can be temporarily mapped. --- sortix/memorymanagement.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sortix/memorymanagement.h b/sortix/memorymanagement.h index 5a2a5631..3d48ff86 100644 --- a/sortix/memorymanagement.h +++ b/sortix/memorymanagement.h @@ -53,6 +53,10 @@ namespace Sortix #ifdef PLATFORM_X86 const addr_t heapLower = 0x80000000UL; const addr_t heapUpper = 0xFF800000UL; + + // Physical pages may be safely temporarily mapped to this address and a + // good dozen of pages onwards. Beware that this is only meant to be temporary. + const addr_t tempaddr = 0xFF800000UL; #endif }