libmetal
Functions
io.c File Reference
#include <errno.h>
#include "metal/io.h"

Functions

int metal_io_block_read (struct metal_io_region *io, unsigned long offset, void *restrict dst, int len)
 Read a block from an I/O region. More...
 
int metal_io_block_write (struct metal_io_region *io, unsigned long offset, const void *restrict src, int len)
 Write a block into an I/O region. More...
 
int metal_io_block_set (struct metal_io_region *io, unsigned long offset, unsigned char value, int len)
 fill a block of an I/O region. More...