summaryrefslogtreecommitdiff
path: root/c/src/lib/libbsp/arm/xm-tms570/startup/xmhdr.c
blob: 20e5abfb090e4ce2a44a99ba3b61994bfb51fd1b (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
/*
 * @file xmhdr.c
 *
 * @author Miguel Masmano <mmasmano@fentiss.com>
 *
 * @copyright
 * Copyright 2016 Fent Innovative Software Solutions (FENTISS). 
 * All rights reserved.
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 * http://www.rtems.org/license/LICENSE.
 */

#include <xm.h>

/* 
   This header must be included within the partition 
   in order to be loaded by XtratuM
*/

struct xmImageHdr xmImageHdr __XMIHDR = {
    .sSignature=XMEF_PARTITION_MAGIC,
    .compilationXmAbiVersion=XM_SET_VERSION(XM_ABI_VERSION, XM_ABI_SUBVERSION, XM_ABI_REVISION),
    .compilationXmApiVersion=XM_SET_VERSION(XM_API_VERSION, XM_API_SUBVERSION, XM_API_REVISION),
    .noCustomFiles=0,
    .eSignature=XMEF_PARTITION_MAGIC,
};