Files
wii-ipl/libs/RVL_SDK/include/revolution/os/OSLink.h
2026-03-15 13:32:23 +00:00

43 lines
701 B
C

#ifndef REVOLUTION_OS_LINK_H
#define REVOLUTION_OS_LINK_H
#include <revolution/types.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef u32 OSModuleID;
typedef struct OSModuleInfo OSModuleInfo;
typedef struct OSModuleQueue {
OSModuleInfo* head;
OSModuleInfo* tail;
} OSModuleQueue;
typedef struct OSModuleLink {
OSModuleInfo* next;
OSModuleInfo* prev;
} OSModuleLink;
struct OSModuleInfo {
OSModuleID id; // 0x00
OSModuleLink link; // 0x04
u32 numSections; // 0x0C
u32 sectionInfoOffset; // 0x10
u32 nameOffset; // 0x14
u32 nameSize; // 0x18
u32 version; // 0x1C
};
#ifdef __cplusplus
}
#endif
#endif // REVOLUTION_OS_LINK_H