A
Ahn Jung Hoon
Hello.
During anylizing the source code,
I found the difficult code.. ( u8:0; u8:8; u8:0; )
I don't understand this code..
and I want to know that what i have to read to understand "momory alignment"..
/*
** =========================================================================
** Memory alignment tools
** =========================================================================
*/
#define MC_PCC_FILL_STRUCT1 u8:0; u8:8; u8:0; ???
#define MC_PCC_FILL_STRUCT2 u8:0; u8:8; u8:8; u8:0; ???
#define MC_PCC_FILL_STRUCT3 u8:0; u8:8; u8:8; u8:8; u8:0; ???
typedef struct aaa
{
t_MsgHeader MsgHeader;
u8 msg_param[MAX_LENGTH_OF_L3_MSG];
MC_PCC_FILL_STRUCT1
}bbb;
During anylizing the source code,
I found the difficult code.. ( u8:0; u8:8; u8:0; )
I don't understand this code..
and I want to know that what i have to read to understand "momory alignment"..
/*
** =========================================================================
** Memory alignment tools
** =========================================================================
*/
#define MC_PCC_FILL_STRUCT1 u8:0; u8:8; u8:0; ???
#define MC_PCC_FILL_STRUCT2 u8:0; u8:8; u8:8; u8:0; ???
#define MC_PCC_FILL_STRUCT3 u8:0; u8:8; u8:8; u8:8; u8:0; ???
typedef struct aaa
{
t_MsgHeader MsgHeader;
u8 msg_param[MAX_LENGTH_OF_L3_MSG];
MC_PCC_FILL_STRUCT1
}bbb;