RetroArch
ios.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------
2 
3 ios.h -- IOS control
4 
5 Copyright (C) 2008
6 Michael Wiedenbauer (shagkur)
7 Dave Murphy (WinterMute)
8 Hector Martin (marcan)
9 
10 This software is provided 'as-is', without any express or implied
11 warranty. In no event will the authors be held liable for any
12 damages arising from the use of this software.
13 
14 Permission is granted to anyone to use this software for any
15 purpose, including commercial applications, and to alter it and
16 redistribute it freely, subject to the following restrictions:
17 
18 1. The origin of this software must not be misrepresented; you
19 must not claim that you wrote the original software. If you use
20 this software in a product, an acknowledgment in the product
21 documentation would be appreciated but is not required.
22 
23 2. Altered source versions must be plainly marked as such, and
24 must not be misrepresented as being the original software.
25 
26 3. This notice may not be removed or altered from any source
27 distribution.
28 
29 -------------------------------------------------------------*/
30 
31 #ifndef __IOS_H__
32 #define __IOS_H__
33 
34 #if defined(HW_RVL)
35 
36 #include <gctypes.h>
37 #include <gcutil.h>
38 
39 #define IOS_EINVAL -0x3004
40 #define IOS_EBADVERSION -0x3100
41 #define IOS_ETOOMANYVIEWS -0x3101
42 #define IOS_EMISMATCH -0x3102
43 
44 #ifdef __cplusplus
45  extern "C" {
46 #endif /* __cplusplus */
47 
48 s32 __IOS_InitializeSubsystems(void);
49 s32 __IOS_ShutdownSubsystems(void);
50 s32 __IOS_LoadStartupIOS(void);
51 s32 __IOS_LaunchNewIOS(int version);
52 s32 IOS_GetPreferredVersion(void);
53 s32 IOS_ReloadIOS(int version);
54 s32 IOS_GetVersion();
55 s32 IOS_GetRevision();
56 s32 IOS_GetRevisionMajor();
57 s32 IOS_GetRevisionMinor();
58 
59 #ifdef __cplusplus
60  }
61 #endif /* __cplusplus */
62 
63 #endif
64 
65 #endif
int32_t s32
32bit signed integer
Definition: gctypes.h:24
Data type definitions.
version
Definition: setup.py:6