OpenCores
URL https://opencores.org/ocsvn/core_arm/core_arm/trunk

Subversion Repositories core_arm

[/] [core_arm/] [trunk/] [soft/] [sim/] [ti/] [sys.h] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 tarookumic
// 2003: Konrad Eisele <eiselekd@web.de>
2
#ifndef TI_SYS_H
3
#define TI_SYS_H
4
 
5
#include <limits.h>
6
#include <float.h>
7
 
8
#ifdef NT
9
#ifdef TMKI_BUILD
10
#define EXTERN __declspec(dllexport) extern
11
#else
12
#define EXTERN __declspec(dllimport) extern
13
#endif /* TMKI_BUILD */
14
#else
15
#define EXTERN extern
16
#endif /* NT */
17
 
18
#define TI_ALIGN(x,y) (((x)+((y)-1))&~((y)-1))
19
#define TI_MEMALIGN(x) TI_ALIGN(x,sizeof(int))
20
#define TI_PTRADD(x,y) (((unsigned long)(x))+(y))
21
 
22
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.