Deleted Added
full compact
49c49
< __FBSDID("$FreeBSD: head/sys/arm/arm/machdep.c 235831 2012-05-23 13:23:40Z fabient $");
---
> __FBSDID("$FreeBSD: head/sys/arm/arm/machdep.c 236828 2012-06-10 01:13:04Z andrew $");
94a95,96
> static struct trapframe proc0_tf;
>
711a714,729
>
> /*
> * Initialize proc0
> */
> void
> 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_pcb->pcb_flags = 0;
> thread0.td_frame = &proc0_tf;
> pcpup->pc_curpcb = thread0.td_pcb;
> }
>