Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2005-2011 by Wind River Systems, Inc. |
| 3 | * |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 4 | * SPDX-License-Identifier: MIT |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | * |
| 6 | */ |
| 7 | |
| 8 | #include <bits/wordsize.h> |
| 9 | |
Andrew Geissler | 1e34c2d | 2020-05-29 16:02:59 -0500 | [diff] [blame] | 10 | #if __WORDSIZE == 32 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | |
| 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 Geissler | 1e34c2d | 2020-05-29 16:02:59 -0500 | [diff] [blame] | 26 | #elif __WORDSIZE == 64 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | #include <ENTER_HEADER_FILENAME_HERE-64.h> |
| 28 | #else |
| 29 | #error "Unknown __WORDSIZE detected" |
| 30 | #endif /* matches #if __WORDSIZE == 32 */ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | |