Re: dynamically determining page offset

Michael Elizabeth Chastain (mec@shout.net)
Wed, 1 Sep 1999 16:12:09 -0500


> ... are there public symbols exported by the kernel, that I can use to
> derive the value of PAGE_OFFSET for that kernel?

Someone correct me if I am wrong, but isn't the user stack located in
userland space just below PAGE_OFFSET?

So if you run a userland program and examine %esp, that ought to yield
a clue.

Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/