Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2007 16:42:20 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 123698 for review
Message-ID:  <200707181642.l6IGgK5T032376@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=123698

Change 123698 by gonzo@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707181642.l6IGgK5T032376>