Re: Regarding virtual to physical memory mapping..

2010-01-09 Thread kiran pawar
Hi all, Sorry for replying late.. and thanks everyone for replying. i am not clear with answers that are given to the question . I have written a function in assembly that i have called form C code and done the linking correctly. But i want this code should run in real mode. The address that

Re: Regarding virtual to physical memory mapping..

2010-01-01 Thread Robert Millan
On Thu, Dec 31, 2009 at 01:31:05PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > I wanted to know whether I can allocate some > > memory in the region below 1MB? > Only in experimental branch. But we're not currently sure if we will use > this. We can use this. My concerns are with mak

Re: Regarding virtual to physical memory mapping..

2009-12-31 Thread Javier Martín
El jue, 31-12-2009 a las 13:31 +0100, Vladimir 'φ-coder/phcoder' Serbinenko escribió: > kiran pawar wrote: > > 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 whethe

Re: Regarding virtual to physical memory mapping..

2009-12-31 Thread Vladimir 'φ-coder/phcoder' Serbinenko
kiran pawar wrote: > 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

Regarding virtual to physical memory mapping..

2009-12-31 Thread kiran pawar
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