Rename microkernel struct field 'iBufferSize' to 'buffer_size'.
Rename field 'iBufferSize' of the struct: - '_k_pipe_struct' in the file include/microkernel/base_api.h Change-Id: I0e0078b2b521cdfb40e42b915a0b79d621edcccc Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
parent
c7574b1a26
commit
6f90cce65e
3 changed files with 3 additions and 3 deletions
|
@ -205,7 +205,7 @@ struct _k_pipe_desc {
|
|||
};
|
||||
|
||||
struct _k_pipe_struct {
|
||||
int iBufferSize; /* size in bytes, must be first for sysgen */
|
||||
int buffer_size; /* size in bytes, must be first for sysgen */
|
||||
char *Buffer; /* pointer to statically allocated buffer */
|
||||
struct k_args *writers;
|
||||
struct k_args *readers;
|
||||
|
|
|
@ -85,7 +85,7 @@ extern int _task_pipe_block_put(kpipe_t id,
|
|||
*/
|
||||
#define __K_PIPE_INITIALIZER(size, buffer) \
|
||||
{ \
|
||||
.iBufferSize = size, \
|
||||
.buffer_size = size, \
|
||||
.Buffer = buffer, \
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ void _k_pipe_init(void)
|
|||
for (pipeId = _k_pipe_ptr_start; pipeId < _k_pipe_ptr_end; pipeId++) {
|
||||
pPipe = (struct _k_pipe_struct *)(*pipeId);
|
||||
BuffInit((unsigned char *)pPipe->Buffer,
|
||||
&(pPipe->iBufferSize), &pPipe->desc);
|
||||
&(pPipe->buffer_size), &pPipe->desc);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue