Loading...
Searching...
No Matches
architecture_arch.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Otto-von-Guericke-Universität Magdeburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
12
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
29
30/* Doc is provided centrally in architecture.h, hide this from Doxygen */
31#ifndef DOXYGEN
32# if (__SIZEOF_POINTER__ == 8)
33# define ARCHITECTURE_WORD_BITS (64U)
34# else
35# define ARCHITECTURE_WORD_BITS (32U)
36# endif
37# define ARCHITECTURE_BREAKPOINT(v) native_breakpoint()
38#endif /* DOXYGEN */
39
40#ifdef __cplusplus
41}
42#endif
43
void native_breakpoint(void)
raise SIGTRAP