libpynq (release 5EWC0-2023 version 0.2.6 of 2023-10-24 17:28)
Loading...
Searching...
No Matches
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)
extern
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 
)
extern
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: