added reboot return codes to load kernel and firmware

Review URL: http://codereview.chromium.org/2844044
This commit is contained in:
Randall Spangler
2010-07-08 13:29:42 -07:00
parent 416f681882
commit 7a786b73e7
7 changed files with 41 additions and 17 deletions

View File

@@ -20,6 +20,7 @@ __pragma(warning (disable: 4127))
#define RETURN_ON_FAILURE(tpm_command) do { \
uint32_t result; \
if ((result = (tpm_command)) != TPM_SUCCESS) { \
VBDEBUG(("Rollback: %08x returned by " #tpm_command "\n", (int)result)); \
return result; \
} \
} while (0)