mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Initialize thread0.td_kstack_pages on arm.
Fix style on the line below. Reported by: Jenkins (hardware CI lab) MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
0ef3ca7ae3
commit
24b3b8e29d
1 changed files with 3 additions and 2 deletions
|
|
@ -771,8 +771,9 @@ init_proc0(vm_offset_t kstack)
|
|||
{
|
||||
proc_linkup0(&proc0, &thread0);
|
||||
thread0.td_kstack = kstack;
|
||||
thread0.td_pcb = (struct pcb *)
|
||||
(thread0.td_kstack + kstack_pages * PAGE_SIZE) - 1;
|
||||
thread0.td_kstack_pages = kstack_pages;
|
||||
thread0.td_pcb = (struct pcb *)(thread0.td_kstack +
|
||||
thread0.td_kstack_pages * PAGE_SIZE) - 1;
|
||||
thread0.td_pcb->pcb_flags = 0;
|
||||
thread0.td_pcb->pcb_vfpcpu = -1;
|
||||
thread0.td_pcb->pcb_vfpstate.fpscr = VFPSCR_DN;
|
||||
|
|
|
|||
Loading…
Reference in a new issue