EMBEDDED Intel486™ PROCESSOR HARDWARE REFERENCE MANUAL
47
Segment
Selector
Logical Address
Figure 3-6. Segmentation and Paging Address Formats
3.10 PAGING UNIT
The paging unit allows access to data structures larger than the available memory space by keep-
ing them partly in memory and partly on disk. Paging divides the linear address space into
4-Kbyte blocks called pages. Paging uses data structures in memory called page tables for map-
ping a linear address to a physical address. The cache uses physical addresses and puts them on
the processor bus. The paging unit also identifies problems, such as accesses to a page that is not
resident in memory, and raises exceptions called page faults. When a page fault occurs, the oper-
ating system has a chance to bring the required page into memory from disk. If necessary, it can
free space in memory by sending another page out to disk. If paging is not enabled, the physical
address is identical to the linear address.
The paging unit includes a translation lookaside buffer (TLB) that stores the 32 most recently
used page table entries.
addresses in the TLB. If the paging unit does not find a linear address in the TLB, the unit gen-
erates requests to fill the TLB with the correct physical address contained in a page table in mem-
ory. Only when the correct page table entry is in the TLB does the bus cycle take place. When the
paging unit maps a page in the linear address space to a page in physical memory, it maps only
the upper 20 bits of the linear address. The lowest 12 bits of the physical address come unchanged
from the linear address.
3-16
31
Page Base Address
Physical Address
31
Page Directory
Offset
Linear Address
32 31
Figure 3-7
shows the TLB data structures. The paging unit looks up linear
12
11
Page Offset
Translated by the paging unit
22
21
12
11
Page Table
Page Offset
Offset
Translated by the segmentation unit
Segment
Offset
0
0
0
A5142-01
Need help?
Do you have a question about the Embedded Intel486 and is the answer not in the manual?