• Ben Avison's avatar
    Simplify physical memory access, and reduce TLB operations · 4f9af0d4
    Ben Avison authored
    * Separate out the act of mapping in a physical address (with fallbacks to
      progressively older APIs) from the loading or storing of each 1-8 byte
      location, using a system of callback functions.
    * Remember which OS_Memory calls (if any) are available on the current kernel
      to avoid having to test them again for each address accessed.
    * Defer releasing the temporarily-mapped IO window until the end of the
      respective star command (as permitted by the OS_Memory documentation) to
      effectively halve the number of times the TLB has to be flushed. Note that
      the window will remain mapped if we exit via an exception during memory
      access, but this was the case in previous versions too, and now you can at
      least unmap it by issuing a further *Memory P command that doesn't cause an
      exception.
    
    Version 2.04. Tagged as 'Debugger-2_04'
    4f9af0d4
Name
Last commit
Last update
Doc Loading commit data...
Resources Loading commit data...
Test Loading commit data...
actions Loading commit data...
c Loading commit data...
cache Loading commit data...
h Loading commit data...
hdr Loading commit data...
rm Loading commit data...
s Loading commit data...
!Mk,fd7 Loading commit data...
!MkClean,fd7 Loading commit data...
!MkDis2,fd7 Loading commit data...
!MkExport,fd7 Loading commit data...
!MkRom,fd7 Loading commit data...
.gitattributes Loading commit data...
BlackLog Loading commit data...
HelpSrc Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
VersionASM Loading commit data...
VersionNum Loading commit data...