device_limits: 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:19 +0000 (06:42 -0600)
commitc6d5a62bb9b46ed2f768ba78e51f3b080ed82fc8
treee989d5c47bae34c4fc4f310d68fdddf9e6443ec9
parentb70bedd6ecb8be7ff9ef8100869e74531f10f477
device_limits: 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/device_limits.cpp