In computing, an aperture is a portion of physical address space (i.e., physical memory) that is persistently associated with a particular peripheral device or a memory unit. Apertures may reach external devices such as ROM or RAM chips, or internal memory on the CPU itself.
Typically, a memory device attached to a computer accepts addresses starting at zero, so a system with more than one such device would have ambiguous addressing. To resolve this, the memory logic contains several aperture selectors, each consisting of a range selector and an interface to one of the memory devices. The set of selector address ranges of the apertures are disjoint (non-overlapping). When the CPU presents a physical address within the range recognized by an aperture, the aperture unit routes the request—with the address remapped to a zero base—to the attached device. Thus, apertures form a layer of address translation below the level of the usual virtual-to-physical mapping.
This mechanism was particularly relevant in older or specialized memory systems where multiple memory devices or peripheral devices needed to coexist in the same physical address space without conflicts. A common modern example is the AGP aperture, which allows a graphics card to access a portion of system memory as if it were local video memory via the Accelerated Graphics Port.
Related concepts: Address bus, AGP aperture, Memory-mapped I/O.