dsdiag/source/reboot.h
Max Fierke aa8318bbc9 Initial commit of DSdiag 2.0
Signed-off-by: Max Fierke <max@maxfierke.com>
2012-12-08 13:45:19 -06:00

51 lines
824 B
C

/**********************************
Copyright (C) Rick Wong (Lick)
http://lickr.org
http://licklick.wordpress.com/
This code is licensed under GPL
***********************************/
#ifndef __REBOOT_H
#define __REBOOT_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BOOL
#define BOOL int
#endif
//====================================
#ifdef ARM9
//-----------------------------
BOOL can_reboot();
//-----------------------------
void reboot();
//-----------------------------
void reboot_custom(unsigned int arm7_entry);
//====================================
#endif
//====================================
#ifdef ARM7
//-----------------------------
BOOL need_reboot();
//-----------------------------
void reboot();
//====================================
#endif
#ifdef __cplusplus
}
#endif
#endif