summaryrefslogtreecommitdiff
path: root/source/config/lcdriver_error_codes_h.xsl
blob: 55fc0b1ce9e3bb43e655ca54eab24a818df97b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (C) ST-Ericsson SA 2011
* License terms: 3-clause BSD license
-->
<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">

<output method="text"/>
<strip-space elements="*"/>
<param name="target"/>

<template match="/commandspec">/* $Copyright ST-Ericsson 2010$ */
/* NOTE: This is an automatically generated file. DO NOT EDIT! */

#ifndef _LCDRIVERERRORCODE_H
#define _LCDRIVERERRORCODE_H

/**
 *  Error codes for LCDriver.
 */

/**
 * Table for Error groups range
 *
 * General Fatal 10001-10025
 * General Non-Fatal 10026-10050
 *
 * Interface Fatal 10051-10075
 * Interface Non-Fatal 10076-10100
 *
 * System Thread Fatal 10101-10125
 * System Thread Non-Fatal 10126-10150
 *
 * Bulk Fatal 10151-10175
 * Bulk Non-Fatal 10176-10200
 *
 * Hardware Fatal 10201-10225
 * Hardware Non-Fatal 10226-10250
 *
 * Loader Command Execution Fatal 10251-10275
 * Loader Command Execution Non-Fatal 10276-10300
 *
 * Buffers Fatal 10301-10325
 * Buffers Non-Fatal 10326-10350
 *
 * IO File Fatal 10351-10375
 * IO File Non-Fatal 10376-10400
 *
 * LCM DLL Fatal 10401-10425
 * LCM DLL Non-Fatal 10426-10450
 *
 * Exceptions Fatal 10451-10475
 * Exceptions Non-Fatal 10476-10500
 *
 * LCDriver Thread Fatal 10501-10525
 * LCDriver Thread Non-Fatal 10526-10550
 *
 */
<apply-templates select="status"/>
#endif /* _LCDRIVERERRORCODE_H */
</template>

<template match="status">
typedef enum {
<apply-templates select="value"/>} InternalErrorCodes_e;
</template>
  
<template match="value">
  <text>  </text><value-of select="@name"/> = <value-of select="@number"/><if test="position() != last()">,</if>  /** <value-of select="@short"/> */
</template>

</stylesheet>