Removed the bulk transfer APIs and added a transfer count to readMemory() and writeMemory(). The bulk transfers didn't really provide any benefit over single transfers regarding simplicity of the API since pointers to the data are required for both.
Also added an attributes parameter to set transfer attributes, with an enum defining some common attributes. The attributes are designed so that passing 0 will result in a default of Secure Privileged. A basic set of abstract attributes (just Nonsecure and Non-privileged for now) work for both AHB and AXI, with the debugger's help in translating them to the appropriate AHB-AP or AXI-AP CSW bits (to support default devices).
Removed the bulk transfer APIs and added a transfer count to
readMemory()
andwriteMemory()
. The bulk transfers didn't really provide any benefit over single transfers regarding simplicity of the API since pointers to the data are required for both.Also added an attributes parameter to set transfer attributes, with an enum defining some common attributes. The attributes are designed so that passing 0 will result in a default of Secure Privileged. A basic set of abstract attributes (just Nonsecure and Non-privileged for now) work for both AHB and AXI, with the debugger's help in translating them to the appropriate AHB-AP or AXI-AP CSW bits (to support default devices).