Software APIs
stdalign.h
Go to the documentation of this file.
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_STDALIGN_H_
6 #define OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_STDALIGN_H_
7 
8 /**
9  * @file
10  * @brief C library Alignment (Freestanding)
11  *
12  * This header implements the stdalign.h standard header, as required by C11
13  * S4p6. This header is specified in detail in S7.15 of the same.
14  */
15 
16 #define alignas _Alignas
17 #define __alignas_is_defined 1
18 
19 #define alignof _Alignof
20 #define __alignof_is_defined 1
21 
22 #endif // OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_STDALIGN_H_