Chromium Code Reviews| Index: src/trusted/service_runtime/nacl_config.h |
| diff --git a/src/trusted/service_runtime/nacl_config.h b/src/trusted/service_runtime/nacl_config.h |
| index c6309b8836258cc9dafb7ff7b5b2c69b9ef5eb0a..f32d42725b14507e36cf2f89da86920bca06d2fc 100644 |
| --- a/src/trusted/service_runtime/nacl_config.h |
| +++ b/src/trusted/service_runtime/nacl_config.h |
| @@ -184,6 +184,7 @@ |
| * must do so here as well. |
| */ |
| # define NACL_STACK_ALIGN_MASK (0xf) |
| +# define NACL_STACK_ARG_SIZE (0) |
| # define NACL_STACK_GETS_ARG (1) |
| # define NACL_STACK_PAD_BELOW_ALIGN (4) |
| # define NACL_STACK_RED_ZONE (0) |
| @@ -204,6 +205,7 @@ |
| * 3.2.2 discusses stack alignment. |
| */ |
| # define NACL_STACK_ALIGN_MASK (0xf) |
| +# define NACL_STACK_ARG_SIZE (0) |
| # define NACL_STACK_GETS_ARG (0) |
| # define NACL_STACK_PAD_BELOW_ALIGN (8) |
| # define NACL_STACK_RED_ZONE (128) |
| @@ -239,6 +241,7 @@ |
| * performance of vector instructions, we increase this to 16. |
| */ |
| # define NACL_STACK_ALIGN_MASK (0xf) |
| +# define NACL_STACK_ARG_SIZE (0) |
| # define NACL_STACK_GETS_ARG (0) |
| # define NACL_STACK_PAD_BELOW_ALIGN (0) |
| # define NACL_STACK_RED_ZONE (0) |
| @@ -270,6 +273,7 @@ |
| # define NACL_USERRET_FIX (-0x4) |
| # define NACL_SYSARGS_FIX (0) |
| # define NACL_STACK_ALIGN_MASK (0x7) |
| +# define NACL_STACK_ARG_SIZE (0x10) |
|
Mark Seaborn
2013/03/06 00:26:58
Can you comment this? e.g. The MIPS ABI requires
petarj
2013/03/07 14:52:48
Done.
|
| # define NACL_STACK_GETS_ARG (0) |
| # define NACL_STACK_PAD_BELOW_ALIGN (0) |
| # define NACL_STACK_RED_ZONE (0) |