vm_machdep.c (6bce07ae73d2f77cfc9b133727a30ddb5642b033) vm_machdep.c (0c3967e7febd9b1c9cbbe632214ed2cc0c30dae7)
1/*-
2 * Copyright (c) 1982, 1986 The Regents of the University of California.
3 * Copyright (c) 1989, 1990 William Jolitz
4 * Copyright (c) 1994 John Dyson
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * the Systems Programming Group of the University of Utah Computer

--- 319 unchanged lines hidden (view full) ---

328}
329
330void
331cpu_thread_exit(struct thread *td)
332{
333}
334
335void
1/*-
2 * Copyright (c) 1982, 1986 The Regents of the University of California.
3 * Copyright (c) 1989, 1990 William Jolitz
4 * Copyright (c) 1994 John Dyson
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * the Systems Programming Group of the University of Utah Computer

--- 319 unchanged lines hidden (view full) ---

328}
329
330void
331cpu_thread_exit(struct thread *td)
332{
333}
334
335void
336cpu_thread_setup(struct thread *td)
336cpu_thread_alloc(struct thread *td)
337{
338 td->td_pcb = (struct pcb *)(td->td_kstack + td->td_kstack_pages *
339 PAGE_SIZE) - 1;
340 td->td_frame = (struct trapframe *)
341 ((u_int)td->td_kstack + USPACE_SVC_STACK_TOP - sizeof(struct pcb)) - 1;
342#ifdef __XSCALE__
343#ifndef CPU_XSCALE_CORE3
344 pmap_use_minicache(td->td_kstack, td->td_kstack_pages * PAGE_SIZE);
345#endif
346#endif
337{
338 td->td_pcb = (struct pcb *)(td->td_kstack + td->td_kstack_pages *
339 PAGE_SIZE) - 1;
340 td->td_frame = (struct trapframe *)
341 ((u_int)td->td_kstack + USPACE_SVC_STACK_TOP - sizeof(struct pcb)) - 1;
342#ifdef __XSCALE__
343#ifndef CPU_XSCALE_CORE3
344 pmap_use_minicache(td->td_kstack, td->td_kstack_pages * PAGE_SIZE);
345#endif
346#endif
347
348}
347}
348
349void
349void
350cpu_thread_free(struct thread *td)
351{
352}
353
354void
350cpu_thread_clean(struct thread *td)
351{
352}
353
354/*
355 * Intercept the return address from a freshly forked process that has NOT
356 * been scheduled yet.
357 *

--- 293 unchanged lines hidden ---
355cpu_thread_clean(struct thread *td)
356{
357}
358
359/*
360 * Intercept the return address from a freshly forked process that has NOT
361 * been scheduled yet.
362 *

--- 293 unchanged lines hidden ---