image: add intercept_core_device_command
authorChia-I Wu <olv@google.com>
Thu, 28 Apr 2016 06:38:57 +0000 (14:38 +0800)
committerTobin Ehlis <tobine@google.com>
Thu, 5 May 2016 12:42:18 +0000 (06:42 -0600)
commitc9295376891e6e84cc4ea6754ce85d42b8a2f0da
tree2768564f2154aa4769195531e5bcb433f07a6314
parent238e332d5ebd89130dec404148e2356e557e3f28
image: add intercept_core_device_command

It returns the function pointers for all intercepted core device commands.
Call intercept_core_device_command from GetDeviceProcAddr.  Assert that
device is valid in GetDeviceProcAddr.
layers/image.cpp