// Need some memory for OptionList. Allow for up to 8 options.\r
//\r
OptionList = AllocateZeroPool (sizeof (IFR_OPTION) * 8);\r
+ ASSERT (OptionList != NULL);\r
\r
//\r
// Allocate space for creation of Buffer\r
//\r
UpdateData = AllocateZeroPool (0x1000);\r
+ ASSERT (UpdateData != NULL);\r
\r
//\r
// Remove all the op-codes starting with Label 0x2222 to next Label (second label is for convenience\r
// Need some memory for OptionList. Allow for up to 8 options.\r
//\r
OptionList = AllocateZeroPool (sizeof (IFR_OPTION) * 8);\r
+ ASSERT (OptionList != NULL);\r
\r
//\r
// Allocate space for creation of Buffer\r
//\r
UpdateData = AllocateZeroPool (0x1000);\r
+ ASSERT (UpdateData != NULL);\r
\r
//\r
// Remove all the op-codes starting with Label 0x2222 to next Label (second label is for convenience\r
0x1000,\r
(VOID **) &UpdateData\r
);\r
+ ASSERT_EFI_ERROR (Status);\r
\r
ZeroMem (UpdateData, 0x1000);\r
\r
0x1000,\r
(VOID **)&UpdateData\r
);\r
+ ASSERT_EFI_ERROR (Status);\r
\r
ZeroMem (UpdateData, 0x1000);\r
\r
sizeof (EFI_HII_CALLBACK_PACKET) + sizeof (SAMPLE_STRING) + 2,\r
(VOID **) Packet\r
);\r
+ ASSERT_EFI_ERROR (Status);\r
\r
ZeroMem (*Packet, sizeof (EFI_HII_CALLBACK_PACKET) + sizeof (SAMPLE_STRING) + 2);\r
\r
sizeof (EFI_HII_CALLBACK_PACKET) + 2,\r
(VOID **) Packet\r
);\r
+ ASSERT_EFI_ERROR (Status);\r
\r
ZeroMem (*Packet, sizeof (EFI_HII_CALLBACK_PACKET) + 2);\r
\r
0x1000,\r
(VOID **) &UpdateData\r
);\r
+ ASSERT_EFI_ERROR (Status);\r
\r
ZeroMem (UpdateData, 0x1000);\r
\r