Providing MMU Address Translation for the
Foreground Monitor
When using the memory management unit (MMU) of the MC68040, the target
system must provide the proper address translation for the foreground monitor. To
be able to do this, you will need to understand your target system’s physical
memory map and MMU address translation structure. You may need to modify
your mapping scheme or some of its mapping protections.
In order for the monitor to operate after the MMU is turned on, the target system
must provide 1:1 address translation (logical address = physical address) for the
block of memory occupied by the monitor. The foreground monitor will reside in a
4-Kbyte block of emulation memory corresponding to a single page in the MMU.
This memory can be mapped to begin on any 4-Kbyte address boundary. Simply
specify an address ending in 000h when you answer the monitor address question
when you set up the emulation configuration.
For example, if the monitor is located at logical address 0ffff1000h, then the MMU
must translate that address to physical address 0ffff1000h, logical address
0ffff1004h to physical address 0ffff1004h, etc.
Do not write-protect the address range occupied by the foreground monitor.
There are two ways to provide the proper address translation for the memory space
occupied by the foreground monitor:
•
Locate the foreground monitor in a block of memory that is transparently
translated via ITTx and DTTx transparent translation registers (TTRs). The
monitor contains both code and data so two TTRs are needed to provide
translations: one for instructions, and the other for data. When the MMU
processes translations, it first compares the logical address with the parameters
of the TTRs. If it finds a match, the MMU uses the logical address as the
physical address for the access (obtaining the needed 1:1 translation).
The minimum block size that can be transparently translated by the TTRs is 16
Mbytes. If your target system already sets one or both data and instruction
TTRs for supervisor, or both supervisor and user, access and no
write-protection, then you may be able to find an unused 4-Kbyte block within
this 16-Mbyte range where the monitor can reside.
Chapter 8: Configuring the Emulator
Providing MMU Address Translation for the Foreground Monitor
349
Summary of Contents for 64783A
Page 30: ...xxx ...
Page 31: ...Part 1 Quick Start Guide 1 ...
Page 33: ...1 Getting Started 3 ...
Page 70: ...40 ...
Page 75: ...Part 2 Using The Emulator 45 ...
Page 140: ...110 ...
Page 141: ...4 Using the Emulator How to control the processor and view system resources 111 ...
Page 227: ...5 Using the Emulation Bus Analyzer How to record program execution in real time 197 ...
Page 290: ...260 ...
Page 331: ...8 Configuring the Emulator 301 ...
Page 382: ...352 ...
Page 383: ...9 Solving Problems What to do when the emulator doesn t behave as expected 353 ...
Page 397: ...Part 3 Reference 367 ...
Page 399: ...10 Using Memory Management Understanding logical and physical emulation and analysis 369 ...
Page 429: ...11 Emulator Commands The command syntax reference for the emulator softkey interface 399 ...
Page 443: ...copy Chapter 11 Emulator Commands copy 413 ...
Page 451: ...display Chapter 11 Emulator Commands display 421 ...
Page 457: ...DISPLAY MEMORY Chapter 11 Emulator Commands DISPLAY MEMORY 427 ...
Page 461: ...DISPLAY MMU Chapter 11 Emulator Commands DISPLAY MMU 431 ...
Page 464: ...DISPLAY TRACE Chapter 11 Emulator Commands DISPLAY TRACE 434 ...
Page 480: ...modify Chapter 11 Emulator Commands modify 450 ...
Page 501: ...set Chapter 11 Emulator Commands set 471 ...
Page 514: ... SYMB Chapter 11 Emulator Commands SYMB 484 ...
Page 582: ...552 ...
Page 583: ...13 Setting X Resources 553 ...
Page 598: ...568 ...
Page 606: ...576 ...
Page 613: ...16 Specifications and Characteristics 583 ...
Page 627: ...Part 4 Concept Guide 597 ...
Page 629: ...17 X Resources and the Graphical User Interface 599 ...
Page 639: ...Part 5 Installation and Service Guide 609 ...
Page 697: ...19 Installation and Service 667 ...
Page 746: ...Chapter 19 Installation and Service Verifying the Installation 716 ...
Page 755: ...20 Installing Updating Emulator Firmware 725 ...
Page 762: ...732 ...
Page 778: ...748 ...
Page 810: ...X server 554 604 X Window System 54 Index 780 ...