Commited code that should not be there
This commit is contained in:
parent
0872cce98b
commit
2f423e3bcb
|
|
@ -75,7 +75,7 @@ typedef u8 bool;
|
|||
#define SCREEN_WIDTH_MAX 640
|
||||
#define SCREEN_HEIGHT_MAX 480
|
||||
|
||||
#define DECLARE_STACK(name, size) u64 name[size / sizeof(u64)]
|
||||
#define DECLARE_STACK(name, size) u64 name[size / sizeof(u64)]
|
||||
// Stacks grow backwards (towards smaller addresses)
|
||||
#define STACK_START(stack) ((u8*)(&stack) + sizeof(stack))
|
||||
|
||||
|
|
|
|||
|
|
@ -2,16 +2,12 @@
|
|||
|
||||
#include "nu/nusys.h"
|
||||
|
||||
#define OB_MAIN_STACK_SIZE 0x2070
|
||||
|
||||
extern OSThread nuThreadIdle;
|
||||
extern DECLARE_STACK(nuStackIdle, NU_IDLE_STACK_SIZE);
|
||||
|
||||
extern OSThread obThreadMain;
|
||||
extern DECLARE_STACK(obStackMain, NU_MAIN_STACK_SIZE);
|
||||
|
||||
const int test = sizeof(obThreadMain);
|
||||
|
||||
void nuIdle(void* arg);
|
||||
|
||||
void nuBoot(void) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue