<!doctype html public
"-//w3c//dtd html 4.0 transitional//en">
<title>MMI memory access functions
</title>
<body bgcolor=
"#FFFFFF" LANG=
"en-US">
<h2> mmi_memread,mmi_memwrite
</h2>
<ul>mmi_memread - Read arbitrary number of bytes from memory
</ul>
<ul>mmi_memwrite - Write arbitrary number of bytes to memory
</ul>
<ul><font color=
"#0000FF">#include
"mmi.h"</font>
<p>void mmi_memread(uint64_t paddr, uint8_t * data, uint64_t size)
<p>void mmi_memwrite(uint64_t paddr, const uint8_t * data, uint64_t size)
</ul>
<ul>These functions read/write an arbitrary number of bytes from/to SAM memory.
There are no size or alignment restrictions.
<br>The read/write is guaranteed to
The device model needs to ensure that the data buffer is of the correct size.