[Cbe-oss-dev] [PATCH 1/9]MARS: Minor cleanup
Kazunori Asayama
asayama at sm.sony.co.jp
Mon Oct 20 16:23:33 EST 2008
Yuji Mano wrote:
> This includes minor moving around of code with no functional changes in
> preparation for next patch.
>
> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
>
> ---
> include/common/mars/task_types.h | 83 ++++++++++-----------------------------
> 1 file changed, 22 insertions(+), 61 deletions(-)
>
> --- a/include/common/mars/task_types.h
> +++ b/include/common/mars/task_types.h
(snip)
> +struct mars_task_id {
> + uint64_t mars_context_ea;
> + uint16_t workload_id;
> + uint8_t name[MARS_TASK_NAME_LEN_MAX + 1];
^
There's an extra space.
> +} __attribute__((aligned(MARS_TASK_ID_ALIGN)));
>
> /**
> * \ingroup group_mars_task
> @@ -121,7 +98,7 @@
> struct mars_task_args {
> union {
> /** array of 32 8-bit unsigned ints */
> - uint8_t u8[32];
> + uint8_t u8[32];
^
Likewise.
> /** array of 16 16-bit unsigned ints */
> uint16_t u16[16];
> /** array of 8 32-bit unsigned ints */
(snip)
> @@ -158,8 +119,8 @@ struct mars_task_context {
> uint32_t stack; /* stack pointer of exec */
> uint32_t context_save_size; /* context save size */
> uint64_t context_save_ea; /* context save ea */
> - int32_t exit_code; /* exit code */
> - uint8_t pad[20]; /* padding */
> + int32_t exit_code; /* exit code */
^
> + uint8_t pad[20]; /* padding */
^
Likewise.
> } __attribute__((aligned(MARS_TASK_CONTEXT_ALIGN)));
>
> #endif
>
>
>
> _______________________________________________
> cbe-oss-dev mailing list
> cbe-oss-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/cbe-oss-dev
>
>
>
--
(ASAYAMA Kazunori
(asayama at sm.sony.co.jp))
t
More information about the cbe-oss-dev
mailing list