OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [itron/] [include/] [itronsys/] [network.h] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
2
 *  COPYRIGHT (c) 1989-1999.
3
 *  On-Line Applications Research Corporation (OAR).
4
 *
5
 *  The license and distribution terms for this file may be
6
 *  found in the file LICENSE in this distribution or at
7
 *  http://www.OARcorp.com/rtems/license.html.
8
 *
9
 *  $Id: network.h,v 1.2 2001-09-27 11:59:12 chris Exp $
10
 */
11
 
12
#ifndef __ITRON_NETWORK_h_
13
#define __ITRON_NETWORK_h_
14
 
15
#ifdef __cplusplus
16
extern "C" {
17
#endif
18
 
19
/*
20
 *  NODE srcnode, dstnode, nod:
21
 */
22
 
23
#define TND_SELF   0      /* specifies the local node */
24
#define TND_OTHR   (-1)   /* specifies default remote node */
25
 
26
/*
27
 *  Network Functions
28
 */
29
 
30
/*
31
 *  nrea_dat - Read Data from another Node
32
 */
33
 
34
ER nrea_dat(
35
  INT *p_reasz,
36
  VP dstadr,
37
  NODE srcnode,
38
  VP srcadr,
39
  INT datsz
40
);
41
 
42
/*
43
 *  nwri_dat - Write Data to another Node
44
 */
45
 
46
ER nwri_dat(
47
  INT *p_wrisz,
48
  NODE dstnode,
49
  VP dstadr,
50
  VP srcadr,
51
  INT datsz
52
);
53
 
54
/*
55
 *  nget_nod - Get Local Node Number
56
 */
57
 
58
ER nget_nod(
59
  NODE *p_node
60
);
61
 
62
/*
63
 *  nget_ver - Get Version Information of another Node
64
 */
65
 
66
ER nget_ver(
67
  T_VER *pk_ver,
68
  NODE node
69
);
70
 
71
 
72
#ifdef __cplusplus
73
}
74
#endif
75
 
76
#endif
77
/* end of include file */
78
 

powered by: WebSVN 2.1.0

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