Provide a virtual address where pages can be temporarily mapped.

This commit is contained in:
Jonas 'Sortie' Termansen 2011-08-08 02:18:12 +02:00
parent 6ae7ddbcb3
commit e95eb60d31
1 changed files with 4 additions and 0 deletions

View File

@ -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
}