Professional Documents
Culture Documents
embedded
management
The software that directly interfaces to hardware resources in the kernal is called a
DeviceDrivers
It also provides a link between the kernel software and the user
software. It's important to achieve a sort of systematic way to do this.
CONCEPT OF DEVICE-DRIVERS:Device drivers are the software libraries that initialize the
hardware,and manage access to the hardware by higher layers of software.
Device drivers are the liaison between the hardware and the operating
processor
include
on-chip
memory,
integrated
memory
A device driver that is Generic manages hardware that is located on the board
32-bit, 64-bit,etc)
When physical memory is referenced from the softwares point-of-view, it is
commonly referred to
as ,logical memory and its most basic unit is the byte.
Logical memory is made up of all the physical memory (registers, ROM, and
RAM) in the entire
Embedded system.
ADDRESS RANGE
0x00000000 - 0x003FFFFF
0x00400000 - 0x007FFFFF
0x04000000 - 0x043FFFFF
0x09000000 - 0x09003FFF
0x09100000 - 0x09100003
0x10000000 - 0x17FFFFFF
.
Accessed Device
Flash PROM Bank 1 32
Flash PROM Bank 2
DRAM 4 Mbyte (1Meg 32-bit)
MPC Internal Memory Map
BCSR - Board Control & Status
Register
PCMCIA Channel
Table :-SAMPLE MEMORY MAP
PORT WIDTH
32
32
32
32
32
16
The software must provide the processors in the system with the ability to
access various
portions of the memory map.
subsystem.
The memorysubsystem includes all types of memory management
components, such as memory controllersand MMU, as well as the types of
memory in the memory map, such as registers, cache,
ROM, DRAM, and so on.
Regardless of what type of data is being read or written, all data within
memory is managed
as a sequence of bytes.
While one memory access is limited to the size of the data bus,
certain architect ures manage access to larger blocks of data,
called segments thus implement a more complex address
translation scheme in which the logical address provided via
software is made up of a segment number and offset which is
used to determine the physical address of thememory location.
The two possible byte ordering schemes are little endian and big endian
In little endian mode, bytes (or bits with 1 byte (8-bit)
schemes) are retrieved and
stored in the order of the lowest byte first, meaning the lowest
byte is furthest to the left.
In big endian mode bytes are accessed in the order of the highest
byte first, meaning that the
lowest byte is furthest to the right
for
the
control
of
up
to
eight
memory
controller
.The memory controller has two different types of subunits, the
general-purpose
chip-select
machine
(GPCM)
and
the
including DRAMs.
The pinouts of the MPC860s memory controller reflect the
different signals that connect these subunits to the various types
of memory . For every chip select (CS), there is an associated
memory bank
The MPC860 uses the MMUs to manage the boards virtual memory
management scheme,
providing logical/effective to physical/real address translations, cache control
(instruction
MMU and instruction cache, data MMU and data cache), and memory access
protections.
The MPC860 MMU (shown in Figure 8-23a) allows support for a 4 GB
uniform (user) address
space that can be divided into pages of a variety of sizes, specifically 4 kB,
16 kB, 512 kB, o8 MB, that can be individually protected and mapped to
physical memory.