WiiUPluginLoader/src/mykernel/kernel_defs.h

31 lines
450 B
C
Raw Normal View History

2018-09-22 19:52:52 +02:00
#ifndef __WUPS_KERNEL_DEFS_H_
#define __WUPS_KERNEL_DEFS_H_
#include <dynamic_libs/fs_functions.h>
#include <dynamic_libs/os_types.h>
#ifdef __cplusplus
extern "C" {
#endif
2019-03-01 19:31:45 +01:00
typedef struct _sr_table_t {
2018-09-22 19:52:52 +02:00
uint32_t value[16];
uint32_t sdr1;
} sr_table_t;
2019-03-01 19:31:45 +01:00
typedef struct _bat_t {
2018-09-22 19:52:52 +02:00
uint32_t h;
uint32_t l;
} bat_t;
2019-03-01 19:31:45 +01:00
typedef struct _bat_table_t {
2018-09-22 19:52:52 +02:00
bat_t bat[8];
} bat_table_t;
#ifdef __cplusplus
}
#endif
#endif // __KERNEL_DEFS_H_