summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/techspecs/device_memory_interface.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/techspecs/device_memory_interface.rst')
-rw-r--r--docs/source/techspecs/device_memory_interface.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/source/techspecs/device_memory_interface.rst b/docs/source/techspecs/device_memory_interface.rst
index d38faf8c996..f35a1887cee 100644
--- a/docs/source/techspecs/device_memory_interface.rst
+++ b/docs/source/techspecs/device_memory_interface.rst
@@ -40,12 +40,13 @@ instructions separately from the data.
2. Setup
--------
-| std::vector<std::pair<int, const address_space_config *>>\ **memory_space_config**\ (int spacenum) const
+| std::vector<std::pair<int, const address_space_config \*>>\ **memory_space_config**\ (int spacenum) const
The device must override that method to provide a vector of pairs
comprising of a space number and its associated
**address_space_config** describing its configuration. Some examples
to look up when needed:
+
* Standard two-space vector: v60_device
* Conditional AS_OPCODE: z80_device
* Inherit config and add a space: m6801_device
@@ -106,7 +107,7 @@ version tests for AS_PROGRAM/AS_0.
Does a logical to physical address translation through the device's
MMU. spacenum gives the space number, intention the type of the
-future access (TRANSLATE_(READ|WRITE|FETCH)(|_USER|_DEBUG)) and
+future access (TRANSLATE_(READ\|WRITE\|FETCH)(\|_USER\|_DEBUG)) and
address is an inout parameter with the address to translate and its
translated version. Should return true if the translation went
correctly, false if the address is unmapped.