Beruflich Dokumente
Kultur Dokumente
When the original PC was designed, there were certain decisions made in dividing up the
8088 system’s one megabyte of memory address space. These decisions were
implemented by the original PC-DOS and MS-DOS operating systems. Due to
compatibility issues, these decisions have carried over into the address allocations of all
PC-compatibles, as shown in the following figure.
Conventional Memory
Conventional memory (locations 00000h through 9FFFFh) is the standard memory area
for all PC-compatible systems. It traditionally holds the operating system, interrupts
vector tables, and relocated ROM BIOS tables. The remaining space in the conventional
memory area is referred to as DOS Program Memory.
Between the video memory and system BIOS areas, addresses are reserved to hold
BIOS extension programs for add-on hardware adapters. Typical BIOS extensions
include those for hard drive adapters, advanced video adapters, and network adapters.
After BIOS extensions are in place, the typical UMA still has many unused memory areas
that can have information mapped (copied) into them. This space is segmented into
64KB sections called upper memory blocks (UMBs). The primary use for these blocks
is to hold installable device drivers and other memory resident programs moved out of
the conventional memory area. By moving these programs out of the conventional
memory area, more space is made available there for use by application programs.
PCs also use this area to incorporate a memory-usage scheme called Shadow RAM to
improve their overall performance. With this feature, the content of the system BIOS
and/or adapter BIOS are rewritten (shadowed) into faster extended memory RAM
locations. The operating system then remaps ROM addresses to the corresponding
RAM locations through unused portions of the UMA. Shadowing enables the system to
operate faster when application software makes use of any of the BIOS' CALL
routines.
Extended Memory
With the advent of newer microprocessors that employ protected operating mode, it
became possible to access physical memory locations beyond the 1-megabyte limit of
8088 system. Memory above this address is generally referred to as extended
memory. Modern operating systems can take full advantage of extended memory
through the Protected Addressing modes of the more advanced microprocessors. This
capability to manage higher memory enables the system to free more base memory
area for applications programs.
Using the Flat Memory Model, the memory manager sections map each application’s
memory space into contiguous pages of physical memory. Using this method, each
application is mapped into a truly unique address space that cannot overlap any other
address space. The lack of segment overlap reduces the chances of applications
interfering with each other and helps to ensure data integrity by providing the
operating system and other processes with their own memory spaces.
The following figure shows the Flat Memory Model concept. In this example, the 32-
bit address produced by the microprocessor contains three parts dictated by the
operating system. The highest 10 bits of the address point to the Page Table
Directory.
This table sets the address boundaries for each page of memory in the
Next publication will focus on what a virtual memory is and how to configure it on MS-Windows
Operating System.
Keep it up!