Mapping Memory Efficiently.

Saved in:
Bibliographic Details
Title: Mapping Memory Efficiently.
Authors: Saks, Dan1 dsaks@wittenberg.edu.
Source: Embedded Systems Programming. Nov2004, Vol. 17 Issue 11, p47-50. 4p.
Subjects: Memory maps (Computer science), Computer programming, Electronic data processing, Computer storage devices, Computer input-output equipment, Embedded computer systems, Computers, Electronics
Abstract: This article provides tips on how to efficiently map computer memory. Many processors use memory-mapped I/O, which maps device registers to fixed addresses in the conventional memory space. To a C or C++ programmer, a memory-mapped device register looks very much like an ordinary data object. Programs can use ordinary assignment operators to move values to or from memory-mapped device registers. And one can define a pointer to a memory-mapped device register either as a macro or as a constant object. These alternative definitions are often interchangeable, but they actually have slightly different behavior.
Database: Engineering Source
Description
Abstract:This article provides tips on how to efficiently map computer memory. Many processors use memory-mapped I/O, which maps device registers to fixed addresses in the conventional memory space. To a C or C++ programmer, a memory-mapped device register looks very much like an ordinary data object. Programs can use ordinary assignment operators to move values to or from memory-mapped device registers. And one can define a pointer to a memory-mapped device register either as a macro or as a constant object. These alternative definitions are often interchangeable, but they actually have slightly different behavior.
ISSN:10403272