Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/amd64/include
Module Name: src
Committed By: fvdl
Date: Fri Nov 28 23:22:45 UTC 2003
Modified Files:
src/sys/arch/amd64/include: profile.h
Log Message:
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.
Home |
Main Index |
Thread Index |
Old Index