Commit | Line | Data |
---|---|---|
c906108c SS |
1 | /* |
2 | * Copyright (C) 1995 Advanced RISC Machines Limited. All rights reserved. | |
3 | * | |
4 | * This software may be freely used, copied, modified, and distributed | |
5 | * provided that the above copyright notice is preserved in all copies of the | |
6 | * software. | |
7 | */ | |
8 | ||
9 | /* -*-C-*- | |
10 | * | |
11 | * $Revision$ | |
12 | * $Date$ | |
13 | * | |
14 | * | |
15 | * Project: ANGEL | |
16 | * | |
17 | * Title: Enumeration with all supported channels | |
18 | */ | |
19 | ||
20 | #ifndef angel_chandefs_h | |
21 | #define angel_chandefs_h | |
22 | ||
23 | enum channelIDs { | |
24 | CI_PRIVATE = 0, /* channels protocol control messages */ | |
25 | CI_HADP, /* ADP, host originated */ | |
26 | CI_TADP, /* ADP, target originated */ | |
27 | CI_HBOOT, /* Boot, host originated */ | |
28 | CI_TBOOT, /* Boot, target originated */ | |
29 | CI_CLIB, /* Semihosting C library support */ | |
30 | CI_HUDBG, /* User debug support, host originated */ | |
31 | CI_TUDBG, /* User debug support, target originated */ | |
32 | CI_HTDCC, /* Thumb direct comms channel, host orig. */ | |
33 | CI_TTDCC, /* Thumb direct comms channel, target orig. */ | |
34 | CI_TLOG, /* Target debug/logging */ | |
35 | CI_NUM_CHANNELS | |
36 | }; | |
37 | ||
38 | typedef unsigned ChannelID; | |
39 | ||
40 | ||
41 | /* | |
42 | * Size in bytes of the channel header. | |
43 | * This is a duplicate of XXX in chanpriv.h, but we don't want everyone | |
44 | * to have access to all of chanpriv.h, so we'll double-check in chanpriv.h. | |
45 | */ | |
46 | #define CHAN_HEADER_SIZE (4) | |
47 | ||
48 | #endif /* ndef angel_chandefs_h */ | |
49 | ||
50 | /* EOF chandefs.h */ |