);\r
if (EFI_ERROR (Status)) {\r
DEBUG ((\r
- DEBUG_ERROR,\r
+ DEBUG_WARN,\r
"Failed to add memory space :0x%lx 0x%lx\n",\r
BaseAddress,\r
Length\r
));\r
}\r
- ASSERT_EFI_ERROR (Status);\r
Status = gDS->AllocateMemorySpace (\r
EfiGcdAllocateAddress,\r
GcdType,\r
ImageHandle,\r
NULL\r
);\r
- ASSERT_EFI_ERROR (Status);\r
} else {\r
Status = gDS->AddIoSpace (\r
GcdType,\r
BaseAddress,\r
Length\r
);\r
- ASSERT_EFI_ERROR (Status);\r
+ if (EFI_ERROR (Status)) {\r
+ DEBUG ((\r
+ DEBUG_WARN,\r
+ "Failed to add IO space :0x%lx 0x%lx\n",\r
+ BaseAddress,\r
+ Length\r
+ ));\r
+ }\r
Status = gDS->AllocateIoSpace (\r
EfiGcdAllocateAddress,\r
GcdType,\r
ImageHandle,\r
NULL\r
);\r
- ASSERT_EFI_ERROR (Status);\r
}\r
return Status;\r
}\r
//\r
// Report MMIO/IO Resources\r
//\r
- Status = ReserveResourceInGcd (TRUE, EfiGcdMemoryTypeMemoryMappedIo, 0xFEC00000, SIZE_4KB, 0, ImageHandle); // IOAPIC\r
- ASSERT_EFI_ERROR (Status);\r
+ ReserveResourceInGcd (TRUE, EfiGcdMemoryTypeMemoryMappedIo, 0xFEC00000, SIZE_4KB, 0, ImageHandle); // IOAPIC\r
\r
- Status = ReserveResourceInGcd (TRUE, EfiGcdMemoryTypeMemoryMappedIo, 0xFED00000, SIZE_1KB, 0, ImageHandle); // HPET\r
- ASSERT_EFI_ERROR (Status);\r
+ ReserveResourceInGcd (TRUE, EfiGcdMemoryTypeMemoryMappedIo, 0xFED00000, SIZE_1KB, 0, ImageHandle); // HPET\r
\r
//\r
// Find the frame buffer information and update PCDs\r