开发者

Operating Systems,Unix [closed]

开发者 https://www.devze.com 2023-04-11 23:14 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably开发者_开发问答 answered in its current form.
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

精彩评论

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