doc: fix name of DEFINE_MEM_MAP in documentation
Documentation is using an incorrect name for the macro available to allocate memory maps. Change-Id: Ic2a93d3851219cb91f3c9c01e2aa19e38913abdd Signed-off-by: Rohit Grover <rohit.grover@arm.com>
This commit is contained in:
parent
93c937fb8c
commit
d3a743e96f
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ Define the memory map in a source file using the following syntax:
|
|||
|
||||
.. code-block:: c
|
||||
|
||||
DEFINE_MEMORY_MAP(name, num_blocks, block_size);
|
||||
DEFINE_MEM_MAP(name, num_blocks, block_size);
|
||||
|
||||
|
||||
Example: Defining a Memory Map, Referencing it from Elsewhere in the Application
|
||||
|
@ -99,7 +99,7 @@ This code defines a private memory map named ``PRIV_MEM_MAP``:
|
|||
|
||||
.. code-block:: c
|
||||
|
||||
DEFINE_MEMORY_MAP(PRIV_MEM_MAP, 6, 200);
|
||||
DEFINE_MEM_MAP(PRIV_MEM_MAP, 6, 200);
|
||||
|
||||
To reference the map from a different source file, use the following syntax:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue