Kernel virtual address

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
bigorenski
Posts: 14
Joined: Thu May 09, 2013 5:51 pm

Kernel virtual address

Post by bigorenski »

Hi, I am doing some research on paging(intel and amd manuals). I got a kernel, its linked to be loaded at 0x100000.
My question is:
Its possible to map it to a different location(virtualy not physicaly), and continue using Grub to load it? I was able to map the kernel on 1:1(virtual=physical) only.

Thank you for your time.

P.S.
(Sorry for my poorly written English, this is not my natural language).
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Kernel virtual address

Post by Combuster »

Hello and welcome. We have a nice wiki where the vast majority of questions are already answered - including this one: Higher_Half_bare_bones. Be sure to read it and all the other pages!
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
bigorenski
Posts: 14
Joined: Thu May 09, 2013 5:51 pm

Re: Kernel virtual address

Post by bigorenski »

Oh, I missed that. And its such a simple solution... Thanks
Post Reply