Configure everything

This commit is contained in:
robojumper
2025-04-26 11:37:48 +02:00
parent 6c81514f54
commit 9bc03e0440
27 changed files with 1002 additions and 290 deletions
+3
View File
@@ -65,6 +65,9 @@ typedef struct OSIOSRev {
typedef void (*OSExceptionHandler)(u8 type, OSContext *ctx);
#define OSRoundUp32B(x) (((u32)(x) + 32 - 1) & ~(32 - 1))
#define OSRoundDown32B(x) (((u32)(x)) & ~(32 - 1))
extern BOOL __OSInIPL;
extern BOOL __OSInNandBoot;
extern BOOL __OSIsGcam;
+2 -3
View File
@@ -4,14 +4,13 @@
#include "__va_arg.h"
#include "common.h"
#include "RVL/OS/OSContext.h"
#ifdef __cplusplus
extern "C" {
#endif
// Forward declarations
typedef struct OSContext OSContext;
#define OSError(...) OSPanic(__FILE__, __LINE__, __VA_ARGS__)
#define OSAssert(exp, ...) \
if (!(exp)) \
+2 -3
View File
@@ -4,15 +4,14 @@
// #include "rvl/OS/OSAddress.h"
#include "common.h"
#include "rvl/OS/OSThread.h"
#include "rvl/OS/OSContext.h"
#include "rvl/OS/OSExec.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OSContext OSContext;
typedef struct OSExecParams OSExecParams;
/**
* For more details, see:
* https://www.gc-forever.com/yagcd/chap4.html#sec4
+3
View File
@@ -1,6 +1,9 @@
#ifndef RVL_SDK_OS_UTF_H
#define RVL_SDK_OS_UTF_H
#include "common.h"
#include "wchar.h"
#ifdef __cplusplus
extern "C" {
#endif