blob: 221c2e537c3175f2987b305c8f8217c805bd3a1f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* SPDX-License-Identifier: copyleft-next-0.3.1 */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
#ifndef KMI_ARCH_TYPES_H
#define KMI_ARCH_TYPES_H
/**
* @file types.h
* Arch-specific types.
*
* Doxygen thinks types.h if include/kmi/types.h, but it's actually
* arch/whatever/include/types.h. Not sure how to fix that.
*
* \todo Fix incorrect include file reference in doxygen.
*/
#if defined(__riscv)
# if __riscv_xlen == 64
#include "../../arch/riscv64/include/types.h"
# elif
#include "../../arch/riscv32/include/types.h"
# endif
#endif
#endif /* KMI_ARCH_TYPES_H */
|