This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: All memory addresses used by a program are checked by hardware base and limit registers whenever an application attempts to access memory. Typically this feature is built into the VM system (if it has VM). Any attempt to access memory outside of the applications memory range will generate an interrupt stopping the application and generate an error message. 5. For API calls to the OS, describe the two major approaches that can be used to support communication between processes. (in terms of memory mapping and message buffers) Page 73-74 Shared Memory – messages are exchanged between processes in a shared memory data area using global variables. The OS must setup the shared memory area since it handles memory allocation. Message Passing – messages are exchanged between processes using OS API interprocess communication calls. The message is buffered inside the OS. Slower but more secure....
View Full Document
- Spring '08
- Central processing unit, Computer program, shared memory, wait state, I/O bound job