blob: 88f319381235dbfde388590c9d3e478908f427a4 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001/*
2 * Copyright (C) 2005-2011 by Wind River Systems, Inc.
3 *
Brad Bishopc342db32019-05-15 21:57:59 -04004 * SPDX-License-Identifier: MIT
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005 *
6 */
7
8#include <bits/wordsize.h>
9
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050010#if __WORDSIZE == 32
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011
12#ifdef _MIPS_SIM
13
14#if _MIPS_SIM == _ABIO32
15#include <ENTER_HEADER_FILENAME_HERE-32.h>
16#elif _MIPS_SIM == _ABIN32
17#include <ENTER_HEADER_FILENAME_HERE-n32.h>
18#else
19#error "Unknown _MIPS_SIM"
20#endif
21
22#else /* _MIPS_SIM is not defined */
23#include <ENTER_HEADER_FILENAME_HERE-32.h>
24#endif
25
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050026#elif __WORDSIZE == 64
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027#include <ENTER_HEADER_FILENAME_HERE-64.h>
28#else
29#error "Unknown __WORDSIZE detected"
30#endif /* matches #if __WORDSIZE == 32 */
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031