po_hi_driver_linux_serial.c 579 Bytes
Newer Older
1
2
3
4
5
6
7
8
/*
 * This is a part of PolyORB-HI-C distribution, a minimal
 * middleware written for generated code from AADL models.
 * You should use it with the Ocarina toolsuite.
 *
 * Copyright (C) 2010, European Space Agency
 */

9
10
11
12
13
14
#include <drivers/po_hi_driver_linux_serial.h>

#ifdef __PO_HI_NEED_SERIAL_LINUX

#include <stdio.h>

15
16
void __po_hi_c_driver_serial_linux_poller (void)
{
17
18
19
20
21
22
23
      printf ("Hello, i'm the serial linux poller !\n");
}


void __po_hi_c_driver_serial_linux_init (void)
{
      printf ("Hello, i'm the serial driver, i'm initializing the whole thing\n");
24
25
}

26
27
#endif