What should me "KERNEL_VMA" be?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
CATboardBETA
Posts: 1
Joined: Tue Mar 08, 2022 8:23 pm
Libera.chat IRC: CATboardBETA

What should me "KERNEL_VMA" be?

Post by CATboardBETA »

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?
Octocontrabass
Member
Member
Posts: 5563
Joined: Mon Mar 25, 2013 7:01 pm

Re: What should me "KERNEL_VMA" be?

Post by Octocontrabass »

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".
Post Reply