Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
architecture_arch.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
20
#ifndef ARCHITECTURE_ARCH_H
21
#define ARCHITECTURE_ARCH_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
32
void
native_breakpoint
(
void
);
33
34
/* Doc is provided centrally in architecture.h, hide this from Doxygen */
35
#ifndef DOXYGEN
36
#if (__SIZEOF_POINTER__ == 8)
37
#define ARCHITECTURE_WORD_BITS (64U)
38
#else
39
#define ARCHITECTURE_WORD_BITS (32U)
40
#endif
41
#define ARCHITECTURE_BREAKPOINT(v) native_breakpoint()
42
#endif
/* DOXYGEN */
43
44
#ifdef __cplusplus
45
}
46
#endif
47
49
#endif
/* ARCHITECTURE_ARCH_H */
native_breakpoint
void native_breakpoint(void)
raise SIGTRAP
Generated on Fri Nov 15 2024 22:46:35 by
1.9.8