Re: [hatari-devel] MMU table dumping broken |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
On Freitag, 26. August 2022 12:53:07 CEST Eero Tamminen wrote: > I guess you mean the function in the WinUAE CPU core, used only by the > CPU core internal debugger ?
Yes. This is the output from that function, running a 9.2 kernel (called from within newcpu_common.c when the SRP is set):
srp=0132c000 tcr=00000000 MMU dump start. Root = 0132c000. Page = 8192 00000000 - 00001fff: 00000000 WP=0 S=0 CM=0 (00000000) 00002000 - 00207fff: 01002000 WP=1 S=0 CM=0 (01002005) 00208000 - 0032bfff: 01208000 WP=0 S=0 CM=1 (01208021) 0032c000 - 0032ffff: 0132c000 WP=0 S=0 CM=2 (0132c041) 00330000 - 00341fff: 01330000 WP=0 S=0 CM=1 (01330021) 00342000 - 00375fff: 00dd0000 WP=0 S=0 CM=2 (00dd0041) 00376000 - 041e7fff: 00000000 WP=0 S=0 CM=0 (00000000) 041e8000 - 041effff: 00ff8000 WP=0 S=0 CM=2 (00ff8041) 041f0000 - feffffff: 00000000 WP=0 S=0 CM=0 (00000000) ff000000 - ff00ffff: 01332000 WP=0 S=0 CM=2 (01332041) ff010000 - ff1fdfff: 00000000 WP=0 S=0 CM=0 (00000000) ff1fe000 - ff1fffff: 01330000 WP=0 S=0 CM=2 (01330041) ff200000 - ffffffff: 00000000 WP=0 S=0 CM=0 (00000000) MMU dump end
And this is the output from the old function:
srp=0132c000 tcr=00000000 SRP: root=0132c000 ROOT: 000 U=1 W=0 UDT=02 PTR: 000 U=1 W=0 UDT=02 PAGE: 001-031 log=00002000-00040000 addr=01002000-01040000 UR=00 G=0 U1/0=0 S=0 CM=0 M=0 U=0 W=1 PTR: 001 U=1 W=0 UDT=02 PAGE: 000-031 log=00040000-00080000 addr=01040000-01080000 UR=00 G=0 U1/0=0 S=0 CM=0 M=0 U=0 W=1 PTR: 002 U=1 W=0 UDT=02 PAGE: 000-031 log=00080000-000c0000 addr=01080000-010c0000 UR=00 G=0 U1/0=0 S=0 CM=0 M=0 U=0 W=1 PTR: 003 U=1 W=0 UDT=02 PAGE: 000-031 log=000c0000-00100000 addr=010c0000-01100000 UR=00 G=0 U1/0=0 S=0 CM=0 M=0 U=0 W=1 PTR: 004 U=1 W=0 UDT=02 PAGE: 000-031 log=00100000-00140000 addr=01100000-01140000 UR=00 G=0 U1/0=0 S=0 CM=0 M=0 U=0 W=1 PTR: 005 U=1 W=0 UDT=02 PAGE: 000-031 log=00140000-00180000 addr=01140000-01180000 UR=00 G=0 U1/0=0 S=0 CM=0 M=0 U=0 W=1 PTR: 006 U=1 W=0 UDT=02 PAGE: 000-031 log=00180000-001c0000 addr=01180000-011c0000 UR=00 G=0 U1/0=0 S=0 CM=0 M=0 U=0 W=1 PTR: 007 U=1 W=0 UDT=02 PAGE: 000-031 log=001c0000-00200000 addr=011c0000-01200000 UR=00 G=0 U1/0=0 S=0 CM=0 M=0 U=0 W=1 PTR: 008 U=1 W=0 UDT=02 PAGE: 000-003 log=00200000-00208000 addr=01200000-01208000 UR=00 G=0 U1/0=0 S=0 CM=0 M=0 U=0 W=1 PAGE: 004-031 log=00208000-00240000 addr=01208000-01240000 UR=00 G=0 U1/0=0 S=0 CM=1 M=0 U=0 W=0 PTR: 009 U=1 W=0 UDT=02 PAGE: 000-031 log=00240000-00280000 addr=01240000-01280000 UR=00 G=0 U1/0=0 S=0 CM=1 M=0 U=0 W=0 PTR: 010 U=1 W=0 UDT=02 PAGE: 000-031 log=00280000-002c0000 addr=01280000-012c0000 UR=00 G=0 U1/0=0 S=0 CM=1 M=0 U=0 W=0 PTR: 011 U=1 W=0 UDT=02 PAGE: 000-031 log=002c0000-00300000 addr=012c0000-01300000 UR=00 G=0 U1/0=0 S=0 CM=1 M=0 U=0 W=0 PTR: 012 U=1 W=0 UDT=02 PAGE: 000-021 log=00300000-0032c000 addr=01300000-0132c000 UR=00 G=0 U1/0=0 S=0 CM=1 M=0 U=0 W=0 PAGE: 022-023 log=0032c000-00330000 addr=0132c000-01330000 UR=00 G=0 U1/0=0 S=0 CM=2 M=0 U=0 W=0 PAGE: 024-031 log=00330000-00340000 addr=01330000-01340000 UR=00 G=0 U1/0=0 S=0 CM=1 M=0 U=0 W=0 PTR: 013 U=1 W=0 UDT=02 PAGE: 000-000 log=00340000-00342000 addr=01340000-01342000 UR=00 G=0 U1/0=0 S=0 CM=1 M=0 U=0 W=0 PAGE: 001-024 log=00342000-00372000 addr=00dd0000-00e00000 UR=00 G=0 U1/0=0 S=0 CM=2 M=0 U=0 W=0 PAGE: 025-026 log=00372000-00376000 addr=00000000-00004000 UR=00 G=0 U1/0=0 S=0 CM=2 M=0 U=0 W=0 ROOT: 001 U=1 W=0 UDT=02 ROOT: 002 U=1 W=0 UDT=02 PTR: 007 U=1 W=0 UDT=02 PAGE: 020-023 log=041e8000-041f0000 addr=00ff8000-01000000 UR=00 G=0 U1/0=0 S=0 CM=2 M=0 U=0 W=0 ROOT: 003 U=1 W=0 UDT=02 ROOT: 127 U=1 W=0 UDT=02 PTR: 064 U=1 W=0 UDT=02 PAGE: 000-007 log=ff000000-ff010000 addr=01332000-01342000 UR=00 G=0 U1/0=0 S=0 CM=2 M=0 U=0 W=0 PTR: 071 U=1 W=0 UDT=02 PAGE: 031-031 log=ff1fe000-ff200000 addr=01330000-01332000 UR=00 G=0 U1/0=0 S=0 CM=2 M=0 U=0 W=0
In the 2nd output you see that virtual addresses >= ff200000 are not mapped at all. The first output incorrectly prints them as being mapped to 0
|
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |