Made stacksize configurable via external definition
This commit is contained in:
parent
b7a0184eac
commit
fbcb4a97c2
|
@ -31,7 +31,9 @@
|
||||||
#ifndef __MTARCH_H__
|
#ifndef __MTARCH_H__
|
||||||
#define __MTARCH_H__
|
#define __MTARCH_H__
|
||||||
|
|
||||||
|
#ifndef MTARCH_STACKSIZE
|
||||||
#define MTARCH_STACKSIZE 1024
|
#define MTARCH_STACKSIZE 1024
|
||||||
|
#endif /* MTARCH_STACKSIZE */
|
||||||
|
|
||||||
struct mtarch_thread {
|
struct mtarch_thread {
|
||||||
/* Note: stack must be aligned on 4-byte boundary. */
|
/* Note: stack must be aligned on 4-byte boundary. */
|
||||||
|
|
Loading…
Reference in a new issue