aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaurabh Bipin Chandra2013-09-04 09:28:45 -0500
committerSaurabh Bipin Chandra2013-09-05 11:09:16 -0500
commit06f4c11b14926021f4286903074d5544f9f5ba34 (patch)
tree257c4fe41a52ee6e7f9eef1f8deb7a52471e2e65 /packages
parentb483e571e0325deb94e6d5872764844d2e0e8563 (diff)
downloadrepo-libdce-06f4c11b14926021f4286903074d5544f9f5ba34.tar.gz
repo-libdce-06f4c11b14926021f4286903074d5544f9f5ba34.tar.xz
repo-libdce-06f4c11b14926021f4286903074d5544f9f5ba34.zip
[QNX-MAKE] Include XDC, CE, XDAIS, IVAHD Headers from packages
This patch adds std.h from GNU and it directs the build system to include Codec Engine, XDCTools, XDAIS and IVAHD Codec Header files from the packages/ folder. This removes the need for libdce users to install these tools. Change-Id: I368a5aaff4c1edeaf6eae794bea9971787e036e3 Signed-off-by: Saurabh Bipin Chandra <a0131926@ti.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/xdctools/gnu/targets/std.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/packages/xdctools/gnu/targets/std.h b/packages/xdctools/gnu/targets/std.h
new file mode 100644
index 0000000..326ae9b
--- /dev/null
+++ b/packages/xdctools/gnu/targets/std.h
@@ -0,0 +1,82 @@
1/*
2 * Copyright (c) 2008 Texas Instruments and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Texas Instruments - initial implementation
10 *
11 * */
12/*
13 * ======== gnu/targets/std.h ========
14 *
15 */
16
17#ifndef gnu_targets_STD_
18#define gnu_targets_STD_
19
20/* include target-specific "portable" macros */
21#if defined(xdc_target_name__) & !defined(xdc_target_macros_include__)
22#include xdc__local_include(xdc_target_name__)
23#endif
24
25/*
26 * xdc__LONGLONG__ indicates if compiler supports 'long long' type
27 * xdc__BITS<n> __ indicates if compiler supports 'uint<n>_t' type
28 */
29#define xdc__LONGLONG__
30#define xdc__BITS8__
31#define xdc__BITS16__
32#define xdc__BITS32__
33#define xdc__BITS64__
34#define xdc__INT64__
35
36/*
37 * ======== [U]Int<n> ========
38 */
39typedef signed char xdc_Int8;
40typedef unsigned char xdc_UInt8;
41typedef short xdc_Int16;
42typedef unsigned short xdc_UInt16;
43typedef int xdc_Int32;
44
45#if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__) /* Cortex M */
46typedef unsigned xdc_UInt32;
47#else
48typedef unsigned long xdc_UInt32;
49#endif
50
51__extension__ typedef long long xdc_Int64;
52__extension__ typedef unsigned long long xdc_UInt64;
53
54/*
55 * ======== Bits<n> ========
56 */
57typedef unsigned char xdc_Bits8;
58typedef unsigned short xdc_Bits16;
59typedef unsigned int xdc_Bits32;
60__extension__ typedef unsigned long long xdc_Bits64;
61
62/*
63 * ======== [IU]Arg ========
64 */
65typedef long xdc_IArg;
66typedef unsigned long xdc_UArg;
67
68#define xdc__ARG__
69typedef xdc_IArg xdc_Arg; /* deprecated, but compatible with BIOS 5.x */
70
71/*
72 * ======== xdc__META ========
73 */
74#define xdc__META(n, s) __attribute__ ((section("xdc.meta"))) const char (n)[] = { s }
75
76#endif /* gnu_targets_STD_ */
77
78/*
79 * @(#) gnu.targets; 1, 0, 1,603; 6-24-2013 15:21:46; /db/ztree/library/trees/xdctargets/xdctargets-g31x/src/ xlibrary
80
81 */
82