* -__PAGE_OFFSET
@ 2001-09-20 6:54 amey d inamdar
2001-09-20 8:54 ` -__PAGE_OFFSET Eric W. Biederman
0 siblings, 1 reply; 2+ messages in thread
From: amey d inamdar @ 2001-09-20 6:54 UTC (permalink / raw)
To: linux-mm
Hello everybody,
While running through source of 2.4 kernel, in head.S, I found the
line
86 : movl $pg0-__PAGE_OFFSET,%edi
I am not getting, at this point there is no virtual address & $pg0
itself contains physical address of first page table, then why to
subtract 3GB from the physical address?
Thanx in anticipation.
- Amey
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: -__PAGE_OFFSET
2001-09-20 6:54 -__PAGE_OFFSET amey d inamdar
@ 2001-09-20 8:54 ` Eric W. Biederman
0 siblings, 0 replies; 2+ messages in thread
From: Eric W. Biederman @ 2001-09-20 8:54 UTC (permalink / raw)
To: amey d inamdar; +Cc: linux-mm
"amey d inamdar" <iamey@rediffmail.com> writes:
> Hello everybody,
> While running through source of 2.4 kernel, in head.S, I found the
> line
> 86 : movl $pg0-__PAGE_OFFSET,%edi
>
> I am not getting, at this point there is no virtual address & $pg0
> itself contains physical address of first page table, then why to
> subtract 3GB from the physical address?
The linker doesn't know the page tables haven't been setup yet.
Look at the addresses in System.map.
> Thanx in anticipation.
Welcome.
Eric
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-20 8:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-20 6:54 -__PAGE_OFFSET amey d inamdar
2001-09-20 8:54 ` -__PAGE_OFFSET Eric W. Biederman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox