grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Regarding virtual to physical memory mapping..


From: kiran pawar
Subject: Regarding virtual to physical memory mapping..
Date: Thu, 31 Dec 2009 17:45:54 +0530

Hi all,
    I am working on grub-1.97.1. I wanted to know if there is any mechanism in grub2 that maps virtual addresses to physical addresses below 1 MB?
    When I checked the code for grub-0.97, I found that there are function as below
           #define  phys_to_virt(x) (x)
           #define  virt_to_phys(x) (x)
  
Are there any similar functions in grub-1.97.1? 

Also, when I allocated memory using grub_malloc() and printed the address returned from the function it was (0x7da6d810). This seems to be a 32-bit address. I wanted to know whether I can allocate some memory in the region below 1MB?

Regards,
Kiran Pawar.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]