sysgen: Fix PEP8 standards violations
Corrects issues introduced by recent global variable renaming that resulted in lines exceeding PEP8 guidelines. (Running the command "pep8 scripts/sysgen.py" once again reports no issues.) Change-Id: I6dff820bc3529cbffbc930c13e98171140c09a52 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
e2eff8fafc
commit
09ef176ce0
1 changed files with 8 additions and 4 deletions
|
|
@ -304,7 +304,8 @@ def kernel_main_c_header():
|
|||
|
||||
kernel_main_c_out("\nconst knode_t _k_this_node = 0x00010000;\n")
|
||||
kernel_main_c_out("\n" +
|
||||
"char __noinit _k_server_stack[CONFIG_MICROKERNEL_SERVER_STACK_SIZE];\n")
|
||||
"char __noinit " +
|
||||
"_k_server_stack[CONFIG_MICROKERNEL_SERVER_STACK_SIZE];\n")
|
||||
kernel_main_c_out(
|
||||
"int _k_server_stack_size = CONFIG_MICROKERNEL_SERVER_STACK_SIZE;\n")
|
||||
|
||||
|
|
@ -419,7 +420,8 @@ def kernel_main_c_tasks():
|
|||
# currently scheduled task (idle task)
|
||||
|
||||
kernel_main_c_out("\n" +
|
||||
"struct k_proc * _k_current_task = &_k_task_list[%d];\n" % (total_tasks - 1))
|
||||
"struct k_proc * _k_current_task = &_k_task_list[%d];\n" %
|
||||
(total_tasks - 1))
|
||||
|
||||
|
||||
def kernel_main_c_priorities():
|
||||
|
|
@ -435,7 +437,8 @@ def kernel_main_c_priorities():
|
|||
"{\n")
|
||||
for i in range(1, num_prios):
|
||||
kernel_main_c_out(
|
||||
" {NULL, (struct k_proc *)&_k_task_priority_list[%d]},\n" % (i - 1))
|
||||
" {NULL, (struct k_proc *)&_k_task_priority_list[%d]},\n" %
|
||||
(i - 1))
|
||||
kernel_main_c_out(
|
||||
" {&_k_task_list[%d], &_k_task_list[%d]}\n" %
|
||||
(total_tasks - 1, total_tasks - 1) +
|
||||
|
|
@ -444,7 +447,8 @@ def kernel_main_c_priorities():
|
|||
# active priority queue (idle task's queue)
|
||||
|
||||
kernel_main_c_out("\n" +
|
||||
"struct k_tqhd * K_Prio = &_k_task_priority_list[%d];\n" % (num_prios - 1))
|
||||
"struct k_tqhd * K_Prio = &_k_task_priority_list[%d];\n" %
|
||||
(num_prios - 1))
|
||||
|
||||
|
||||
def kernel_main_c_events():
|
||||
|
|
|
|||
Loading…
Reference in a new issue