Messages in this thread | | | Date | Wed, 20 Feb 2002 15:30:36 -0500 | From | Brian Gerst <> | Subject | Re: initialize page tables -- Re: paging question |
| |
Jason Yan wrote: > > Thank you Dick > > Oops, I use a wrong subject, what I want to ask is how the pg0 be initialized > > in head.S, > > 395 .org 0x2000 > 396 ENTRY(pg0) > > so $pg0-__PAGE_OFFSET = 0x2000 - 0xC0000000 = 40002000, how comes bff00000 ?
That's offset 0x2000 from the beginning of head.o, which is at virtual address 0xc0100000, meaning the final value of pg0 is 0xc0102000. Subtract __PAGE_OFFSET and you get physical address 0x00102000.
--
Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |