Knock a page off VM_MAX_KERNEL_ADDRESS
There are places where checks are made against VM_MAX_KERNEL_ADDRESS, or virtual_end (set to VM_MAX_KERNEL_ADDRESS). With 32-bit checks, an address will always be less than or equal to 0xffffffff. Drop a page, so those checks can terminate loops safely.
This commit is contained in:
parent
26e6e3e65d
commit
009dedabb3
@ -111,7 +111,7 @@
|
||||
#define KERNBASE 0xc0000000 /* start of kernel virtual */
|
||||
|
||||
#define VM_MIN_KERNEL_ADDRESS KERNBASE
|
||||
#define VM_MAX_KERNEL_ADDRESS 0xffffffff
|
||||
#define VM_MAX_KERNEL_ADDRESS 0xffffefff
|
||||
#define VM_MAX_SAFE_KERNEL_ADDRESS VM_MAX_KERNEL_ADDRESS
|
||||
|
||||
#endif /* AIM/E500 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user