Thread (2 messages) 2 messages, 2 authors, 2001-09-20

Re: -__PAGE_OFFSET

From: Eric W. Biederman <hidden>
Date: 2001-09-20 08:54:10

"amey d inamdar" [off-list ref] 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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help