mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Add a comment explaining what ARM_KERN_DIRECTMAP is all about.
Suggested by: raj
This commit is contained in:
parent
66a86c3bc1
commit
7202abb694
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187592
@ -97,6 +97,13 @@
|
||||
|
||||
#define VM_MIN_ADDRESS (0x00001000)
|
||||
#ifdef ARM_USE_SMALL_ALLOC
|
||||
/*
|
||||
* ARM_KERN_DIRECTMAP is used to make sure there's enough space between
|
||||
* VM_MAXUSER_ADDRESS and KERNBASE to map the whole memory.
|
||||
* It has to be a compile-time constant, even if arm_init_smallalloc(),
|
||||
* which will do the mapping, gets the real amount of memory at runtime,
|
||||
* because VM_MAXUSER_ADDRESS is a constant.
|
||||
*/
|
||||
#ifndef ARM_KERN_DIRECTMAP
|
||||
#define ARM_KERN_DIRECTMAP 512 * 1024 * 1024 /* 512 MB */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user