Questions tagged [virtual-address-space]

virtual address space (VAS) or address space is the set of ranges of virtual addresses that an operating system makes available to a process

A virtual address does not represent the actual physical location of an object in memory; instead, the system maintains a page table for each process, which is an internal data structure used to translate virtual addresses into their corresponding physical addresses. Each time a thread references an address, the system translates the virtual address to a physical address.

A virtual address space (VAS) or address space is the set of ranges of virtual addresses that an operating system makes available to a process.[1] The range of virtual addresses usually starts at a low address and can extend to the highest address allowed by the computer's instruction set architecture. This provides several benefits, one of which is, if each process is given a separate address space, security through process isolation.

http://en.wikipedia.org/wiki/Virtual_address_space
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366912(v=vs.85).aspx

234 questions
0
votes
0 answers

How to map all virtual addresses (VAs) in a PE image to Relative VAs

I want to read an image of a module (loaded in the memory of a process), into a buffer, using the Win32 C++ API. After reading I want to change all VAs in from the buffer, into RVAs. I've found the ImageRvaToVa function on MSDN, however, I would…
Benny
  • 607
  • 7
  • 20
0
votes
1 answer

Do we require MMU when virtual address space is equal to physical address space?

The MMU is used to translate virtual address to physical address for a running process with the help of page table corresponding to that process. Lets take a scenario when the virtual address space is equal to physical address space. Do we really…
coder
  • 65
  • 2
  • 8
0
votes
1 answer

How can I get address in physical addressing area by pointer in virtual addressing area?

If I have an address (pointer) in virtual addressing area of current process to the pinned (page-locked) memory, then how can I get an address (pointer) in physical addressing area, of this memory region, by using POSIX? CPU: x86 OS: Linux 2.6 and…
Alex
  • 12,578
  • 15
  • 99
  • 195
0
votes
1 answer

Virtual address space in windows

All, Forgive me I'm a newbie for the Windows Driver Development, After read this document from WDK, I have something I didn't understand. The document says The range of virtual addresses that is available to a process is called the virtual…
Joe.wang
  • 11,537
  • 25
  • 103
  • 180
0
votes
1 answer

Why mmap fails when trying to map Upper BIOS memory to virtual address space

I'm trying to (m)map the following address into virtual address space : ---Phys Address is 0xf6c50 --- This address is the sum of the EBDA Base Pointer and the Higher Bios Memory Window (ACPI_HI_RSDP_WINDOW_BASE) The purpose is to map the ACPI…
hit.at.ro
  • 306
  • 3
  • 11
0
votes
1 answer

How can virtual address space be paged?

While I was reading this Wikipedia article, http://en.wikipedia.org/wiki/Memory_management_unit#How_it_works, I came across that divide virtual address space (range of address used by processor) into pages. But I have learnt that only the physical…
shar
  • 1,988
  • 2
  • 18
  • 25
0
votes
1 answer

Process region table & Global Descriptor able & virtual address

I am going through linux notes from one of the training institute here. As per that when ever a process is created a region is allocated to it. Region contains all the segments for the process. Also region is specified by region-table. Region table…
Allan
  • 2,971
  • 4
  • 24
  • 28
0
votes
1 answer

linux kernel function _copy_to_user, want clear understanding of that

I am using this function to copy some structures to the kernel. But, the problem is that I have to copy three data structures which are part of a bigger data structure. NOTE: the 3 data structures are contiguous in the bigger data structure. SO, In…
Invictus
  • 2,653
  • 8
  • 31
  • 50
0
votes
0 answers

Mapping a page with a specific address

I'm trying to map a virtual memory page using VirtualAlloc, but it's an specific address outside 8TB Windows 7 64 bits allowed range, i've read at Windows Internals book this address range is used for "page table self mapping structures", anyway,is…
0
votes
0 answers

Virtual memory size and allocation

On 32-bit x86 systems, the total virtual address space has a theoretical maximum of 4 GB. By default, Windows allocates half this address space (the lower half of the 4-GB virtual address space, from x00000000 through x7FFFFFFF)…
YAKOVM
  • 9,805
  • 31
  • 116
  • 217
0
votes
2 answers

Sandboxing thread

I want to create thread or process that would have its own virtual address space (It would probably would have to be separate process) without system libraries in the address space. My goal is to create an execution environment for foreign origin…
Sebi
  • 1,390
  • 1
  • 13
  • 22
-1
votes
1 answer

How to find how much userspace memory available to use in Linux environment?

I am using CONFIG_VMSPLIT_1G config in my 32-bit Linux image. so 3GB of virtual address space is allocated to kernel and 1GB of virtual address space to userspace. Now if i run stressapptest in userspace with 80% of the available memory shown using…
-1
votes
1 answer

What is the difference between virtual address space and virtual memory?

When a process is created by the user a virtual space address is created which is is the size 4g for a 32 bit os (0 to 2^32-1)? The process thinks its has the whole memory to use but the virtual addresses are converted to physical addresses and…
-1
votes
1 answer

virtual address space in a variable partition scheme

I know this question is more on OS than on programming,sorry for that. In a multiprogrammig scheme with variable partitions who has to decide the size of a process virtual address space?? what if during execution we find out a process needs more…
user591931
  • 239
  • 2
  • 3
  • 10
-1
votes
1 answer

Can't understand how virtual address was converted to binary form

This is a question and answer from my operating system's textbook: Question: A certain computer provides its users with a virtual-memory space of 232 bytes. The computer has 218 bytes of physical memory. The virtual memory is implemented by paging,…
1 2 3
15
16