Subject: CVS commit: src/sys/arch/amd64/include
To: None <source-changes@NetBSD.org>
From: Frank van der Linden <email@example.com>
Date: 11/28/2003 23:22:45
Module Name: src
Committed By: fvdl
Date: Fri Nov 28 23:22:45 UTC 2003
Define the mcount function in assembler, and have it save all registers
used for argument passing, plus %rax (used to pass the number of float
arguments to varargs functions), to avoid having it clobber caller-saved
registers. mcount is emitted "under the radar", so the compiler doesn't
know it should do this.
Change the kernel mcount entry/exit macros to use plain cli/sti, like on i386.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/arch/amd64/include/profile.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.