HP MC68040 User Manual page 408

Emulator, graphical user interface
Table of Contents

Advertisement

Chapter 10: Using Memory Management
Seeing Details of the MMU Translations
The above listing shows privilege modes were included in the mapping scheme.
The logical and physical addresses were shown in supervisor space. Notice that the
physical addresses also show "a" beside the privilege mode indication. The "a"
indicates physical address space.
Note that the emulator enters the monitor to obtain the information it shows in the
MMU displays. Execution of your target program is suspended while the emulator
gathers information for an MMU display. If there are portions of your target
program that should not be interrupted during execution, insert an execution
breakpoint in some safe area of your program code and run until the breakpoint is
executed. Then you can safely view the MMU mappings.
The display you get with the Display→MMU Translations or display
mmu_translations command can show as much as one line per page (or group of
adjacent pages) of mapped logical address space. Contiguous entries are shown on
one line to make the display more readable. Early terminations (which result in
contiguous translation of multiple pages) will also be shown on a single display line.
The display of MMU mappings will only show pages for which the system has
valid mappings. No information is given in the default mmu_translations display
for paths designated invalid, or for paths containing illegal entries.
To avoid a list of mappings that scrolls for a long time, include an address or
address range in your command. By choosing Display→MMU Translations...
and entering a limited address range in the dialog box, or using the command
display mmu_translations 0 thru 0ffffh, for example, the emulator will show the
valid mappings for only the logical addresses in the range you specify, instead of all
possible mappings.
Another way to limit the number of address ranges shown in an MMU mappings
display is limit the listing to only user or supervisor address space. By choosing
Display→MMU Translations..., entering Start Address 0 and End Address 0ffffh,
and clicking on Function Code user in the dialog box, or using the command
display mmu_translations fcode user 0 thru 0ffffh, the display will show only
the mappings for addresses 0 through 0ffff in user address space.
Note: For convenience, display mmu_translations will use the logical address
range from the most recent display mmu_translations <ADDRESS> thru
<ADDRESS> command, if possible. To change the default logical address range
back to the full address space, use the command: display mmu_translations 0
thru 0ffffffffh, or obtain the Display→MMU Translations... dialog box and enter
the desired address.
378

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec040Lc04064783a64783b

Table of Contents