// Copyright 2017 The Fuchsia Authors | |
// | |
// Use of this source code is governed by a MIT-style | |
// license that can be found in the LICENSE file or at | |
// https://opensource.org/licenses/MIT | |
#pragma once | |
#include <zircon/compiler.h> | |
__BEGIN_CDECLS | |
enum reboot_flags { | |
REBOOT_NORMAL = 0, | |
REBOOT_BOOTLOADER = 1, | |
REBOOT_RECOVERY = 2, | |
}; | |
void power_reboot(enum reboot_flags flags); | |
void power_shutdown(void); | |
__END_CDECLS |