RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros | Functions
simple_access.c File Reference
#include <rtems.h>
#include <bsp.h>
#include <bsp/pci.h>
#include <bsp/irq.h>
#include <rtems/bspIo.h>
#include <rtems/endian.h>

Macros

#define JPRINTK(fmt, ...)
 

Functions

void simple_out_32 (uint32_t base, uint32_t addr, uint32_t val)
 
void simple_out_le32 (uint32_t base, uint32_t addr, uint32_t val)
 
uint8_t simple_in_8 (uint32_t base, uint32_t addr)
 
int16_t simple_in_le16 (uint32_t base, uint32_t addr)
 
int16_t simple_in_16 (uint32_t base, uint32_t addr)
 
uint32_t simple_in_le32 (uint32_t base, uint32_t addr)
 
uint32_t simple_in_32 (uint32_t base, uint32_t addr)
 
void simple_out_8 (uint32_t base, uint32_t addr, uint8_t val)
 
void simple_out_le16 (uint32_t base, uint32_t addr, uint16_t val)
 
void simple_out_16 (uint32_t base, uint32_t addr, uint16_t val)
 

Detailed Description

This file contains the code to do simple memory and io accesses.