PERFORCE change 49645 for review
Peter Wemm
peter at FreeBSD.org
Wed Mar 24 16:10:13 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=49645
Change 49645 by peter at 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) ====
More information about the p4-projects
mailing list