Locating the Foreground Monitor using the MMU
Address Translation Tables
Locate the foreground monitor at a specific page address and add the proper
address translation for this page in your supervisor address translation tables. The
minimum page size is 4 Kbytes so the monitor only requires a single translation.
The page that contains the foreground monitor must always be resident, translated
1:1 (logical address = physical address), and never be write-protected.
The most direct way to do this is to modify the address translation tables in your
source code, rebuild your executable file, and download the executable into RAM,
or reprogram the executable into ROM. For systems that use an operating system
to manage dynamic translation tables in RAM, the page allocated to the monitor
must not be allowed to be swapped out by the operating system. This may require
that the page selected for the monitor reside in unused space within the operating
system (assuming the operating system is translated 1:1). The easiest way to create
unused space is to globally define an 8-Kbyte array of data that is never referenced
by your software. After rebuilding your operating system software, refer to the
linker symbol map file to determine the address range of this array. Use the lowest
address that resides on a 4-Kbyte boundary within this range as the starting address
for the monitor.
As a last resort, if your target system software cannot be rebuilt, you can use the
emulator to modify your translation tables directly.
The emulator provides a command to display individual address translations in
detail, including address, value, and mnemonic information about each descriptor
from the translation tables. You may be able to provide the proper address
translation for the monitor by simply modifying a single descriptor (long word) to
convert an invalid page into a resident page.
If the translation tables are located in ROM, you will need to copy them into
emulation memory before you attempt to modify them. This is done by storing all
or part of your ROM to a file, and then mapping emulation memory over the ROM
address range and reloading the file.
Chapter 8: Configuring the Emulator
Providing MMU Address Translation for the Foreground Monitor
351
Содержание 64783A
Страница 1: ...User s Guide for the Graphical User Interface MC68040 EC040 LC040 Emulator Analyzer HP 64783A B ...
Страница 30: ...xxx ...
Страница 31: ...Part 1 Quick Start Guide 1 ...
Страница 33: ...1 Getting Started 3 ...
Страница 70: ...40 ...
Страница 71: ...2 Solving Quick Start Problems Solutions to problems you might face during the Getting Started procedures 41 ...
Страница 75: ...Part 2 Using The Emulator 45 ...
Страница 140: ...110 ...
Страница 141: ...4 Using the Emulator How to control the processor and view system resources 111 ...
Страница 227: ...5 Using the Emulation Bus Analyzer How to record program execution in real time 197 ...
Страница 290: ...260 ...
Страница 311: ...7 Making Software Performance Measurements How to make software performance measurements on your programs 281 ...
Страница 331: ...8 Configuring the Emulator 301 ...
Страница 382: ...352 ...
Страница 383: ...9 Solving Problems What to do when the emulator doesn t behave as expected 353 ...
Страница 397: ...Part 3 Reference 367 ...
Страница 399: ...10 Using Memory Management Understanding logical and physical emulation and analysis 369 ...
Страница 429: ...11 Emulator Commands The command syntax reference for the emulator softkey interface 399 ...
Страница 443: ...copy Chapter 11 Emulator Commands copy 413 ...
Страница 451: ...display Chapter 11 Emulator Commands display 421 ...
Страница 457: ...DISPLAY MEMORY Chapter 11 Emulator Commands DISPLAY MEMORY 427 ...
Страница 461: ...DISPLAY MMU Chapter 11 Emulator Commands DISPLAY MMU 431 ...
Страница 464: ...DISPLAY TRACE Chapter 11 Emulator Commands DISPLAY TRACE 434 ...
Страница 470: ...Examples end end locked end release_system See Also emul700 emulator_name help end Chapter 11 Emulator Commands end 440 ...
Страница 480: ...modify Chapter 11 Emulator Commands modify 450 ...
Страница 501: ...set Chapter 11 Emulator Commands set 471 ...
Страница 514: ... SYMB Chapter 11 Emulator Commands SYMB 484 ...
Страница 582: ...552 ...
Страница 583: ...13 Setting X Resources 553 ...
Страница 598: ...568 ...
Страница 606: ...576 ...
Страница 607: ...15 Microtec Language Tools Used With MC68040 Emulators Using the emulator analyzer with Microtec language tools 577 ...
Страница 613: ...16 Specifications and Characteristics 583 ...
Страница 627: ...Part 4 Concept Guide 597 ...
Страница 629: ...17 X Resources and the Graphical User Interface 599 ...
Страница 639: ...Part 5 Installation and Service Guide 609 ...
Страница 645: ...Chapter 18 Connecting the Emulator to a Target System Plugging The Emulator Into A Target System 615 ...
Страница 697: ...19 Installation and Service 667 ...
Страница 746: ...Chapter 19 Installation and Service Verifying the Installation 716 ...
Страница 755: ...20 Installing Updating Emulator Firmware 725 ...
Страница 762: ...732 ...
Страница 778: ...748 ...
Страница 810: ...X server 554 604 X Window System 54 Index 780 ...