Reformat stack initialization code to follow style for length and spacing
This commit is contained in:
@@ -88,7 +88,6 @@ process_execute (const char *cmd)
|
||||
return tid;
|
||||
}
|
||||
|
||||
|
||||
static bool install_page (void *upage, void *kpage, bool writable);
|
||||
static bool process_init_stack (char *cmd_saveptr, void **esp, char *file_name);
|
||||
static void *push_to_stack (void **esp, void *data, size_t data_size);
|
||||
@@ -231,8 +230,9 @@ process_init_stack (char *cmd_saveptr, void **esp, char *file_name)
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Helper function that pushes the first 'data_size' bytes stored in the
|
||||
address '*data' into the stack given a pointer to the stack pointer '**esp'. */
|
||||
/* Helper function that pushes the first 'data_size' bytes stored
|
||||
in the address '*data' into the stack given a pointer to the
|
||||
stack pointer '**esp'. */
|
||||
static void *
|
||||
push_to_stack (void **esp, void *data, size_t data_size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user