The Virtual Interface Architecture

Chapter 5: Memory Translation and Protection

This chapter describes the VI Architecture memory translation and protection scheme. A reference design for a Translation and Protection Table is described. This knowledge will provide the reader with the information needed to use and understand the VI Architecture memory protection and translation mechanism. It will also help hardware designers who are implementing VI NICs.

Overview

The VI Architecture allows applications to use virtual addresses when initializing the descriptor data structures that are executed by the VI NIC. Since the application talks directly to the hardware, bypassing the operating system, the NIC hardware must be able to translate these addresses into physical addresses that are used for memory bus transactions.

In addition to translating virtual addresses into physical addresses, the NIC must enforce memory protection among applications and between applications and the operating system. An application must not be able to cause data to be read from, or written to, memory locations outside of its address space.

The mechanism used by a VI NIC for translation and protection is called (not surprisingly) the Translation and Protection Table (TPT). The implementation of the TPT is outside the scope of the VI Architecture, but the VI Architecture Specification does contain a reference hardware implementation, which is described in this chapter.

TPT Format

The format of the reference TPT is shown in Figure 5.1. A TPT entry consists of three fields:

  1. A physical page address

  2. Protection attributes, and

  3. A protection tag


    Figure 5.1: Translation and Protection Table Format

The physical page address field...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Electronic Data Interchange Software (EDI)
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.