libpynq  (release 5EID0-2023 version 0.3.0 of 2024-04-25 09:42 )
ARM MMIO library

Data Structures

struct  arm_shared_t
 

Typedefs

typedef struct arm_shared_t arm_shared
 

Functions

void * arm_shared_init (arm_shared *handle, const uint32_t address, const uint32_t length)
 
void arm_shared_close (arm_shared *handle)
 

Detailed Description

Do not use. Low-level functions for MMIO access to the FPGA fabric.

This library gives low-level memory-mapped access to the hardware units in the FPGA.

This is an internal library and should not be directly used.

Typedef Documentation

◆ arm_shared

typedef struct arm_shared_t arm_shared

Object handle.

Definition at line 48 of file arm_shared_memory_system.h.

Function Documentation

◆ arm_shared_close()

void arm_shared_close ( arm_shared handle)
Parameters
handlea handle to its internal state.

closes the shared memory region, invalidating the previously accessed pointer.

Definition at line 70 of file arm_shared_memory_system.c.

Here is the caller graph for this function:

◆ arm_shared_init()

void* arm_shared_init ( arm_shared handle,
const uint32_t  address,
const uint32_t  length 
)
Parameters
handlea handle to store it internal state.
addressaddress to access (should be in the shared memory range).
lengththe length of the section to access.

Open a shared memory for reading and writing.

Returns
a pointer to the shared memory region.

Definition at line 32 of file arm_shared_memory_system.c.

Here is the caller graph for this function: