Date: Sun, 23 May 2004 10:18:48 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 exception.S Message-ID: <200405231718.i4NHImM2023769@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2004/05/23 10:18:48 PDT
FreeBSD src repository
Modified files:
sys/amd64/amd64 exception.S
Log:
Restored FAKE_MCOUNT() and MEXITCOUNT invocations and adjusted them for
amd64 as necessary. This is routine, except:
- the FAKE_MCOUNT($bintr) in doreti was missing the '$'. This gave a
a garbage address made up of padding bytes (with the nop byte 0x90 as
the MSB) instead of the intended address of bintr. This accidentally
worked on i386's because (0x90 << 24) is close enough to bintr, but
it doesn't work on amd64's because (0x90 << 56) is much further away
from bintr.
- the FAKE_MCOUNT($btrap) in calltrap was similarly broken. It hasn't
been needed since FreeBSD-1, so just delete it.
Revision Changes Path
1.117 +8 -0 src/sys/amd64/amd64/exception.S
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405231718.i4NHImM2023769>
