x86: Add support for partial contexts [1/2]