commit | 206ea399b5461adda14d7ec6b6177c7b9a03923a | [log] [tgz] |
---|---|---|
author | Andrew Hsieh <andrewhsieh@google.com> | Thu Mar 22 01:27:44 2012 +0800 |
committer | Andrew Hsieh <andrewhsieh@google.com> | Thu Mar 22 01:27:44 2012 +0800 |
tree | e8d56291fcfd95e36321a78a21e31b196f1c5a2e | |
parent | 8385e714a79dfce359c871c8e64636624bca774c [diff] |
Refactor with ToTargetCompatibleHandle() Refactor statements doing host-to-target handle conversion, eg. uintptr_t hndlptr = (uintptr_t)hostHandle; unsigned int hndl = (unsigned int)hndlptr; assert(sizeof(hndl) == sizeof(hndlptr) || hndl == hndlptr); into a call to ToTargetCompatibleHandle() Change-Id: I0bcfb37f1b50679d29e7f21fe230ad433fbbef7c