OpenCores
URL https://opencores.org/ocsvn/mips_enhanced/mips_enhanced/trunk

Subversion Repositories mips_enhanced

[/] [mips_enhanced/] [trunk/] [grlib-gpl-1.0.19-b3188/] [software/] [spw/] [rmapapi.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
/*****************************************************************************/
2
/*   This file is a part of the GRLIB VHDL IP LIBRARY */
3
/*   Copyright (C) 2004 GAISLER RESEARCH */
4
 
5
/*   This program is free software; you can redistribute it and/or modify */
6
/*   it under the terms of the GNU General Public License as published by */
7
/*   the Free Software Foundation; either version 2 of the License, or */
8
/*   (at your option) any later version. */
9
 
10
/*   See the file COPYING for the full details of the license. */
11
/*****************************************************************************/
12
 
13
enum rmap_type {writecmd, readcmd, rmwcmd, writerep, readrep, rmwrep};
14
enum sel_type {no = 0, yes = 1};
15
 
16
struct rmap_pkt
17
{
18
   enum rmap_type type;
19
   enum sel_type verify;
20
   enum sel_type ack;
21
   enum sel_type incr;
22
   int destaddr;
23
   int destkey;
24
   int srcaddr;
25
   int tid;
26
   int addr;
27
   int len;
28
   int status;
29
   int dstspalen;
30
   char *dstspa;
31
   int srcspalen;
32
   char *srcspa;
33
};
34
 
35
int build_rmap_hdr(struct rmap_pkt *pkt, char *hdr, int *size);
36
 
37
int parse_rmap_pkt(struct rmap_pkt *pkt, char *hdr, int *size);
38
 
39
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.