/* SPDX-License-Identifier: MIT */ /* * Copyright (C) 2020, 2024 Kernkonzept GmbH. * Author(s): Sarah Hoffmann * */ /* * \brief Just reboot * \date 2006-03 * \author Adam Lackorzynski * * (c) 2006-2009 Author(s) */ #include #include int main(void) { l4_cap_idx_t pfc = l4re_env_get_cap("pfc"); if (l4_is_valid_cap(pfc)) l4_platform_ctl_system_shutdown(pfc, 1); return 0; }