add memset asm code
[ti-x.git] / src / arch / linux_x86 / support.h
blobe526fca518dae2f20ace8ea4ff5930edcfa49943
1 /* the ti-x embed operation system
2 *
3 * it is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * it is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with it; If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>
16 * Copyright (C) 2009, Ruki All rights reserved.
17 * Home: <a href="http://www.xxx.org">http://www.xxx.org</a>
19 * \author ruki
20 * \date 09.11.20
21 * \file support.h
24 #ifndef TI_ARCH_LINUX_x86_SUPPORT_H
25 #define TI_ARCH_LINUX_x86_SUPPORT_H
27 // 64-bit support
28 #define TI_ARCH_HAVE_INT64
30 // float support
31 #define TI_ARCH_HAVE_FLOAT
32 #define TI_ARCH_HAVE_FLOAT_SOFT
33 //#define TI_ARCH_HAVE_FLOAT_HARD
35 /* ////////////////////////////////////////////////////////////////////////
36 * c runtime library support, specific architecture
39 /* ////////////////////////////////////////////////////////////////////////
40 * memory operation
42 // memcpy
43 #define TI_ARCH_SPEC_HAVE_MEMCPY
44 // memset
45 #define TI_ARCH_SPEC_HAVE_MEMSET
47 /* ////////////////////////////////////////////////////////////////////////
48 * string operation
50 // strlen
51 #define TI_ARCH_SPEC_HAVE_STRLEN
52 // strnen
53 #define TI_ARCH_SPEC_HAVE_STRNLEN
54 // strcmp
55 #define TI_ARCH_SPEC_HAVE_STRCMP
56 // strncmp
57 #define TI_ARCH_SPEC_HAVE_STRNCMP
58 // strcpy
59 #define TI_ARCH_SPEC_HAVE_STRCPY
60 // strncpy
61 #define TI_ARCH_SPEC_HAVE_STRNCPY
63 /* ////////////////////////////////////////////////////////////////////////
64 * console operation
66 // getchar
67 #define TI_ARCH_SPEC_HAVE_GETCHAR
68 // putchar
69 #define TI_ARCH_SPEC_HAVE_PUTCHAR
70 // gets
71 #define TI_ARCH_SPEC_HAVE_GETS
72 // puts
73 #define TI_ARCH_SPEC_HAVE_PUTS
75 /* ////////////////////////////////////////////////////////////////////////
76 * utils operation
78 // isdigit
79 #define TI_ARCH_SPEC_HAVE_ISDIGIT
81 #endif