Lines Matching refs:initial_proc_union
65 .rbp = (ul)(initial_proc_union.stack + STACK_SIZE / sizeof(ul)),
66 .rsp = (ul)(initial_proc_union.stack + STACK_SIZE / sizeof(ul)),
75 union proc_union initial_proc_union variable
76 __attribute__((__section__(".data.init_proc_union"))) = {INITIAL_PROC(initial_proc_union.pcb)};
78 struct process_control_block *initial_proc[MAX_CPU_NUM] = {&initial_proc_union.pcb, 0};
625 list_init(&initial_proc_union.pcb.list); in process_init()
626 wait_queue_init(&initial_proc_union.pcb.wait_child_proc_exit, NULL); in process_init()
637 initial_proc_union.pcb.state = PROC_RUNNING; in process_init()
638 initial_proc_union.pcb.preempt_count = 0; in process_init()
639 initial_proc_union.pcb.cpu_id = 0; in process_init()
640 initial_proc_union.pcb.virtual_runtime = (1UL << 60); in process_init()
654 struct process_control_block *pcb = initial_proc_union.pcb.next_pcb; in process_find_pcb_by_pid()
658 for (; pcb != &initial_proc_union.pcb; pcb = pcb->next_pcb) in process_find_pcb_by_pid()