What should me "KERNEL_VMA" be?
-
- Posts: 1
- Joined: Tue Mar 08, 2022 8:23 pm
- Libera.chat IRC: CATboardBETA
What should me "KERNEL_VMA" be?
Hello! I'm following this article: https://wiki.osdev.org/Creating_a_64-bit_kernel on MacOS. I haven't a clue what the Kernal virtual memory address should be.... any ideas?
-
- Member
- Posts: 5563
- Joined: Mon Mar 25, 2013 7:01 pm
Re: What should me "KERNEL_VMA" be?
It can be whatever you want, as long as it's a valid virtual address.
I'd use something like 0xFFFFFFFF80000000 to take advantage of "-mcmodel=kernel".
I'd use something like 0xFFFFFFFF80000000 to take advantage of "-mcmodel=kernel".