mirror of
https://github.com/zeldaret/ss
synced 2026-08-16 13:16:42 -04:00
Configure everything
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)) \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user