Discussion:
For argument and stacks
(too old to reply)
zhe
2005-04-01 06:44:07 UTC
Permalink
For arguments and stacks, do we need to create separate page table for them?
and the picture in Chap 9 doc shows stack starts at 0xFFFFFFFF, but in our
project description it shows stack starts at 0xFFFFE000, and grows downward
from there. Which one is correct?

The arg in our prj description starts at 0xFFFFF000, is this correct?

Thx

Zhe
zhe
2005-04-01 06:47:08 UTC
Permalink
nevermind about the page table part, was just been stupid, but still not
sure about the address...please help

Thx

Zhe
Iulian Neamtiu
2005-04-01 12:41:06 UTC
Permalink
Stick to what you have in the project description w.r.t addresses, i.e.
args go in the page starting at FFFFF000, first stack page is FFFFE000
and the userland initial stack/arg address is 7FFFF000.

Iulian
Post by zhe
nevermind about the page table part, was just been stupid, but still not
sure about the address...please help
Thx
Zhe
Continue reading on narkive:
Loading...