Memory operation functions

@file

IOMEM_HEADER_FILE Macro

C

#define IOMEM_HEADER_FILE

/ Copyright (c) 2018-2020 Silex Insight sa Copyright (c) 2018-2020 Beerten Engineering scs SPDX-License-Identifier: BSD-3-Clause

Clear device memory

Parameters

dst Memory to clear. Will be zeroed after this call

Parameters

sz Number of bytes to clear void ioclrmem(void dst, size_t sz);

Write src to device memory at dst.

The write to device memory will always use write instructions at naturally aligned addresses.

Parameters

dst Destination of write operation. Will be modified after this call

Parameters

src Source of write operation

Parameters

sz The number of bytes to write from src to dst void iowrmem(void dst, const void src, size_t sz);The read from device memory will always use read instructions at naturally aligned addresses.

Parameters

dst Destination of read operation. Will be modified after this call

Parameters

src Source of read operation

Parameters

sz The number of bytes to read from src to dst void iordmem(void dst, const void src, size_t sz);