]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
To avoid excessive code duplication create wrapper for fill regs
authordchagin <dchagin@FreeBSD.org>
Wed, 16 Feb 2011 17:50:21 +0000 (17:50 +0000)
committerdchagin <dchagin@FreeBSD.org>
Wed, 16 Feb 2011 17:50:21 +0000 (17:50 +0000)
commitf09038c073387da526965c04510840954eefe1c9
tree62146c6eb0e72714302c3b80c1ce60ea243223cf
parent3e66152cbfaa6e9f75ece1cfa8cf479a1ec34bf2
To avoid excessive code duplication create wrapper for fill regs
from stack frame. Change the trap() code to use newly created function
instead of explicit regs assignment.
sys/amd64/amd64/machdep.c
sys/amd64/amd64/trap.c
sys/amd64/include/reg.h
sys/i386/i386/machdep.c
sys/i386/i386/trap.c
sys/i386/include/reg.h