| // This file was extracted from the TCG Published |
| // Trusted Platform Module Library |
| // Level 00 Revision 01.16 |
| #include "InternalRoutines.h" |
| #include "NV_GlobalWriteLock_fp.h" |
| NV_GlobalWriteLock_In *in // IN: input parameter list |
| // Input parameter is not reference in command action |
| in = NULL; // to silence compiler warnings. |
| // The command needs NV update. Check if NV is available. |
| // A TPM_RC_NV_UNAVAILABLE or TPM_RC_NV_RATE error may be returned at |
| result = NvIsAvailable(); |
| if(result != TPM_RC_SUCCESS) |
| // Implementation dependent method of setting the global lock |