summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/include/grcan_rasta.h
blob: d0b5b668537ec62034946c65a73b6bd046d6857c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#ifndef __GRCAN_RASTA_H__
#define __GRCAN_RASTA_H__

#include <grcan.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Registers the GRCAN for RASTA 
 * 
 * rambase is address of the first GRCAN core has it's TX buffer, followed by
 * it's RX buffer
 */
int grcan_rasta_ram_register(amba_confarea_type *abus, int rambase);

extern void (*grcan_rasta_int_reg)(void *handler, int irq, void *arg);

#ifdef __cplusplus
}
#endif

#endif