CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/01/16 03:17:51
Modified files:
sys/arch/amd64/amd64: copy.S cpu.c locore.S
sys/arch/amd64/conf: files.amd64
Added files:
sys/arch/amd64/amd64: codepatch.c
sys/arch/amd64/include: codepatch.h
Log message:
Binary code patching on amd64
This commit adds generic infrastructure to do binary code patching on amd64.
The existing code patching for SMAP is converted to the new infrastruture.
More consumers and support for i386 will follow later.
This version of the diff has some simplifications in codepatch_fill_nop()
compared to a version that was:
OK @kettenis @mlarkin @jsg