mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Provide a virtual address where pages can be temporarily mapped.
This commit is contained in:
parent
6ae7ddbcb3
commit
e95eb60d31
1 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,10 @@ namespace Sortix
|
||||||
#ifdef PLATFORM_X86
|
#ifdef PLATFORM_X86
|
||||||
const addr_t heapLower = 0x80000000UL;
|
const addr_t heapLower = 0x80000000UL;
|
||||||
const addr_t heapUpper = 0xFF800000UL;
|
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
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue