include/hcs12/applicfg.h
author frdupin
Mon, 29 Jan 2007 15:39:20 +0100
changeset 81 9ea761516104
parent 13 0e43acff2c96
child 83 3a7d54b0a299
permissions -rw-r--r--
hcs12 is big_endian
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
/*
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     2
This file is part of CanFestival, a library implementing CanOpen Stack. 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     3
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     4
Copyright (C): Edouard TISSERANT and Francis DUPIN
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     5
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     6
See COPYING file for copyrights details.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     7
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     8
This library is free software; you can redistribute it and/or
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     9
modify it under the terms of the GNU Lesser General Public
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    10
License as published by the Free Software Foundation; either
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    11
version 2.1 of the License, or (at your option) any later version.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    12
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    13
This library is distributed in the hope that it will be useful,
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    14
but WITHOUT ANY WARRANTY; without even the implied warranty of
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    16
Lesser General Public License for more details.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    17
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    18
You should have received a copy of the GNU Lesser General Public
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    19
License along with this library; if not, write to the Free Software
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    20
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    21
*/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    22
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    23
#ifndef __APPLICFG_HC12__
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    24
#define __APPLICFG_HC12__
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    25
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    26
#include <string.h>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    27
#include <stdio.h>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    28
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    29
#include <../include/hcs12/asm-m68hc12/portsaccess.h>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    30
#include <../include/hcs12/asm-m68hc12/ports_def.h>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    31
#include <../include/hcs12/asm-m68hc12/ports.h>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    32
#include <../include/hcs12/interrupt.h>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    33
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    34
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    35
/// Define the architecture : little_endian or big_endian
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    36
// -----------------------------------------------------
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    37
// Test :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    38
// UNS32 v = 0x1234ABCD;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    39
// char *data = &v;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    40
//
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    41
// Result for a little_endian architecture :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    42
// data[0] = 0xCD;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    43
// data[1] = 0xAB;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    44
// data[2] = 0x34;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    45
// data[3] = 0x12;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    46
//
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    47
// Result for a big_endian architecture :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    48
// data[0] = 0x12;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    49
// data[1] = 0x34;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    50
// data[2] = 0xAB;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    51
// data[3] = 0xCD;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    52
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    53
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    54
#define CANOPEN_BIG_ENDIAN
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    55
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    56
// Use or not the PLL
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    57
//#define USE_PLL
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    58
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    59
#ifdef USE_PLL
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    60
#  define BUS_CLOCK 24 // If the quartz on the board is 16 MHz. If different, change this value
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    61
#else 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    62
#  define BUS_CLOCK 8  // If the quartz on the board is 16 MHz. If different, change this value
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    63
#endif
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    64
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    65
/// Configuration of the serials port SCI0 and SCI1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    66
// Tested : 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    67
//   SERIAL_SCI0_BAUD_RATE 9600      BUS_CLOCK 8   Send OK      Receive not tested
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    68
//   SERIAL_SCI0_BAUD_RATE 19200     BUS_CLOCK 8   Send OK      Receive not tested
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    69
//   SERIAL_SCI0_BAUD_RATE 38400     BUS_CLOCK 8   Send OK      Receive not tested
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    70
//   SERIAL_SCI0_BAUD_RATE 57600     BUS_CLOCK 8   Send Failed  Receive not tested
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    71
//   SERIAL_SCI0_BAUD_RATE 115200    BUS_CLOCK 8   Send Failed  Receive not tested
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    72
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    73
//   SERIAL_SCI0_BAUD_RATE 9600      BUS_CLOCK 24  Send OK      Receive not tested
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    74
//   SERIAL_SCI0_BAUD_RATE 19200     BUS_CLOCK 24  Send OK      Receive not tested
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    75
//   SERIAL_SCI0_BAUD_RATE 38400     BUS_CLOCK 24  Send OK but init problems     Receive not tested
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    76
//   SERIAL_SCI0_BAUD_RATE 57600     BUS_CLOCK 24  Send Failed  Receive not tested
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    77
//   SERIAL_SCI0_BAUD_RATE 115200    BUS_CLOCK 24  Send Failed  Receive not tested
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    78
13
0e43acff2c96 Modifs mineures.
dejoigny
parents: 0
diff changeset
    79
#define SERIAL_SCI0_BAUD_RATE 38400
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    80
#define SERIAL_SCI1_BAUD_RATE 9600
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    81
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    82
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    83
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    84
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    85
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    86
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    87
// Several hardware definitions functions
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    88
// --------------------------------------
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    89
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    90
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    91
/// Initialisation of the serial port 0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    92
extern void initSCI_0 (void);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    93
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    94
/// Initialisation of the serial port 1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    95
extern void initSCI_1 (void);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    96
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    97
/// Convert an integer to a string in hexadecimal format
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    98
/// If you do not wants to use a lastCar, put lastCar = '\0' (end of string)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    99
/// ex : value = 0XABCDEF and lastCar = '\n'
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   100
/// buf[0] = '0'
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   101
/// buf[1] = 'X'
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   102
/// buf[2] = 'A'
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   103
/// ....
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   104
/// buf[7] = 'F'
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   105
/// buf[8] = '\n'
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   106
/// buf[9] = '\0'
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   107
extern char *
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   108
hex_convert (char *buf, unsigned long value, char lastCar);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   109
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   110
/// Print the string to the serial port sci 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   111
/// (sci takes the values SCI0 or SCI1)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   112
extern void printSCI_str (char sci, const char * str); 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   113
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   114
/// Print the number in hexadecimal  to the serial port sci 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   115
/// (sci takes the values SCI0 or SCI1)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   116
extern void printSCI_nbr (char sci, unsigned long nbr, char lastCar);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   117
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   118
/// to start using the PLL. Bus clock becomes 24 MHz if the quartz 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   119
/// on the board is at 16 MHz
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   120
extern void initPLL (void);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   121
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   122
/// Put here all the code to init the HCS12
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   123
extern void initHCS12 (void);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   124
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   125
// Integers
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   126
#define INTEGER8 signed char
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   127
#define INTEGER16 short
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   128
#define INTEGER24
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   129
#define INTEGER32 long
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   130
#define INTEGER40
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   131
#define INTEGER48
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   132
#define INTEGER56
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   133
#define INTEGER64
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   134
 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   135
// Unsigned integers
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   136
#define UNS8   unsigned char
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   137
#define UNS16  unsigned short
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   138
#define UNS32  unsigned long
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   139
#define UNS24
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   140
#define UNS40
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   141
#define UNS48
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   142
#define UNS56
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   143
#define UNS64 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   144
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   145
// Whatever your microcontroller, the timer wont work if 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   146
// TIMEVAL is not at least on 32 bits
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   147
#define TIMEVAL UNS32 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   148
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   149
// The timer of the hcs12 counts from 0000 to 0xFFFF
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   150
#define TIMEVAL_MAX 0xFFFF
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   151
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   152
// The timer is incrementing every 4 us.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   153
#define MS_TO_TIMEVAL(ms) (ms * 250)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   154
#define US_TO_TIMEVAL(us) (us>>2)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   155
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   156
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   157
// Reals
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   158
#define REAL32	float
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   159
#define REAL64 double
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   160
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   161
#include "can.h"
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   162
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   163
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   164
/// Definition of MSG_ERR
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   165
// ---------------------
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   166
#ifdef DEBUG_ERR_CONSOLE_ON
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   167
#    define MSG_ERR(num, str, val)            \
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   168
          initSCI_0();                        \
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   169
          printSCI_nbr(SCI0, num, ' ');       \
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   170
          /* large printing on console  */    \
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   171
          printSCI_str(SCI0, str);            \
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   172
          printSCI_nbr(SCI0, val, '\n');      
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   173
#else
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   174
#    define MSG_ERR(num, str, val)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   175
#endif
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   176
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   177
/// Definition of MSG_WAR
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   178
// ---------------------
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   179
#ifdef DEBUG_WAR_CONSOLE_ON
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   180
#    define MSG_WAR(num, str, val)          \
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   181
        initSCI_0();                        \
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   182
        printSCI_nbr(SCI0, num, ' ');       \
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   183
        /* large printing on console  */    \
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   184
        printSCI_str(SCI0, str);            \
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   185
        printSCI_nbr(SCI0, val, '\n');      
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   186
#else
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   187
#    define MSG_WAR(num, str, val)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   188
#endif
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   189
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   190
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   191
#endif
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   192
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   193