Changes to allow compilation of NV_UndefineSpaceSpecial.c

BUG=none
TEST=compilation succeeds:
   cc -Wall -Werror -c -o /dev/null NV_UndefineSpaceSpecial.c

Change-Id: Ifd241f7f038740b4db25120b5cffefa862fc55b8
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274615
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
2 files changed
tree: 2c0091df34b8d1a964991334bcc7c20b31fc4d2c
  1. .gitignore
  2. _TPM_Hash_Data.c
  3. _TPM_Hash_Data_fp.h
  4. _TPM_Hash_End.c
  5. _TPM_Hash_End_fp.h
  6. _TPM_Hash_Start.c
  7. _TPM_Hash_Start_fp.h
  8. _TPM_Init.c
  9. ActivateCredential.c
  10. ActivateCredential_fp.h
  11. AlgorithmCap.c
  12. AlgorithmCap_fp.h
  13. Attest_spt.c
  14. Attest_spt_fp.h
  15. BaseTypes.h
  16. Bits.c
  17. bits.h
  18. Bits_fp.h
  19. bool.h
  20. Cancel.c
  21. Capabilities.h
  22. Certify.c
  23. Certify_fp.h
  24. CertifyCreation.c
  25. CertifyCreation_fp.h
  26. ChangeEPS.c
  27. ChangeEPS_fp.h
  28. ChangePPS.c
  29. ChangePPS_fp.h
  30. Clear.c
  31. Clear_fp.h
  32. ClearControl.c
  33. ClearControl_fp.h
  34. Clock.c
  35. ClockRateAdjust.c
  36. ClockRateAdjust_fp.h
  37. ClockSet.c
  38. ClockSet_fp.h
  39. CommandAttributeData.c
  40. CommandAudit.c
  41. CommandAudit_fp.h
  42. CommandCodeAttributes.c
  43. CommandCodeAttributes_fp.h
  44. CommandDispatcher_fp.h
  45. Commands_fp.h
  46. COMMIT-QUEUE.ini
  47. Commit.c
  48. Commit_fp.h
  49. Context_spt.c
  50. Context_spt_fp.h
  51. ContextLoad.c
  52. ContextLoad_fp.h
  53. ContextSave.c
  54. ContextSave_fp.h
  55. CpriCryptPri.c
  56. CpriCryptPri_fp.h
  57. CpriDataEcc.c
  58. CpriDataEcc.h
  59. CpriECC.c
  60. CpriECC_fp.h
  61. CpriHash.c
  62. CpriHash_fp.h
  63. CpriHashData.c
  64. CpriMisc.c
  65. CpriMisc_fp.h
  66. CpriRNG.c
  67. CpriRNG_fp.h
  68. CpriRSA.c
  69. CpriRSA_fp.h
  70. CpriSym.c
  71. CpriSym_fp.h
  72. Create.c
  73. Create_fp.h
  74. CreatePrimary.c
  75. CreatePrimary_fp.h
  76. CryptoEngine.h
  77. CryptSelfTest.c
  78. CryptSelfTest_fp.h
  79. CryptUtil.c
  80. CryptUtil_fp.h
  81. DA.c
  82. DA_fp.h
  83. DictionaryAttackLockReset.c
  84. DictionaryAttackLockReset_fp.h
  85. DictionaryAttackParameters.c
  86. DictionaryAttackParameters_fp.h
  87. DRTM.c
  88. Duplicate.c
  89. Duplicate_fp.h
  90. EC_Ephemeral.c
  91. EC_Ephemeral_fp.h
  92. ECC_Parameters.c
  93. ECC_Parameters_fp.h
  94. ECDH_KeyGen.c
  95. ECDH_KeyGen_fp.h
  96. ECDH_ZGen.c
  97. ECDH_ZGen_fp.h
  98. EncryptDecrypt.c
  99. EncryptDecrypt_fp.h
  100. Entity.c
  101. Entity_fp.h
  102. Entropy.c
  103. EventSequenceComplete.c
  104. EventSequenceComplete_fp.h
  105. EvictControl.c
  106. EvictControl_fp.h
  107. ExecCommand.c
  108. FieldUpgradeData.c
  109. FieldUpgradeData_fp.h
  110. FieldUpgradeStart.c
  111. FieldUpgradeStart_fp.h
  112. FirmwareRead.c
  113. FirmwareRead_fp.h
  114. FlushContext.c
  115. FlushContext_fp.h
  116. GetCapability.c
  117. GetCapability_fp.h
  118. GetCommandAuditDigest.c
  119. GetCommandAuditDigest_fp.h
  120. GetRandom.c
  121. GetRandom_fp.h
  122. GetSessionAuditDigest.c
  123. GetSessionAuditDigest_fp.h
  124. GetTestResult.c
  125. GetTestResult_fp.h
  126. GetTime.c
  127. GetTime_fp.h
  128. Global.c
  129. Global.h
  130. Handle.c
  131. Handle_fp.h
  132. HandleProcess_fp.h
  133. Hash.c
  134. Hash_fp.h
  135. HashSequenceStart.c
  136. HashSequenceStart_fp.h
  137. Hierarchy.c
  138. Hierarchy_fp.h
  139. HierarchyChangeAuth.c
  140. HierarchyChangeAuth_fp.h
  141. HierarchyControl.c
  142. HierarchyControl_fp.h
  143. HMAC.c
  144. HMAC_fp.h
  145. HMAC_Start.c
  146. HMAC_Start_fp.h
  147. Implementation.h
  148. Import.c
  149. Import_fp.h
  150. IncrementalSelfTest.c
  151. IncrementalSelfTest_fp.h
  152. InternalRoutines.h
  153. LICENSE
  154. Load.c
  155. Load_fp.h
  156. LoadExternal.c
  157. LoadExternal_fp.h
  158. Locality.c
  159. Locality_fp.h
  160. LocalityPlat.c
  161. MakeCredential.c
  162. MakeCredential_fp.h
  163. Makefile
  164. Manufacture.c
  165. Manufacture_fp.h
  166. marshal_fp.h
  167. MathFunctions.c
  168. MathFunctions_fp.h
  169. MemoryLib.c
  170. MemoryLib_fp.h
  171. NV.c
  172. NV_Certify.c
  173. NV_Certify_fp.h
  174. NV_ChangeAuth.c
  175. NV_ChangeAuth_fp.h
  176. NV_DefineSpace.c
  177. NV_DefineSpace_fp.h
  178. NV_Extend.c
  179. NV_Extend_fp.h
  180. NV_fp.h
  181. NV_GlobalWriteLock.c
  182. NV_GlobalWriteLock_fp.h
  183. NV_Increment.c
  184. NV_Increment_fp.h
  185. NV_Read.c
  186. NV_Read_fp.h
  187. NV_ReadLock.c
  188. NV_ReadLock_fp.h
  189. NV_ReadPublic.c
  190. NV_ReadPublic_fp.h
  191. NV_SetBits.c
  192. NV_SetBits_fp.h
  193. NV_spt.c
  194. NV_spt_fp.h
  195. NV_UndefineSpace.c
  196. NV_UndefineSpace_fp.h
  197. NV_UndefineSpaceSpecial.c
  198. NV_UndefineSpaceSpecial_fp.h
  199. NV_Write.c
  200. NV_WriteLock.c
  201. NVMem.c
  202. Object.c
  203. Object_fp.h
  204. Object_spt.c
  205. Object_spt_fp.h
  206. ObjectChangeAuth.c
  207. OsslCryptoEngine.h
  208. parsep3
  209. parsep4
  210. part3.txt
  211. part4.txt
  212. PCR.c
  213. PCR_Allocate.c
  214. PCR_Event.c
  215. PCR_Extend.c
  216. PCR_fp.h
  217. PCR_Read.c
  218. PCR_Reset.c
  219. PCR_SetAuthPolicy.c
  220. PCR_SetAuthValue.c
  221. Platform.h
  222. PlatformData.c
  223. PlatformData.h
  224. Policy_spt.c
  225. PolicyAuthorize.c
  226. PolicyAuthValue.c
  227. PolicyCommandCode.c
  228. PolicyCounterTimer.c
  229. PolicyCpHash.c
  230. PolicyDuplicationSelect.c
  231. PolicyGetDigest.c
  232. PolicyLocality.c
  233. PolicyNameHash.c
  234. PolicyNV.c
  235. PolicyNvWritten.c
  236. PolicyOR.c
  237. PolicyPassword.c
  238. PolicyPCR.c
  239. PolicyPhysicalPresence.c
  240. PolicyRestart.c
  241. PolicySecret.c
  242. PolicySigned.c
  243. PolicyTicket.c
  244. Power.c
  245. Power_fp.h
  246. PowerPlat.c
  247. PP.c
  248. PP_Commands.c
  249. PP_fp.h
  250. PPPlat.c
  251. PRESUBMIT.cfg
  252. PropertyCap.c
  253. PropertyCap_fp.h
  254. Quote.c
  255. ReadClock.c
  256. README
  257. ReadPublic.c
  258. Rewrap.c
  259. RSA_Decrypt.c
  260. RSA_Encrypt.c
  261. RSAData.c
  262. RSAKeySieve.c
  263. RSAKeySieve.h
  264. RSAKeySieve_fp.h
  265. SelfTest.c
  266. SequenceComplete.c
  267. SequenceUpdate.c
  268. Session.c
  269. Session_fp.h
  270. SessionProcess.c
  271. SessionProcess_fp.h
  272. SetAlgorithmSet.c
  273. SetCommandCodeAuditStatus.c
  274. SetPrimaryPolicy.c
  275. Shutdown.c
  276. Sign.c
  277. StartAuthSession.c
  278. Startup.c
  279. StirRandom.c
  280. swap.h
  281. TcpServer.c
  282. TestParms.c
  283. Ticket.c
  284. Ticket_fp.h
  285. Time.c
  286. Time_fp.h
  287. Tpm.h
  288. TPM_Types.h
  289. TPMB.h
  290. TpmBuildSwitches.h
  291. TPMCmdp.c
  292. TPMCmds.c
  293. TpmError.h
  294. TpmFail.c
  295. TpmFail_fp.h
  296. TpmTcpProtocol.h
  297. Unique.c
  298. Unseal.c
  299. VendorString.h
  300. VerifySignature.c
  301. ZGen_2Phase.c