Fix warnings and implement OSThread structure OSThreadLink

This commit is contained in:
BullyWiiPlaza 2017-10-01 22:19:24 +02:00
parent 765e5470a1
commit 9909e15954
4 changed files with 7 additions and 6 deletions

View File

@ -33,6 +33,6 @@ void InitAcquireNFP(void)
void InitNFPFunctionPointers(void)
{
u32 *funcPointer = 0;
// u32 *funcPointer = 0;
InitAcquireNFP();
}

View File

@ -33,6 +33,6 @@ void InitAcquireNim(void)
void InitNimFunctionPointers(void)
{
u32 *funcPointer = 0;
// u32 *funcPointer = 0;
InitAcquireNim();
}

View File

@ -33,6 +33,6 @@ void InitAcquireNTAG(void)
void InitNTAGFunctionPointers(void)
{
u32 *funcPointer = 0;
// u32 *funcPointer = 0;
InitAcquireNTAG();
}

View File

@ -29,10 +29,10 @@ extern "C" {
typedef struct OSThread_ OSThread;
struct OSThreadLink {
typedef struct OSThreadLink_ {
OSThread *next;
OSThread *prev;
};
} OSThreadLink;
typedef struct OSThreadQueue_ {
OSThread *head;
@ -136,7 +136,8 @@ struct OSThread_ {
int suspend;
int priority;
char _[0x394 - 0x330];
char _[0x394 - 0x330 - sizeof(OSThreadLink)];
OSThreadLink linkActive;
void *stackBase;
void *stackEnd;