Home
last modified time | relevance | path

Searched refs:initial_proc_union (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/kernel/src/process/
Dprocess.c65 .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};
330 list_init(&initial_proc_union.pcb.list); in process_init()
331 wait_queue_init(&initial_proc_union.pcb.wait_child_proc_exit, NULL); in process_init()
351 initial_proc_union.pcb.state = PROC_RUNNING; in process_init()
352 initial_proc_union.pcb.preempt_count = 0; in process_init()
353 initial_proc_union.pcb.cpu_id = 0; in process_init()
[all …]
Dprocess.h36 ….reserved0 = 0, .rsp0 = (ul)(initial_proc_union.stack + STACK_SIZE / sizeof(ul)), …
37 ….rsp1 = (ul)(initial_proc_union.stack + STACK_SIZE / sizeof(ul)), …
38 ….rsp2 = (ul)(initial_proc_union.stack + STACK_SIZE / sizeof(ul)), .reserved1 = 0, .ist1 = 0xffff80…
176 extern union proc_union initial_proc_union;
Dfork.c84 tsk->prev_pcb = &initial_proc_union.pcb; in do_fork()
86 tsk->next_pcb = initial_proc_union.pcb.next_pcb; in do_fork()
88 initial_proc_union.pcb.next_pcb = tsk; in do_fork()
/DragonOS-0.1.8/kernel/src/sched/
Dcfs.rs8 initial_proc_union, process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, PROC_RUNNING,
127 result.cpu_queue[0].idle_pcb = unsafe { &mut initial_proc_union.pcb }; in new()
/DragonOS-0.1.8/kernel/src/
Dhead.S518 .quad initial_proc_union + 32768