Merge pull request #17 from BullyWiiPlaza/master

Fix warnings and implement OSThread structure OSThreadLink
This commit is contained in:
Maschell 2017-10-01 22:32:34 +02:00 committed by GitHub
commit 8ded3004e8
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;