wut  v1.7.0
Wii U Toolchain
bsp.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wut.h>
4 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 typedef int32_t BSPError;
16 typedef uint32_t BSPHardwareVersion;
17 typedef uint32_t BSPConsoleTypeRaw;
18 
19 typedef enum BSPErrors
20 {
25 
26 typedef enum BSPHardwareVersions
27 {
29 
30  // vWii Hardware Versions
38 
39  // WiiU Hardware Versions
61 
64 
67 
70 
73 
74 
76 bspInitialize(const char *entityName,
77  uint32_t instance,
78  const char *attributeName,
79  uint32_t optionSize,
80  void *pOptions);
81 
83 bspShutdown(const char *entity,
84  uint8_t instance,
85  const char *attribute);
86 
88 bspGetEntityVersion(const char *entityName,
89  uint32_t *entityVersion);
90 
92 bspRead(const char *entity,
93  uint8_t instance,
94  const char *attribute,
95  size_t size,
96  void *ptr);
97 
99 bspWrite(const char *entity,
100  uint8_t instance,
101  const char *attribute,
102  size_t size,
103  void *ptr);
104 
105 BSPError
106 bspQuery(const char *entity,
107  uint8_t instance,
108  const char *attribute,
109  size_t size,
110  void *ptr);
111 
112 #ifdef __cplusplus
113 }
114 #endif
115 
BSPError bspGetEntityVersion(const char *entityName, uint32_t *entityVersion)
BSPError bspGetHardwareVersion(BSPHardwareVersion *version)
uint32_t BSPHardwareVersion
Definition: bsp.h:16
BSPError bspShutdownShimInterface()
BSPError bspInitializeShimInterface()
BSPError bspShutdown(const char *entity, uint8_t instance, const char *attribute)
BSPError bspInitialize(const char *entityName, uint32_t instance, const char *attributeName, uint32_t optionSize, void *pOptions)
BSPErrors
Definition: bsp.h:20
BSPHardwareVersions
Definition: bsp.h:27
BSPError bspWrite(const char *entity, uint8_t instance, const char *attribute, size_t size, void *ptr)
int32_t BSPError
Definition: bsp.h:15
uint32_t BSPConsoleTypeRaw
Definition: bsp.h:17
BSPError bspRead(const char *entity, uint8_t instance, const char *attribute, size_t size, void *ptr)
BSPError bspQuery(const char *entity, uint8_t instance, const char *attribute, size_t size, void *ptr)
BSPError bspGetConsoleTypeRaw(BSPConsoleTypeRaw *consoleTypeRaw)
@ BSP_ERROR_IOS_ERROR
Definition: bsp.h:22
@ BSP_ERROR_OK
Definition: bsp.h:21
@ BSP_ERROR_RESPONSE_TOO_LARGE
Definition: bsp.h:23
@ BSP_HARDWARE_VERSION_LATTE_A12_EV
Definition: bsp.h:42
@ BSP_HARDWARE_VERSION_UNKNOWN
Definition: bsp.h:28
@ BSP_HARDWARE_VERSION_LATTE_A4X_EV
Definition: bsp.h:49
@ BSP_HARDWARE_VERSION_LATTE_A12_CAT
Definition: bsp.h:43
@ BSP_HARDWARE_VERSION_BOLLYWOOD
Definition: bsp.h:36
@ BSP_HARDWARE_VERSION_LATTE_A4X_CAT
Definition: bsp.h:50
@ BSP_HARDWARE_VERSION_LATTE_B1X_CAT
Definition: bsp.h:58
@ BSP_HARDWARE_VERSION_HOLLYWOOD_PROD_FOR_WII
Definition: bsp.h:33
@ BSP_HARDWARE_VERSION_LATTE_A5X_CAT
Definition: bsp.h:54
@ BSP_HARDWARE_VERSION_LATTE_A5X_CAFE
Definition: bsp.h:55
@ BSP_HARDWARE_VERSION_LATTE_B1X_EV_Y
Definition: bsp.h:57
@ BSP_HARDWARE_VERSION_BOLLYWOOD_PROD_FOR_WII
Definition: bsp.h:37
@ BSP_HARDWARE_VERSION_LATTE_A4X_CAFE
Definition: bsp.h:51
@ BSP_HARDWARE_VERSION_LATTE_A3X_CAFE
Definition: bsp.h:48
@ BSP_HARDWARE_VERSION_LATTE_A5X_EV_Y
Definition: bsp.h:53
@ BSP_HARDWARE_VERSION_LATTE_A2X_EV
Definition: bsp.h:44
@ BSP_HARDWARE_VERSION_LATTE_B1X_EV
Definition: bsp.h:56
@ BSP_HARDWARE_VERSION_LATTE_A11_CAT
Definition: bsp.h:41
@ BSP_HARDWARE_VERSION_HOLLYWOOD_CORTADO_ESPRESSO
Definition: bsp.h:35
@ BSP_HARDWARE_VERSION_HOLLYWOOD_ENG_SAMPLE_1
Definition: bsp.h:31
@ BSP_HARDWARE_VERSION_LATTE_A3X_CAT
Definition: bsp.h:47
@ BSP_HARDWARE_VERSION_LATTE_A2X_CAT
Definition: bsp.h:45
@ BSP_HARDWARE_VERSION_LATTE_A11_EV
Definition: bsp.h:40
@ BSP_HARDWARE_VERSION_LATTE_A3X_EV
Definition: bsp.h:46
@ BSP_HARDWARE_VERSION_HOLLYWOOD_CORTADO
Definition: bsp.h:34
@ BSP_HARDWARE_VERSION_LATTE_A5X_EV
Definition: bsp.h:52
@ BSP_HARDWARE_VERSION_HOLLYWOOD_ENG_SAMPLE_2
Definition: bsp.h:32
@ BSP_HARDWARE_VERSION_LATTE_B1X_CAFE
Definition: bsp.h:59