GuestTransfer

ScarletNX's fixup arm.sail

A multiple transfer checks its whole range before its first access, and moves nothing when any of it would fault (ScarletNX's flat-memory fault policy, arm/README.md's "Limits": not an MMU's partial transfer): GuestTransfer(address, bytes, write) opens it, and the accesses after it in the instruction are within it. These are sail-arm's LDM, STM, PUSH and POP with that call first. A register stored that the instruction writes back before (UNKNOWN in ARMv6 and later) is stored as it was, where the ARM7TDMI (ARMv4T) stores the base written back (mGBA's); ARMv6 made that store UNPREDICTABLE (UnpredictableEncoding, below), ARMv7 UNKNOWN

val GuestTransfer : (bits(32), int, bool) -> unit

Used by


Made from ScarletNX's Sail at 166ad3910f80. sail-arm's definitions are Arm's ASL in Sail (BSD 3-Clause Clear, license); ScarletNX's fixups are GPL-3.0-or-later.