Re: [hatari-devel] MMU table dumping broken |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On 25.8.2022 18.31, Thorsten Otto wrote:
BTW, i think the debug code to print the MMU table (mmu_dump_table) is
currently broken in Hatari.
I guess you mean the function in the WinUAE CPU core, used only by the
CPU core internal debugger ?
(That function does not seem to be used / called by Hatari debugger
functionality, "info mmu" lists just register values, not MMU tables.)
In the CPU code debug.c, that code is called only for >= 68040...
It loops over the whole address range of 4GB, but
it is not required to map the whole range (and apparently NetBSD stops at
0xf2000000). Also it uses get_long() to access the table(s), i think this is
not quite right; the old code uses phys_get_long().
Toni? Nicolas?
- Eero