开发者

Operating Systems,Unix [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably开发者_开发问答 answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

The process is in either user mode or kernel mode based on this fact i want to ask that how process in user mode can map virtual address to physical address when it has no access to uarea.


A user-mode process isn't supposed to know about physical addresses. That's the whole point of virtual memory.

EDIT: It seems you're asking how a userspace program knows where to put it's data. It doesn't. It pretends it has the whole address space (0-4GB on x86) and the Operating System does whatever address translation is necessary to let the process pretend that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜