Wexitstatusstatus returns the exit status of a

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: e. This space is private in the sense that a byte of memory associated with a particular address in the space cannot in general be read or written by any other process. Although the contents of the memory associated with each private address space is different in general, each such space has the same general organization. For example, Figure 8.11 shows the organization of the address space for a Linux process. The bottom three-fourths of the address space is reserved for the user program, with the usual text, data, heap, and stack segments. The top quarter of the address space is reserved for the kernel. This portion of the address space contains the code, data, and stack that the kernel 400 0xffffffff CHAPTER 8. EXCEPTIONAL CONTROL FLOW kernel virtual memory (code, data, heap, stack) 0xc0000000 memory invisible to user code %esp (stack pointer) user stack (created at runtime) 0x40000000 memory mapped region for shared libraries brk run-time heap (created at runtime by malloc) read/write segment (.data, .bss) re...
View Full Document

This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.

Ask a homework question - tutors are online