blob: aebd9c17d48b40933267e0be41ba79b2a767f3b8 [file] [log] [blame] [edit]
// 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>
#include <dev/power.h>
__BEGIN_CDECLS
enum reboot_flags {
REBOOT_NORMAL = 0,
REBOOT_BOOTLOADER = 1,
};
void power_reboot(enum reboot_flags flags);
void power_shutdown(void);
__END_CDECLS