summaryrefslogtreecommitdiffstats
path: root/src/include/sys/misc.h
blob: 8e963ad2eea4dbf8c54ef528a1bbb1d898c9c839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __SYS_MISC_H
#define __SYS_MISC_H

#include <stdint.h>

#ifdef __cplusplus
extern "C"
{
#endif

/** @fn shutdown()
 *  @brief Shutdown all CPUs (hardware threads)
 *  @param[in] i_status The status code to post
 */
void shutdown(uint64_t i_status);

#ifdef __cplusplus
}
#endif

#endif
OpenPOWER on IntegriCloud