mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-19 19:29:24 +01:00
Merge pull request #17 from BullyWiiPlaza/master
Fix warnings and implement OSThread structure OSThreadLink
This commit is contained in:
commit
8ded3004e8
@ -33,6 +33,6 @@ void InitAcquireNFP(void)
|
|||||||
|
|
||||||
void InitNFPFunctionPointers(void)
|
void InitNFPFunctionPointers(void)
|
||||||
{
|
{
|
||||||
u32 *funcPointer = 0;
|
// u32 *funcPointer = 0;
|
||||||
InitAcquireNFP();
|
InitAcquireNFP();
|
||||||
}
|
}
|
||||||
|
@ -33,6 +33,6 @@ void InitAcquireNim(void)
|
|||||||
|
|
||||||
void InitNimFunctionPointers(void)
|
void InitNimFunctionPointers(void)
|
||||||
{
|
{
|
||||||
u32 *funcPointer = 0;
|
// u32 *funcPointer = 0;
|
||||||
InitAcquireNim();
|
InitAcquireNim();
|
||||||
}
|
}
|
||||||
|
@ -33,6 +33,6 @@ void InitAcquireNTAG(void)
|
|||||||
|
|
||||||
void InitNTAGFunctionPointers(void)
|
void InitNTAGFunctionPointers(void)
|
||||||
{
|
{
|
||||||
u32 *funcPointer = 0;
|
// u32 *funcPointer = 0;
|
||||||
InitAcquireNTAG();
|
InitAcquireNTAG();
|
||||||
}
|
}
|
||||||
|
@ -29,10 +29,10 @@ extern "C" {
|
|||||||
|
|
||||||
typedef struct OSThread_ OSThread;
|
typedef struct OSThread_ OSThread;
|
||||||
|
|
||||||
struct OSThreadLink {
|
typedef struct OSThreadLink_ {
|
||||||
OSThread *next;
|
OSThread *next;
|
||||||
OSThread *prev;
|
OSThread *prev;
|
||||||
};
|
} OSThreadLink;
|
||||||
|
|
||||||
typedef struct OSThreadQueue_ {
|
typedef struct OSThreadQueue_ {
|
||||||
OSThread *head;
|
OSThread *head;
|
||||||
@ -136,7 +136,8 @@ struct OSThread_ {
|
|||||||
int suspend;
|
int suspend;
|
||||||
int priority;
|
int priority;
|
||||||
|
|
||||||
char _[0x394 - 0x330];
|
char _[0x394 - 0x330 - sizeof(OSThreadLink)];
|
||||||
|
OSThreadLink linkActive;
|
||||||
|
|
||||||
void *stackBase;
|
void *stackBase;
|
||||||
void *stackEnd;
|
void *stackEnd;
|
||||||
|
Loading…
Reference in New Issue
Block a user