PERFORCE change 123698 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Wed Jul 18 16:42:21 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123698
Change 123698 by gonzo at gonzo_jeeves on 2007/07/18 16:41:52
o Align td_frame to double word since it is used as
stack top address.
Affected files ...
.. //depot/projects/mips2/src/sys/mips/mips/vm_machdep.c#14 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/mips/vm_machdep.c#14 (text+ko) ====
@@ -225,6 +225,7 @@
(struct pcb *)(td->td_md.md_realstack \
+ (KSTACK_PAGES - 1) * PAGE_SIZE) - 1;
td->td_frame = (struct trapframe *)td->td_pcb - 1;
+ td->td_frame = (struct trapframe *)((uint32_t)td->td_frame & ~7);
/* Stack pointer. Should be double-word aligned due to EABI */
More information about the p4-projects
mailing list