mirror of
https://github.com/pret/pokediamond.git
synced 2026-08-13 04:26:18 -05:00
23 lines
345 B
C
23 lines
345 B
C
//
|
|
// Created by red031000 on 2020-05-17.
|
|
//
|
|
|
|
#ifndef POKEDIAMOND_OS_CONTEXT_H
|
|
#define POKEDIAMOND_OS_CONTEXT_H
|
|
|
|
#include "types.h"
|
|
#include "CP_context.h"
|
|
|
|
typedef struct OSContext
|
|
{
|
|
u32 cpsr;
|
|
u32 r[13];
|
|
u32 sp;
|
|
u32 lr;
|
|
u32 pc_plus4;
|
|
u32 sp_svc;
|
|
CPContext cp_context;
|
|
} OSContext;
|
|
|
|
#endif //POKEDIAMOND_OS_CONTEXT_H
|