Date: Wed, 24 Mar 2004 16:10:11 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 49645 for review Message-ID: <200403250010.i2P0ABpe022149@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=49645 Change 49645 by peter@peter_daintree on 2004/03/24 16:09:58 integrate -I -b i386_hammer Affected files ... .. //depot/projects/hammer/sys/amd64/amd64/vm_machdep.c#33 integrate .. //depot/projects/hammer/sys/amd64/include/_types.h#9 integrate Differences ... ==== //depot/projects/hammer/sys/amd64/amd64/vm_machdep.c#33 (text+ko) ==== @@ -124,7 +124,8 @@ fpuexit(td1); /* Point the pcb to the top of the stack */ - pcb2 = (struct pcb *)(td2->td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1; + pcb2 = (struct pcb *)(td2->td_kstack + + td2->td_kstack_pages * PAGE_SIZE) - 1; td2->td_pcb = pcb2; /* Copy p1's pcb */ @@ -247,8 +248,8 @@ cpu_thread_setup(struct thread *td) { - td->td_pcb = - (struct pcb *)(td->td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1; + td->td_pcb = (struct pcb *)(td->td_kstack + + td->td_kstack_pages * PAGE_SIZE) - 1; td->td_frame = (struct trapframe *)td->td_pcb - 1; } ==== //depot/projects/hammer/sys/amd64/include/_types.h#9 (text+ko) ====
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403250010.i2P0ABpe022149>